Exemplo n.º 1
0
 private void Start()
 {
     inventoryBar = FindObjectOfType <UIInventoryBar>();
 }
Exemplo n.º 2
0
 // On Start, find the UIInventoryBar
 private void Start()
 {
     // Find the UIInventoryBar, and populate it so we can access it later (to deselect selected items on load)
     inventoryBar = FindObjectOfType <UIInventoryBar>();
 }