Just running a small tutorial. The script works in unity but not iphone unity why?
ERROR: operator ‘-’ cannot be used with a left hand side of type ‘Object’ and right hand side of type ‘int’.
var bankAccount = 1000 ;
print (spendOnHundredBucks(bankAccount)) ;
function spendOnHundredBucks ( number)
{
number = number - 100 ;
return number ;
}