private void AttackBehaviour() { if (timeSinceLastAttack > attackCooldownTime) { if (attackQueued || true) { transform.LookAt(target.transform); animationController.Attack(); timeSinceLastAttack = 0; attackQueued = false; } } }
protected override BStatus Update() { _controller.Attack(); return(BStatus.BH_SUCCESS); }