Exemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     // If user hit the enter key, close the popup.
     if (isReady && (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter)))
     {
         animator.SetTrigger("Enter");
         AudioController.Confirm();
     }
 }