void TryShoot() { if (!CheckConditions()) { return; } OnAttackStared.Invoke(); Shoot(); OnShoot.Invoke(); }
protected override void RequestStartAttackInternal() { base.RequestStartAttackInternal(); OnAttackStared.Invoke(); isAttacking = true; gameObject.SetActive(true); Invoke(STOP_ATTACK, attackTime); }