private void RightGripPressed(object sender, VRTK.ControllerInteractionEventArgs e) { if (selectEntity != null) { curObj.RemoveEntity(selectEntity); } selectEntity = null; SelectObject(null); }