Ejemplo n.º 1
0
 public void Interact()
 {
     if (interactor.CanInteract())
     {
         interactor.Interact();
         GetComponentInParent <PlayerInput>().SetPlayerState(PlayerInput.PlayerState.Interacting);
     }
 }