Score Text not Updating
I have a highscore text that I would like to show on the game over panel. The on screen score works fine, but the HighScore won't update. I've assigned all the game objects to their right places. Here...
View ArticleAre PlayerPrefs backed up to iCloud?
I am looking at Apple's Data Storage Guidelines (https://developer.apple.com/icloud/documentation/data-storage/index.html) which state that iCloud includes Backup, which automatically backs up a user’s...
View ArticleDealing with Purchase Processing Result
2 Days ago, one of my app got 1star bad review. He wrote "Paid $5 for no ads and custom pad setup. Still get ads and custom isn't unlocked." I really don't know how it is possible. I checked all of my...
View ArticleAbout saving volume slider between scenes
I'm currently stuck in saving volume. I made volume slider, and it works fine. But the problem is, when I change the scene, it goes back to default. I watched many answers but nothing fits me( Maybe...
View ArticleGuardar playerprefs en un servidor
buenas noches a todos, he estado en estos dias buscando algun script que permita enviar un playerprefs a un servidor, pero lastimosamente no he dado con ninguno :,c alguno me podria decir si es...
View ArticlePlayerPrefs.DeleteAll() How Work?
I have some doubts about this function. From the official documentation it says it removes **all** keys and values from PlayerPrefs. But if on my device I have two games created with Unity? Remove...
View Articleissue with playerPrefs on android
I have a game and use playerprefs to save scores and other stuffs , but there's a little problem when I run the game in mobile or tablets[APK] .when I want to open the game it says you should reinstall...
View Articleis there a list of Unity's PlayerPrefs keys?
Where can I find a list of all of the player pref keys(or Strings). I know "UnitySelectMonitor" is one, but i'm trying to find the key for resolutions and more.
View ArticleSave and load component values
I know the normal way to save values in Unity, but i cant seem to find a way to use playerPrefs to save and load component values. I have a Image component on a UI object. And i want to save the...
View ArticlePlayerPrefs.GetInt returning 0?
Hi All, I have a script which toggles sound on/off based on playerprefs. For some reason when game is started I always get 0 value for the sound setting in SoundInit method. Cant figure out why? Is it...
View ArticlePlayer Prefs not setting the position at start of the game
Hi I have a main menu where I delete my player prefs, and then at my level 1 I set up the player position by getting the float and writing it in the start function. Vector3 newPos = new...
View ArticleHow to add strings in a list AND be able to save it and load it? Using...
I been searching this for a while and I am not moving forward at all. Any comment will help. So it you guys have any ideas just comment it. I tried to do one with playerPref, (Below is the code), BUT...
View ArticleHow to sync the PlayerPrefs from my unity game for iOS to iCloud
After downloading some assets to help me sync my PlayerPrefs of my game made in unity for iOS to iCloud so users could retrieve their data on other devices I realized that most of them were outdated or...
View ArticleHow to sync the PlayerPrefs from my unity game for iOS to iCloud
After downloading some assets to help me sync my PlayerPrefs of my game made in unity for iOS to iCloud so users could retrieve their data on other devices I realized that most of them were outdated or...
View ArticleDontDestroyOnLoad and Photon, players not visible
Hello guys, I have come across a problem and it has been bothering me for the past day or two. In my game I set up the player's spell to be ready for the fight scene, so after its done I use...
View ArticleHealth bar depletes when app isn't open
I'm familiar with how to create a health bar the depletes over time within the app but how do I make this continue when the app isn't being used? Think of an app similar to The Sims or a pet feeding...
View ArticleHighscore system not working! PlayerPrefs.SetInt Problem.
Hello, I am new to Unity and coding in general and I would appreciate some help with my game. I currently have a score and highscore system. At present, I have a score system that works fine, however,...
View ArticlePlayerPrefs not saving on Windows Devices but saving on Unity Editor and...
Hello Everyone, In Unity Game I have stored values in player prefs that works fine in UnityEditor and Andriod Phones, and when i restart my game in unityEditor and Andriod then It was saved and i can...
View ArticleDifferences between mobile save/load data
Dear Community, I'm trying to figure out how to save 3 values ​​permanently for a mobild game (android). Means when the player close the APK and open it again, the values will not be restarted to...
View Articleplayerprefs dont load for menu toggle
using UnityEngine; using UnityEngine.UI; public class Instructor_toggle : MonoBehaviour { private bool togglevalue; private Toggle toggle; // Use this for initialization void Start() { toggle =...
View Article