GameLauncher.cs 822 B

123456789101112131415161718192021222324252627282930
  1. using UnityEngine;
  2. using GFGGame;
  3. using FairyGUI;
  4. using System.Collections;
  5. public class GameLauncher : MonoBehaviour
  6. {
  7. // Start is called before the first frame update
  8. void Start()
  9. {
  10. Debug.LogFormat("Application.version {0}", Application.version);
  11. FGUILauncher.Init();
  12. LauncherView.Instance.Open();
  13. LauncherView.Instance.SetDesc("正在初始化...");
  14. LauncherConfig.Init();
  15. //StoreRequest storeRequest = new StoreRequest();
  16. //storeRequest.Name = "aa";
  17. //storeRequest.Num = 1;
  18. //storeRequest.Result = 2;
  19. //storeRequest.MyList.Add("bb");
  20. //storeRequest.MyList.Add("cc");
  21. //IMessage a = storeRequest;
  22. //HttpProtobufTool.Instance.Post(GameGlobal.gameApiUrlTest, "test", a.ToByteArray(), null);
  23. }
  24. }