Exemplo n.º 1
0
 private void RightTriggerPressed(object sender, VRTK.ControllerInteractionEventArgs e)
 {
     if (sceneManager.pointerOnMenu)
     {
         return;
     }
     if (curObj == null)
     {
         if (sceneManager.activeEntity.obj != null)
         {
             SelectObject(sceneManager.activeEntity.obj);
         }
     }
     else
     {
         curObj.CreatePoint(activePoint.position);
     }
 }