TempSendLog.cs 435 B

12345678910111213141516171819
  1. using Blue;
  2. using UnityEngine;
  3. /// <summary>
  4. /// 发送日志测试代码
  5. /// </summary>
  6. public class TempSendLog : AbstractController
  7. {
  8. private int TempCount = 0;
  9. void Update()
  10. {
  11. if (Input.GetKeyDown(KeyCode.L))
  12. {
  13. TempCount++;
  14. this.GetService<ISendLogService>().SendLog("Blue","Temp:"+TempCount);
  15. Debug.LogError("Temp:"+TempCount);
  16. }
  17. }
  18. }