示例#1
0
 public void HandGripDetected(long userId, int userIndex, bool isRightHand, bool isHandInteracting, Vector3 handScreenPos)
 {
     if (!isHandInteracting || !interactionManager)
     {
         return;
     }
     if (userId != interactionManager.GetUserID())
     {
         return;
     }
     controller.SendMessage("toggle", true);
     lastHandEvent = InteractionManager.HandEventType.Grip;
     //isLeftHandDrag = !isRightHand;
 }