Hello
I’m making a save game system and i was facing a problem with saving the data inside my character class so i was wondering if there was a way to save the whole thing into a variable and then save it to a game slot.
pls if this is possible tell me how and thnxs in advance.
Get player character>Set variable>Save Variable
When Loading you’ll do the opposite
Load Variable>Apply all Variables to character
as far as im aware without going to the effort of doing this myself you may as well just get all the variables you want to save in the first place instead of the whole character
Usually
Inventory
Transform
and anything else that’s actually important
If your question is actually how to make a save then here’s a great tutorial on just that
1 Like
Please mark as solution or provide additional details if this didn’t help
1 Like
thnxs a lot , it really helped i just took each variable individually and saved them to the save game object.
1 Like