Beispiel #1
0
    // ============================== 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));
    }
Beispiel #2
0
 public override void Interrupt()
 {
     action.Interrupt();
 }