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