Exemplo n.º 1
0
 public void GrabPressedDown(SteamVR_Behaviour_Boolean beh, SteamVR_Input_Sources src, bool pressed)
 {
     foreach (HandController.handCollision c in currentColliding)
     {
         InteractionInterface interact = c.col.GetComponent <InteractionInterface>();
         if (interact != null)
         {
             interact.grabPress(c.hand);
         }
     }
 }