What is the most common way to implement save in Apple TV / tvOS? How does it...
So after digging in we discovered that tvOS won't allow local saving like any other platform. You need to use iCloud there's no way around it. Digging it more, I discovered there IS a local way to...
View ArticleProblems with my playerprefs. and Level Lock System
I have tried looking up specific codes on the internet but most of the answers i find are too old to use or out of my understanding. Here is some of my code that I think will work if I can figure out...
View ArticlePuzzled with crash - Do you recognize this stack trace?
Hello, i'm puzzled with a crash bug that was introduced to our app recently. My first guess was that it was due to storing too many and too long strings to PlayerPrefs and changed that, but we still...
View ArticlePlayerPrefs not working in another scene
I'm trying to make a leveling system for my game but when I'm trying to get a playerpref to another float in another scene it doesnt work I was using void Start() { health =...
View ArticleHigh-score Saving Issue
I want to implement a high score system in my dodge game, but I can't seem to make it work. Currently, I have a score, which starts from 500,000 and gets down 150 points per seconds. This works,...
View ArticleHelp with Load function on Button press
Hello everybody, i've got a little problem with my save and load function for my 2D android game. So in my game when the player hits a checkpoint the scene and the position of my player should be...
View ArticleIs it possible to save functions useing playerPrefs?
Hi, I am trying to make a clicker game, which means that i need numbers to increase while I am using/while I am in another scene. From what I have learned PlayerPrefs is the way to do this. So I have...
View ArticleAbout Playerprefs Save & Load
Hi.I'm currently making 2d clicker game.I'm having issue with Playerprefs.What I'm trying to do is " Click [button A] and when [button A] is clicked, it becomes disabled and [button B] becomes enabled....
View ArticleConvert my playerpref back to obj
![alt text][1]So i have it set up to save my objects with the positions to player pref but i need help converting it from string it saves as back to object and transform. using System.Collections;...
View ArticleSave a list of object locations
So i have a group of planets and i want to be able to save the game and when i load the game i want to load the planets at their previous locations.. My problem is that when i say to save the object...
View ArticleHow do you delete a whole playerprefs structure?
So yes I have googled this so don't be one of those guys and say 'go google it'. It's real simple. I am using Windows 10 with unity 2017.3.1p1. When using PlayerPrefs.DeleteAll(); It deletes the player...
View ArticleHow to access Playerprefs xml file on Android
Hi, for my progress backup system, I need to read the player prefs XML file with "File.ReadAllBytes" and then add it to a form by "form.AddBinaryData" and then upload it to a server, so later I can set...
View Articlehow do I add a specified number to a string?
so in my game I basically have a shop that I want to use in order to fake/spoof microtranactions. In order to this, I have a button that I would like to use to increment the players currency by a...
View ArticlePlayerPrefs lag (screen just stops)
On...Unity...I've assigned a button to execute this method. The problem is that every time I press this button the editor just stops. It doesn't even say the "Unity isn't responding" thingy. The same...
View ArticleIf I have an exiting player object setup how do I give the players selected...
The title explains exactly what I mean. I setup a test level character for the gameplay and then made a character selection scene that brings the character selected to the gameplay scene. Showing code...
View Articlehow can I tag a gameobject as Player at the start of a scene loading from the...
I need to tag a gameobject the player selects from a character selection screen from the last scene in the next scene.
View ArticleSetting, saving and getting info from PlayerPrefs, i can't save and call a...
I don't understand how to set my high score to save at the end of each game, i've looked at many things for high score with player prefs and have copied and pasted code but i don't think my script...
View ArticleCan I set a player tag to this line of code?
Playerpref.SetInt(“CharacterSelected”,Index); I want the line of code to make it so the character selected gets tag “Player”
View ArticleHow do you transfer UI Text from one scene to another?
The scoring of my game is based on how far the player travels on the x-axis. I use this code to calculate it: public Transform player; public Text scoreText; void Update() { scoreText.text =...
View Article