Politicalpeacestudios
started a topic on Wed, 26 August 2015 at 4:37 PM
I'll just try to paint you a mental picture of my problem. Imagine the whole Unity, Android app is 2 scenes, A Register/Login Scene, and another scene that has 1 button. The button has a int variable that is set to 0, 0 meaning the button is LIVE and ready to push. When the button is pressed the 0 becomes a 1, 1 meaning the button is DEAD and can not be pushed anymore.
Ok that works fine. But if you close the app, log back in, the button you pressed that should have an int of 1, is back to 0. Of course because I never saved the int. But I need that int to be super secure so I can't save it on the device. Thats where Playfab kicks in.
How do I get this specific users button int, save it to Playfab, and also load it through Playfab using C#. So when the user presses the button, the int turns to 1, turning the button off, saving on playful his int so that the button stays off when the user logs out and logs back in.
Hope this makes sense, thanks in advance to anyone who decides to throw me a bone.