コード例 #1
0
        public void Init()
        {
            Instance = this;

            Logger.log.Debug("UI Awake");
            StartCoroutine(AddModListButton());
        }
コード例 #2
0
 private void SceneManager_activeSceneChanged(Scene from, Scene to)
 {
     if (to.name == "EmptyTransition")
     {
         if (Instance != null)
         {
             Instance.StopAllCoroutines();
             Destroy(Instance.gameObject);
             menuFlow = null;
         }
         Instance = null;
     }
 }