void Start() { inventoryTest = GameObject.FindGameObjectWithTag("Player").GetComponent <InventoryTest>(); quitCrafting = GameObject.FindGameObjectWithTag("BackButton").GetComponent <QuitCrafting>(); }
void Start() { craftItems = GameObject.FindGameObjectWithTag("Player").GetComponent <CraftingSlots>(); quitCrafting = GameObject.FindGameObjectWithTag("BackButton").GetComponent <QuitCrafting>(); }