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