Skip to main content
Post Closed as "Duplicate" by DMGregory unity
Fixed the tags.
Source Link
Vaillancourt
  • 16.4k
  • 17
  • 56
  • 61

Saving How can I save data in Unity?

I'm making a game that's pretty simple and I really only need to save one intint for when the game is closed (the scene the payer is at), but all the tutorials and guidsguides I've seen haven't been much help so far. 

So basically I want a way to either have the game, resume right where I left off when I quit, have it load a specific scene when you resume playing, or have it save that single intint. Having it load a specific scene would work best but I can use any of the options stated above. I'm using c# in Unity

Saving data in Unity

I'm making a game that's pretty simple and I really only need to save one int for when the game is closed but all the tutorials and guids I've seen haven't been much help so far. So basically I want a way to either have the game resume right where I left off when I quit, have it load a specific scene when you resume playing, or have it save that single int. Having it load a specific scene would work best but I can use any of the options stated above. I'm using c# in Unity

How can I save data in Unity?

I'm making a game that's pretty simple and I really only need to save one int for when the game is closed (the scene the payer is at), but all the tutorials and guides I've seen haven't been much help so far. 

So basically I want a way to either have the game, resume right where I left off when I quit, have it load a specific scene when you resume playing, or have it save that single int. Having it load a specific scene would work best but I can use any of the options stated above.

Source Link

Saving data in Unity

I'm making a game that's pretty simple and I really only need to save one int for when the game is closed but all the tutorials and guids I've seen haven't been much help so far. So basically I want a way to either have the game resume right where I left off when I quit, have it load a specific scene when you resume playing, or have it save that single int. Having it load a specific scene would work best but I can use any of the options stated above. I'm using c# in Unity