예제 #1
0
        public override void OnBegin(EnemyController enemy)
        {
            base.OnBegin(enemy);

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