Пример #1
0
 public override void Use()
 {
     inventoryHolder = GameObject.Find("GameSystem");
     retry           = inventoryHolder.GetComponent <InventoryRetry>();
     retry.pCash    += itemBuyVal;
 }
Пример #2
0
 private void Start()
 {
     retry = inventoryHolder.GetComponent <InventoryRetry>();
 }