Assets/Scripts/MoneyClickScriptReal.cs(28,29): error CS1502: The best overloaded method match for `UnityEngine.PlayerPrefs.SetInt(string, int)’ has some invalid arguments
Assets/Scripts/MoneyClickScriptReal.cs(28,29): error CS1503: Argument #2' cannot convert float’ expression to type `int’
Ah, it’s because your money variable is a float, while the key you are using to store it in is a int
You have 3 options
Store money as a float instead of an integer in PlayerPrefs: Now, if in you game you can actually have decimal amounts of money eg. 5.75, then you should really go with this, essentially all you need to do is change your save and load code to