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

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

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