Пример #1
0
 void CarryOutThrowActions()
 {
     throwDirection     = myTransform.parent.forward;
     myTransform.parent = null;
     itemMaster.CallEventObjectThrow();
     HurlItem();
 }
Пример #2
0
 void CheckForDropInput()
 {
     if (Input.GetButtonDown(dropButtonName) && Time.timeScale > 0 &&
         myTransform.root.CompareTag(GameManager_References._playerTag))
     {
         myTransform.parent = null;
         itemMaster.CallEventObjectThrow();
     }
 }