Player Party Save
I'll try to explain this the best I can. I have a game where the player creates an entire party of x amount of characters. Each character has a class, stats, etc. Not the important stuff. I can get...
View ArticleContinue from where you left with PlayerPRefs
Hey guys, I have coin, level, health, hunger variable.I want to save them, I have a code something like that to save coin, if(coin> PlayerPrefs.GetFloat("coin")){ PlayerPrefs.SetFloat("coin", coin);...
View ArticlePlayerPrefs help !
Hi, I tried in very much ways, but I really can't figure it out. This is a level lock/unlock system made by me. On my PC works perfectlly, but when I test it on my android smartphone nothing works. Why...
View ArticleSaving item count with Playerprefs
So i'm new to programming and writing scripts, and ive decided to make an incremental game just for fun and to learn new things. and i have come to a point where i think i should implement some kind of...
View ArticleHow can you save a long variable with Playerprefs
I would like to use a long variable for one of my Games, but I can't see the SetLong Method in the PlayerPrefs Class so how am I able to save a long variable with PlayerPrefs.
View ArticleHow can I update UI Text score using PlayerPrefs.Getint() on startup?
Hello I've managed to get my PlayerPrefs.GetInt(); To successfully transfer to my 2nd scene, but what appears to be the problem on the 2nd level is that the score would be set default to 0 and would...
View ArticleLoading Next Scene based on scores
Hello! I am having problems with writing a C#script. I want to write a script that stores player's scores (for entire game) based on GUI buttons. Also, load next and specific scenes based on player's...
View ArticleHow to save sprite to Playerprefs
Hi, i'm a new developer and i am making a mobile game. I barely understand c# so could someone help me because i can't find any solution for my problem i don't understand why isn't this script working...
View ArticleI'm having a problem while jumping an object in Unity 5
Hello Everyone, i have just starting using Unity 5 recently and i'm new to it. I am having problem while jumping. Im using c# . **void Update () { if(Input.GetKeyDown(KeyCode.Space)){ GetComponent...
View ArticleAddComponent changed after upgrading Unity
I've just upgraded from Unity 4 to 5. It has changed a few lines of code. But the newly generated code is givin warnings. Let me first show the original code, which worked perfectly fine. void Start ()...
View ArticleHow to save playerprefs data into Google PlayGames (unity) plugin?
Hello, I successfully configured and using the login and Save Load feature in Google PlayGames plugin with the guide in the github of the plugin.. Then, recently when I'm uninstall, clean data with...
View Articlehow do i put a PlayerPrefs into a conditional statement
i just got bored in videogame design sense i have done all of the required stuff i feel like overachieving by making a high score but i cant keep it at a number until a higher one is made and i cant...
View ArticleHow to allow coins to increase its Player.Prefs file and save, but then load...
Hey guys, so my title really explains it. I am currently creating a three lane highway style game that has objects, obstacles and enemies flying towards the player. I currently have a coin system in...
View ArticleSaving Data for a Multiplayer Game
Hello, I was a bit curious about something. I know all about saving playerprefs to save data, and how to access them and whatnot...My question is that when you have a network game is it acceptable to...
View ArticleGuidance on creating a ClickCounter
This is my script so far: using UnityEngine; public class ClickCounter : MonoBehaviour { public static ClickCounter manager; public int CC; void Start() { manager = this; if (CC == 5) {...
View ArticleSave coins/currency?
Hello! Using player prefs my game stores the currency the player has aquired during his run, when its game over i store the currency: if (game.gameOver == true && tempsReset == false){...
View Articledoes unity 5.3 change player prefs path or file extension on android ?
Hello, does unity 5.3 change player prefs path, file extension or file structure on android ? - we are experiencing an issue where unity 5.2 can read playerprefs that are written with 3rd party code,...
View ArticlePlayerprefs, i dont know how to use
sorry for being *insert something like a people that do a lot of questions*. i started understanding about PlayerPrefs, so it was not clear, so have a script that basically start the specified level....
View ArticleSaving a Player Pref Exclusive to that instance of a script
Ive got a little shop in my game where i have the character buying 2 different things...Thing is a want the isBought boolean to save after a quit and restart of the game. Both the items in the shop...
View ArticleHow TO FIx Failed to update unity web player?
I M getting "Failed to update unity webplayer" problem, even i have already updated my unity web player. Whenever i try to play ShadowGun Deadzone in facebook, it happens and sometime it stuck at...
View Article