public void PickUpObject(Transform obj) { if (heldObj != null) { heldController.PutDown(obj.position); } heldObj = obj; heldController = heldObj.GetComponent <PickUpableController>(); heldController.PickUp(thisHand); }
public void PutDownObject(Vector3 point) { heldController.PutDown(point); heldObj = null; heldController = null; }