Exemple #1
0
        public override void OnLevelLoaded(LoadMode mode)
        {
            base.OnLevelLoaded(mode);

            if (mode != LoadMode.LoadGame && mode != LoadMode.NewGame)
            {
                return;
            }

            ZoneCheckDetour.Deploy();
        }
Exemple #2
0
 public override void OnReleased()
 {
     ZoneCheckDetour.Revert();
     base.OnReleased();
 }