Hey All,
I need to ask something, I have this simple script trying to save something
if(GUI.Button(Rect(Screen.width/2-125,Screen.height/2+30,125,30), "Save"));
{
PlayerPrefs.SetString("myPlayerName","playerName");
PlayerPrefs.Save();
}
But I get an error in Unity saying " BCE0044: expecting :, found ‘;’. But it can’t be expecting a :, I have checked USR and this is how it is meant to be written isn’t it?