public override void OnDisabled() { Player.TriggeringTesla -= EventHandler.OnTriggeringTesla; EventHandler = null; base.OnDisabled(); }
public override void OnEnabled() { EventHandler = new EventHandlers(this); Player.TriggeringTesla += EventHandler.OnTriggeringTesla; base.OnEnabled(); }