예제 #1
0
 public override void OnDisabled()
 {
     Player.TriggeringTesla -= EventHandler.OnTriggeringTesla;
     EventHandler            = null;
     base.OnDisabled();
 }
예제 #2
0
 public override void OnEnabled()
 {
     EventHandler            = new EventHandlers(this);
     Player.TriggeringTesla += EventHandler.OnTriggeringTesla;
     base.OnEnabled();
 }