PlayMaker Feedback > Action Requests

Save and Load scene or file?

(1/1)

azmilarash96:
i don't know if its already have in unity, but i seems didn't notice this. Well, i'm a noob and no experience in scripting. if i'm able to save a scene and then load it back, how can i do this? if there isn't, will be added?  ???

Alex Chouls:
Do you mean saving the current state of a scene at runtime?

There's no generic way to do that... the information that needs to be saved is generally specific to a game.

You can use the PlayerPrefs actions to save/load any information you want to keep. For example, save variables before leaving a level, and load them in a start state after loading a level.

You can load scenes with Load Level and Load Level Num actions.

artician:
I was looking for a similar solution, and would love to request some actions related to Moodkie's Easy Save extension.  I'd understand if you don't want to include specific actions that require external tools, though.

Thanks.

Navigation

[0] Message Index

Go to full version