Need help with PlayerPrefs
Hello! Im using c#, and i have this script. Note, that this is not the full script. I deleted all others, so it's not so messy and you can read it easier ( I know, i have bad english knowledge ). There...
View ArticleSave/Load Scores for Individual Players
Hey, I am trying to save and load a group of scores that would be specific to each player. In the game level there is a spot in the code that saves the values to PlayerPrefs to be displayed on a...
View ArticlePlayerPrefs.DeleteAll() changes resolution setting? Looks like a unity bug
Hello everyone! I am testing my game, and added PlayerPrefs.DeleteAll() in the Awake function, just to remove all saved data, for testing purposes.. For example I will test if levels are getting...
View ArticleSate Saving
The game I'm making is going to be very complicated, there will be several things that move and hundreds of separate variables, it would take weeks of work to save it all using PlayerPrefs. Is there an...
View ArticlePlayer prefs easy highscore?
I have read many pages on here about playerprefs, but what I'm thinking should work is not working. I want to set the highscore to 500 if there isn't a highscore in the player prefs already. The...
View ArticlePlayerPrefs GetInt functionality.
I'm trying to user PlayerPrefs to control which levels are unlocked. When the end of each level is reached, the same script is used to keep track. For example, in the update of the EndScript: function...
View ArticlePlayerPrefs not saving my variable value for HighScore System
Ok, so I have this code in my restart scene for setting up a highScore variable, if its bigger than the previous one. private var scoreSaver : float;// Time of survive private var playerHighScore :...
View Articlewhich is the best data base for local side?
which is best DataBase and how to use that in unity3d for local side?
View ArticleAre PlayerPrefs deleted on Uninstall?
Hello All: I have saved some values in PlayerPrefs. But the values are persisting even after I uninstall and reinstall the application from previous install. Are PlayerPrefs deleted on Uninstall?...
View ArticlePlayerPrefs defaults for install
Pre-Warning: Yes I've done a google-search. Yes I've looked through Unity Answers. Please don't patronize me unless you want to be reported. ^.^ Basically what the title suggests: I'd like to have a...
View ArticleHow to stop a boolean from going back to false
Hey, so right now I'm making the Unlocking Ships sections of my game. The process basically works by the camera looking at a ship, finding out how much it costs, and then if you have equal to or more...
View ArticleSave as many pickables as you want to
Hi guys So I started to play around with the save and load problem in unity. I'm using PlayerPrefs at the moment, and my question is: Is there a way to save as much pickable objects as you want? So for...
View ArticlePlayerPrefs: Credebility, Advantages/Disadvantages
I am currently considering different measure of saving variables in my game, and playerprefs looks like a really easy and secure method of saving, but before I delve into using it I want to make sure...
View ArticleHow can I store a number larger than 2147483647 in PlayerPrefs?
I recently discovered that Unity refuses to save an int larger than 2,147,483,647 in PlayerPrefs. [The reason why this occurs is well-documented][1], but what is a workaround for this problem? I need...
View ArticleHow to Add and Keep Score with PlayerPrefs for the Next Scene?
Hey everybody, I was hoping somebody could help me out a bit. What I'm trying to do? - Increase Score by 1 when the collision happens - This works - Add that Score to PlayerPrefs and Show it at the...
View ArticlePlayerPrefs are global?
if I create a script of the PlayerPrefs can call directly in a separate file? or must be connected in some way?
View ArticlePlayer prefs (int) with an Enum
Hi Unity, I am trying to save my Game type to player prefs and I am using SetInt and using an Enum so I can remember which game type is which, problem is - it doesnt seem to work. Here is what I have:...
View ArticleHelp Saving Max Health With PlayerPrefs
I've been working on a simple upgrade system where the player has to collect 100 coins, and every time a hundred is collected, the player's health is upgraded. I have tried many, many ways to save the...
View ArticleScore not updating...
Hi! So we're using playerPrefs on our total score. Our problem is everytime we play our game it doesn't update its score. It only updates when we re-play our scene... what do you think is the problem?
View Article