Esempio n. 1
0
        void CarryOutThrowAction()
        {
            throwDirection     = myTransform.parent.forward;
            myTransform.parent = null;

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