How to save game to file | Unity in 60 seconds

preview_player
Показать описание
Unity tutorial about saving game state/data to file. Why is it different than other tutorials? Because everything is compressed to about 60 seconds / 1 minute.

Project Files:

Outro music
Micro Fire - Silent Partner
Рекомендации по теме
Комментарии
Автор

Thank you for those videos. Saves me hours on brining my ADHD to watch 20 minute versions. When all I really need is a short example and a gentle push.

artended
Автор

Exactly what I was looking for. Thanks, dude. You saved me a lot of time.

kuzmychmaksym
Автор

This video would be much more useful if it wasn’t so fast and rushed.

SageNode
Автор

How can I do it with the 3D character?

kozmobotgames
Автор

What I understood him saying:
1. dothisandthenthat
2. thisdoesthisandthatgoesthere
3.
4. thanks for watching this video

my conclusion: Copy and paste the code into my game

NayefMohammed-if
Автор

thanks bro! how About of I want to save a file downloaded from a file hosting site?
Here's my Case:
- I want to keep my app size small on build so users can download it easily from playstore.
- I decided to make my app logic separated from the video files that my app will use.
- I used google Firebase to save my video files( I can directly link a file to my current app) I also can play the video on my app using the URL and a normal "video player" in unity.

[PROBLEM]
My problem is, how do I save a downloaded file to a persistent location on the device where I installed the app?
Instead of directly playing the file from firebase, I want to download it on an internal folder inside my app then access it everytime the my unity app needs to play it. On this case, I will have the ability to conserve the number downloads from firebase since firebase's pricing depends on the number of downloads.
I hope you can help me with this.

There's no solution from the web/forums as of now at the moment as far as I know....

cebkun
Автор

beatiful your video! if put game object with raycast as i can save the game?

micheleguardabasso
Автор

Great Vid, like that u rushed and went straight-forward, there isnt much to explain to it its rather self-explanatory just after seeing the code, thanks!

jethrow
Автор

please help me:
i have error:
saveData.positions = new SaveData.position[1];

liseeek
Автор

Thank soooo much inlitry about to leave

Gamemode_