public override void Use() { inventoryHolder = GameObject.Find("GameSystem"); retry = inventoryHolder.GetComponent <InventoryRetry>(); retry.pCash += itemBuyVal; }
private void Start() { retry = inventoryHolder.GetComponent <InventoryRetry>(); }