Пример #1
0
 void DetectThrow()
 {
     if (Input.GetMouseButtonDown(0) && target != null)
     {
         target.Throw(fpsCam.transform.forward, throwForce);
     }
 }