- Home /
Question by
TheHallucinations · May 08, 2020 at 02:58 PM ·
playerprefsname
How to get random names that will be the same later on
So i got a building script and i want to give to building a name to save so i can do PlayerPrefs.SetString(RANDOM BUILDING NAME THAT IS ALWAYS THE SAME BUT NEVER DOES AN OTHER OBJECT HAvE THE SAME NAME, something); Thank you for you're time in advance. (I use Random.Initstate ONCE and even if i restart the game it wont be called again)
Comment
@TheInfiniteGames what's the problem - you seem to have the solution.
Your answer
![](https://koobas.hobune.stream/wayback/20220612233657im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Leaderboard Help 0 Answers
player name input field 0 Answers
How to access additional SharedPreferences on Android 0 Answers
If PlayerPrefs.GetFloat("name") don't excist 3 Answers
Best Distance (Record) System on Infinite Runner game 1 Answer