/// <summary> /// This method is called when switching to this state. /// </summary> /// <param name="enemy"></param> public virtual void OnBegin(EnemyController enemy) { this.enemy = enemy; }
/// <summary> /// Begins state /// </summary> /// <param name="enemy"></param> public override void OnBegin(EnemyController enemy) { base.OnBegin(enemy); }