Init.cs 350 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. namespace ET
  3. {
  4. public class Init
  5. {
  6. public void Start()
  7. {
  8. try
  9. {
  10. Entry.Start();
  11. }
  12. catch (Exception e)
  13. {
  14. Log.Error(e);
  15. }
  16. }
  17. public void Update()
  18. {
  19. TimeInfo.Instance.Update();
  20. FiberManager.Instance.Update();
  21. }
  22. public void LateUpdate()
  23. {
  24. FiberManager.Instance.LateUpdate();
  25. }
  26. }
  27. }