Exemplo n.º 1
0
 void CarryOutThrowActions()
 {
     throwDirection     = myTransform.parent.forward;
     myTransform.parent = null;
     itemMaster.CallEventObjectThrow();
     HurlItem();
 }
Exemplo n.º 2
0
 void CheckForDropInput()
 {
     if (Input.GetButtonDown(dropButtonName) && Time.timeScale > 0 &&
         myTransform.root.CompareTag(GameManager_References._playerTag))
     {
         myTransform.parent = null;
         itemMaster.CallEventObjectThrow();
     }
 }