Пример #1
0
 void SetInitial()
 {
     itemMaster = GetComponent <Item_Master>();
 }
Пример #2
0
 //find the item master and player object
 void SetInitial()
 {
     itemMaster = GetComponent <Item_Master>();
     playerGO   = GameObject.FindGameObjectWithTag("Player");
 }