예제 #1
0
 private void Readable()
 {
     if ((Input.GetButtonDown("Select")) && !Reading)
     {
         cameraManagerScript.ChangeCameraPriority(detectInteractableObjects);
         if (detectInteractableObjects.collider.gameObject.GetComponentInChildren <SimpleDialogTrigger>() != null)
         {
             SimpleDialogTrigger book = detectInteractableObjects.collider.gameObject.GetComponentInChildren <SimpleDialogTrigger>();
             book.Interact();
         }
         Reading = true;
         disable.DisablePlayerMovement();
     }
 }
예제 #2
0
 private void DisablePlayerMovement()
 {
     disable.DisablePlayerMovement();
 }