Init.cs 348 B

1234567891011121314151617181920212223242526
  1. using Base;
  2. using Model;
  3. namespace Hotfix
  4. {
  5. public class Init
  6. {
  7. public void Start()
  8. {
  9. StartAsync();
  10. }
  11. public async void StartAsync()
  12. {
  13. while (true)
  14. {
  15. await Game.Scene.GetComponent<TimerComponent>().WaitAsync(1000);
  16. Log.Debug("11111111111111111111111111111111111111");
  17. }
  18. }
  19. public void Update()
  20. {
  21. }
  22. }
  23. }