public AttackTargetGoal(GameObject inOwner, GameObject inTarget) : base(inOwner) { _target = inTarget; if (inOwner != null) { _attack = inOwner.GetComponent <IAttackInterface>(); } if (inTarget != null) { _targetState = inTarget.GetComponent <IActionStateMachineInterface>(); } }
public TripleAttackController(IAttackInterface attack) : base(attack) { }
/// <summary> /// init properties /// </summary> /// <param name="attack"></param> public DoubleShotAttackController(IAttackInterface attack) : base(attack) { _bulletRateOffsetTime = 0; }