PlayerPrefs question (C#)

Updated on September 7, 2017 in  [R] Scripts
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
2 on September 7, 2017

I don’t how to explain it so i’ll make an example:

So there’s PlayerPrefs.SetInt(“Health”, 52); in script A, so is this stat only related to script A or i can edit it by setInt from script B? If no how can i edit it?

  • Liked by
Reply
1 on September 7, 2017

PlayerPrefs should be accessible from any script as far as I know.

on September 7, 2017

I misspelled the string inside the function, thx btw.

Show more replies
  • Liked by
Reply
Cancel