Esempio n. 1
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;
 }
Esempio n. 2
0
 /// <summary>
 /// Begins state
 /// </summary>
 /// <param name="enemy"></param>
 public override void OnBegin(EnemyController enemy)
 {
     base.OnBegin(enemy);
 }