// ============================== HitState and MoveState ============================== public virtual void Disable(float time) { StopAllCoroutines(); if (action != null) // Special enemies have no action (trapped heroes) { action.Interrupt(); } StartCoroutine(HitDisableState(time, 0)); }
public override void Interrupt() { action.Interrupt(); }