Quantcast
Channel: Questions in topic: "playerprefs"
Browsing all 1333 articles
Browse latest View live
↧

How 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 Article


How 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 Article


How 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 Article

DontDestroyOnLoad 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 Article

Health 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 Article


Unlocking Levels in the Menu with PlayerPrefs

I'm trying to figure out how to use PlayerPrefs correctly to unlock levels as the player progresses. Right now, the player can continue to the next level while playing, but as soon as they go back to...

View Article

Highscore 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 Article

PlayerPrefs 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 Article


Differences 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 Article


playerprefs 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

Boolean Trouble, Please help....Boolean does not flip another boolean

Script A checks every frame to see if Script B has a boolean true, so that script A can flip its own boolean, every frame. Script B flips the bool, script A logs a debug line implying that it caught...

View Article

How can I save values in an array using PlayerPrefs?

I'm trying to create a method where the value in an array for unlocking levels is checked to see if it has been unlocked. I have two arrays, one for levels and one for unlocking, and when a button for...

View Article

Playtest Reports

I have a script in my development build that keeps track of certain information during the game so I can see how players are using the game (nothing crazy, items, time, characters, etc.). I'm wondering...

View Article


Need Help with High Score Please.

I have 2 scripts, One "ScoreManager" for my Score, and another for my High Score names "HighscoreScript". Currently they Operate fine and transfer to next scene, however, I would Like the Highscore...

View Article

unlock System for levels

plz i need help my questions is how i delete 2 or 3 levels from playerprefs.delete.key when game is gameove!!

View Article


playerprefs problem

i got 60 levels with select levels when i play a level and save it in playerprefs after completed this level go next level and also save this level in playerprefs my problem is when playing the...

View Article

Google Cloud PlayerPrefs Plugin

Is there a plugin that allows me to easily synchronize key-value pairs via the Google Cloud (Android only)? For iOS there exist things like the iOS Keychain Plugin in the asset store, but I have not...

View Article


How to refresh playerprefs?

Im making a Balloon poping game, and I want to get a prize for some amount of score for example if you made a score of 10 you get a sticker or if you made a score of 20 you get a keyholder, and if you...

View Article

Importing images from hard drive and/or image gallery into Unity during...

I'm making an app in unity that allows players to import images into the app from their hard drive or an image gallery (Android or IOS). However, I'm not sure how to do this. Also, after importing the...

View Article

Can change the directory of playerprefs for windows?

I need to change where the playerprefs are saved on the PC, tried several things but no positive results. Can anyone help me with this?

View Article
Browsing all 1333 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>