Пример #1
0
 void Start()
 {
     itemNeed = GameObject.FindGameObjectWithTag("Inventory").GetComponent <InventoryArray>();
     life     = GameObject.FindGameObjectWithTag("TimeLeft").GetComponent <GUIHandler1>();
 }
Пример #2
0
 void Start()
 {
     life = Gameobject.FindGameObjectWithTag("TimeLeft").GetComponent <GUIHandler1>();
 }