Ejemplo n.º 1
0
 private void Update()
 {
     if (Input.GetKeyUp(useKey) && obj != null)
     {
         obj.Interact();
     }
 }