コード例 #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;
 }