예제 #1
0
 public void InteractuarInput(InputAction.CallbackContext contexto)
 {
     if (contexto.phase == InputActionPhase.Started && actualInteraccion != null)
     {
         actualInteraccion.Interactuar();
         actualInteraccionGameObject = null;
         actualInteraccion           = null;
         Canvas.Juego.instancia.mensajeInteraccion.gameObject.SetActive(false);
     }
 }
예제 #2
0
 public void InteractuarConObjeto(IInteractuable objeto)
 {
     objeto.Interactuar(this);
 }