// Update is called once per frame void Update() { if (Input.GetKeyDown("e")) { Debug.Log(equipamiento[0]); } if (Input.GetKeyDown("r")) { ListaEquipamiento.limpiar(); } }
public void AgregandoObjeto(string objetoId) { armaBlanca.SetActive(true); ListaEquipamiento.agregar(objetoId);//Se llama una funcion para agregar las armas a el inventario del personaje((PROGRAMACION FUNCIONAL)) 3 equipamiento = ListaEquipamiento.booksList; }