//-------------------------------------------------
    void Update()
    {
        if (hand.isActive)        // && hand.isPoseValid)
        {
            //GameObject objectToAttach = GameObject.Instantiate(itemPrefab);
            //objectToAttach.SetActive(true);


            hand.AttachObject(gameObject, GrabTypes.Scripted, att);
            if (thr != null)
            {
                thr.SetGrabType(GrabTypes.Scripted);
            }
            //hand.AttachObject(gameObject, GrabTypes.Pinch);
            //hand.TriggerHapticPulse(800);


            // If the player's scale has been changed the object to attach will be the wrong size.
            // To fix this we change the object's scale back to its original, pre-attach scale.
            //objectToAttach.transform.localScale = item.transform.localScale;

            //Destroy(this);
            //if(!m_forceKeepAttached)
            this.enabled = (false);
        }
    }