Ejemplo n.º 1
0
 private void PlayerShootingCheck()
 {
     if (KeyManager.IsPressed(KeyCode.Mouse0))
     {
         OnPlayerShot?.Invoke();
     }
 }
Ejemplo n.º 2
0
 public void CallOnBulletShotEvent(Vector2 position, Quaternion rotation) =>
 OnPlayerShot?.Invoke(position, rotation);