public override void OnLevelLoaded(LoadMode mode) { Log.Debug("LoadingExtention.OnLevelLoaded"); if (mode == LoadMode.LoadGame || mode == LoadMode.NewGame || mode == LoadMode.NewGameFromScenario) { LifeCycle.Load(mode); } }
public void OnEnabled() { KianCommons.UI.TextureUtil.EmbededResources = false; HarmonyHelper.EnsureHarmonyInstalled(); if (HelpersExtensions.InGame) { LifeCycle.Load(); } }
public override void OnLevelUnloading() { Log.Debug("LoadingExtention.OnLevelUnloading"); LifeCycle.UnLoad(); }
public void OnDisabled() { LifeCycle.UnLoad(); }
public override void OnLevelLoaded(LoadMode mode) { Log.Debug("LoadingExtention.OnLevelLoaded"); LifeCycle.OnLevelLoaded(mode); }
public void OnDisabled() { LifeCycle.Disable(); }
public void OnEnabled() { LifeCycle.Enable(); }