示例#1
0
        private bool CheckGrabAttempt(VRTK_InteractableObject objectToGrab)
        {
            if (objectToGrab.AttachIsTrackObject())
            {
                return(GrabTrackedObject());
            }
            else if (objectToGrab.AttachIsClimbObject())
            {
                return(GrabClimbObject());
            }

            return(GrabInteractedObject());
        }