Exemplo n.º 1
0
 private void HandleShooting()
 {
     if (Input.GetButtonDown("Fire1"))
     {
         Vector3 shootDirection = MouseUtilities.GetMouseWorldPosition() - transform.position;
         shootingBehaviour.Shoot(shootDirection);
     }
 }