private void FireCheck() { if (Input.GetKeyDown(KeyCode.Space)) { StartFire?.Invoke(); } else if (Input.GetKeyUp(KeyCode.Space)) { StopFire?.Invoke(); } }
protected virtual void OnStopFire() => StopFire?.Invoke();
public void StopFiring() { StopFire?.Invoke(); }