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