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); } }