Example #1
0
 public void OnEnabled() => LifeCycle.Enable();
Example #2
0
 public void OnDisabled() => LifeCycle.Disable();
Example #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();
        }