figured em out thanks
Not sure about the rotation issue… maybe your placing it in local space? transform.rotation uses world space.
For saving in its most basic form all you need is the following;
PlayerPrefs.SetString(“MyStr”, “Hello”);
PlayerPrefs.SetInt(“MyInt”, 2);
//loading
string msg = PlayerPrefs.GetString(“MyStr”);
int score = PlayerPrefs.GetInt(“MyInt”);
Obviously avoid using them in updates.
I use them in my game as i have 10 levels each with 3 different game types and i store the scores for each game type of each level. A very simple way to do this is to organise the string you use like this:
PlayerPrefs.SetInt(“Score” + “" +levelName.toString() + "” +gametype.toString(), 10);
Then anywhere else in your game you can load the score back again using the same structure
Hope this helps!