Okay so -
playerStrength = Random.Range (1, 6);
PlayerPrefs.SetInt ("strength", playerStrength);
works.
In a seperate script in the same project/different scene.
PlayerPrefs.GetInt("strength");
does not work.
It says Parser Error, '(, is wrong.
Also then when I put
Shamwow = PlayerPrefs.GetInt("strength");
it tells me that = isn’t allowed.
Quite confused as this is the same as the example here;
and here