Beispiel #1
0
 public override void OnLevelLoaded(LoadMode mode)
 {
     ShortCuts.Log("LoadingExtention.OnLevelLoaded");
     if (mode == LoadMode.LoadGame || mode == LoadMode.NewGame)
     {
         LoadTool.Load();
     }
 }
Beispiel #2
0
        public void OnEnabled()
        {
            System.IO.File.WriteAllText("mod.debug.log", ""); //clear file
            ShortCuts.Log("IUserMod.OnEnabled");

            if (ShortCuts.InGame)
            {
                LoadTool.Load();
            }
        }
Beispiel #3
0
 public override void OnLevelUnloading()
 {
     ShortCuts.Log("LoadingExtention.OnLevelUnloading");
     LoadTool.Release();
 }
Beispiel #4
0
 public void OnDisabled()
 {
     ShortCuts.Log("IUserMod.OnDisabled");
     LoadTool.Release();
 }