Added TMP

This commit is contained in:
julius
2022-02-14 09:48:32 +01:00
parent f0a5fe201c
commit 27b7415f2e
348 changed files with 60686 additions and 139 deletions

View File

@@ -11,17 +11,19 @@ public class InventoryController : MonoBehaviour
private void Awake()
{
inventory = transform.GetComponent<Inventory>();
inventory.createEmptyInventory(5,10);
inventory.createEmptyInventory(8,10);
inventory.addItemAt(0, item1, 8);
inventory.addItemAt(0, item1, 1);
inventory.addItemAt(3, item2, 15);
inventory.addItemAt(4, item1, 3);
/*
Debug.Log(inventory.addItemAt(0, item2, 15));
Debug.Log(inventory.getInventory[0].Count);
Debug.Log(inventory.removeItemAt(0, 10));
Debug.Log(inventory.getInventory[0].Count);
*/
*/
uiInventory.setInventory(inventory);
}
void Start()