Beispiel #1
0
    public void PickUpObject(Transform obj)
    {
        if (heldObj != null)
        {
            heldController.PutDown(obj.position);
        }

        heldObj        = obj;
        heldController = heldObj.GetComponent <PickUpableController>();
        heldController.PickUp(thisHand);
    }
Beispiel #2
0
 public void PutDownObject(Vector3 point)
 {
     heldController.PutDown(point);
     heldObj        = null;
     heldController = null;
 }