Hello, I’m wondering if I have one to many lines of code in my Void Update. Theirs 300 lines of code with only this repeated 30 times.Seems like it would kill the IOS/Android device.
You shouldn’t read from or write to PlayerPrefs in Update without any proper control. It seems that some of your conditions are permanently true.
Load the values once, cache them in variables and save them when needed.
No one is going to steal your wonderful idea. But there are plenty if better ways to code this then repeating the same code 30 times over. For a starter use a loop.
There is very little point to accessing player prefs in update. I would suggest loading all of the variables once into an array. Then reference the array data. When it’s time to exit save the data back to player prefs.
Basically it just starts with one and when someone chooses a option it goes to the 2 other options and saves the players position in the level. their 100’s of questions which is why I have so many lines. Thanks for all the help.