예제 #1
0
        public void OnEnabled()
        {
            if (HelpersExtensions.InGame)
            {
                LoadTool.Load();
            }
#if DEBUG
            TestsExperiments.Run();
#endif
        }
예제 #2
0
 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();
 }
예제 #3
0
 public override void OnLevelUnloading()
 {
     LoadTool.Release();
 }
예제 #4
0
 public void OnDisabled()
 {
     LoadTool.Release();
 }