I believe this is the first tutorial that goes several step beyond just saving the very first variable (even if the concept is the same, it's easier for beginner to see a couple more examples), so kudos! One question, though: any good suggestion to prevent the GameManager class and the save/load methods from becoming scary behemoths? In your example they're already somewhat long, imagine adding other stuff from an actual game (like current scene, other player stats/skills, inventory items, maybe the status of other NPC/interactables in the scene, whatever else) and I can see things getting out of hand and hard to maintain.
@jault016 жыл бұрын
I was just wondering about this 2 weeks ago. I found the playerprefs, but wasn't sure of the best ways. I haven't finished this video yet, but I have seen your other stuff and am looking forward to finishing this.
@AaronHibberd6 жыл бұрын
Yea playerprefs isn't reliable, because it gets randomly cleared. So it's just good for saving settings, like music volume
@potatoPs36 жыл бұрын
Hi Aaron, Im from Argentina so sorry for my bad english. I code in JavaScript and i was like weeks trying to apply this Serialization mechanisms but it was impossible for me to connect my Javascript codes to the C# save code. So im saving my entire game with Player Prefs, using Int variables as booleans (For example, a chest when its closed has a value of 0, and when its open has a value of 1, so if value = 1, the chest will appear opened) For me this Player Preffs mechanisms are working good, what do you think about all of this?
@AaronHibberd6 жыл бұрын
Well, according to people that are smarter than me. Player Prefs isn't reliable because it can be cleared, and is also easy to edit and cheat. So I would try to learn c#, but it's up to you. Read the top comment here: gamedev.stackexchange.com/questions/113829/saving-players-progress-in-a-unity-game "PlayerPrefs will work cross-platform, but it's not recommended for gameplay progress save files because it's insecure. As a plaintext file, a player can easily open it up and change the contents to cheat, or make your game behave unpredictably. It's also not guaranteed to stay around."
@potatoPs36 жыл бұрын
Well, it makes sense. I think that for my future games i will save with serialization. By now i want to finish my game like this, i hope nothing happens. Thank you very much for your answer!
@vigneshsree31156 жыл бұрын
Hi Bro, Happy to see you after a long time.Can you make a tutorial on login in system in unity
@ragestudios86206 жыл бұрын
You heard my prayers. Thanks!
@owendorsey58666 жыл бұрын
Rage Studios lol same
@micheleguardabasso81622 жыл бұрын
Hi can you please in a project that i have to found?