public override void OnLevelLoaded(LoadMode mode) { switch (mode) { case LoadMode.NewTheme: case LoadMode.LoadTheme: return; // unsupported modes. } LoadTool.Load(); }
public void OnEnabled() { //Test.Factorial(4); // TODO delete try { if (HelpersExtensions.currentMode != AppMode.ThemeEditor) { LoadTool.Load(); // hot reload } } catch { // we are in intro screen. } #if DEBUG TestsExperiments.Run(); #endif }
public override void OnLevelUnloading() { LoadTool.Release(); }
public void OnDisabled() { LoadTool.Release(); }