Beispiel #1
0
 public void OnEnabled() => LifeCycle.Enable();
Beispiel #2
0
 public void OnDisabled() => LifeCycle.Disable();
Beispiel #3
0
        // TMPE on level loaded calls LifeCycle.Load
        //public override void OnLevelLoaded(LoadMode mode)
        //{
        //    Log.Debug("LoadingExtention.OnLevelLoaded");
        //    // if (mode == LoadMode.LoadGame || mode == LoadMode.NewGame || mode == LoadMode.NewGameFromScenario)
        //        LifeCycle.Load();
        //}

        public override void OnLevelUnloading()
        {
            Log.Debug("LoadingExtention.OnLevelUnloading");
            LifeCycle.Unload();
        }