GameStart.cs 883 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using LitJson;
  5. using SC.XR.Unity;
  6. using UnityEngine;
  7. using XRTool.Util;
  8. public class GameStart : UnitySingleton<GameStart>
  9. {
  10. public static Action actionok;
  11. // public SystemFollow systemMenu;
  12. protected override void Awake()
  13. {
  14. base.Awake();
  15. /*
  16. GameObject systemMenuObj = Resources.Load("systemMenu") as GameObject;
  17. systemMenuObj = Instantiate(systemMenuObj);
  18. systemMenu = systemMenuObj.transform.GetComponent<SystemFollow>();
  19. systemMenu.InitUI();*/
  20. }
  21. // Start is called before the first frame update
  22. void Start()
  23. {
  24. ScenesManager.Instance.showWindow(ScenesManager.SceneType.GameStartLogo);
  25. }
  26. public void ShowDating()
  27. {
  28. }
  29. protected override void OnDestroy()
  30. {
  31. base.OnDestroy();
  32. }
  33. }