예제 #1
0
 public override void Init(EnemyAction action, Enemy e, Transform p)
 {
     base.Init(action, e, p);
     e.OnEnemyDamaged += Interrupt;
     action.onExecute += ResetTimer;
     timer             = initialTimerValue;
 }
예제 #2
0
 public override void Init(EnemyAction action, Enemy e, Transform p)
 {
     base.Init(action, e, p);
     condition.Init(action, e, p);
 }
예제 #3
0
 public virtual void Init(EnemyAction action, Enemy e, Transform p)
 {
     this.action = action;
     this.e      = e;
     this.player = p;
 }