public void OnEnabled() { if (HelpersExtensions.InGame) { LoadTool.Load(); } #if DEBUG TestsExperiments.Run(); #endif }
public override void OnLevelLoaded(LoadMode mode) { switch (mode) { case LoadMode.NewAsset: case LoadMode.LoadAsset: case LoadMode.NewTheme: case LoadMode.LoadTheme: return; // unsupported modes. } LoadTool.Load(); }
public override void OnLevelUnloading() { LoadTool.Release(); }
public void OnDisabled() { LoadTool.Release(); }