Пример #1
0
 private void CheckHideController(VRTK_InteractableObject touchedObjectScript)
 {
     updatedHideControllerOnTouch = touchedObjectScript.CheckHideMode(hideControllerOnTouch, touchedObjectScript.hideControllerOnTouch);
     if (controllerActions.IsControllerVisible() && updatedHideControllerOnTouch)
     {
         Invoke("HideController", hideControllerDelay);
     }
 }
 private void CheckHideController(VRTK_InteractableObject touchedObjectScript)
 {
     updatedHideControllerOnTouch = touchedObjectScript.CheckHideMode(hideControllerOnTouch, touchedObjectScript.hideControllerOnTouch);
     if (controllerActions.IsControllerVisible() && updatedHideControllerOnTouch)
     {
         Invoke("HideController", hideControllerDelay);
     }
 }