static var inventoryArray : int = [0,0,3,4,5];
var InputText : GUIText;
var ArrayGrid = 0;
function Update () {;
//con
InputText.text = "con " + “[” + inventoryArray[0] + “]” +
"
" + "general " + “[” + inventoryArray[1]+ “]”;
if(Calendar_script.calendar_months[3])
player_inventory.player_money += 1;
i have a continue button that when it is clicked goes to 3 months. the problem is i want it so that every inventoryArray[1] will give me 1 euro so if you have bought that twice it will give you two euro but for some reason it only gives me one euro.