Exemple #1
0
 public override void OnEnabled()
 {
     base.OnEnabled();
     EventHandlers = new EventHandlers(this);
     DistanceLogic = new DistanceLogic(this);
     Exiled.Events.Handlers.Player.Shot += EventHandlers.OnLateShoot;
 }
Exemple #2
0
 public override void OnDisabled()
 {
     Exiled.Events.Handlers.Player.Shot -= EventHandlers.OnLateShoot;
     EventHandlers = null;
     DistanceLogic = null;
 }