HotUpdateEntry.cs 662 B

1234567891011121314151617181920212223242526
  1. using UniFramework.Pooling;
  2. using UnityEngine;
  3. namespace GFGGame.HotUpdate
  4. {
  5. public class HotUpdateEntry
  6. {
  7. public static void Start()
  8. {
  9. //UniFramework
  10. // 初始化对象池系统
  11. UniPooling.Initalize();
  12. //Reporter
  13. Reporter reporter = GameObject.Find("Reporter").GetComponent<Reporter>();
  14. reporter.numOfCircleToShow = 10;
  15. reporter.isOpen = LauncherConfig.onDebug > 0;
  16. //Litjson
  17. LitJson.UnityTypeBindings.Register();
  18. //ET
  19. ETManager.Instance.Init();
  20. GameController.Start();
  21. }
  22. }
  23. }