playMaker

Author Topic: Save and Load scene or file?  (Read 5042 times)

azmilarash96

  • Guest
Save and Load scene or file?
« on: April 12, 2011, 09:11:02 PM »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Save and Load scene or file?
« Reply #1 on: April 12, 2011, 11:11:03 PM »
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

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 318
Re: Save and Load scene or file?
« Reply #2 on: June 14, 2011, 01:55:26 PM »
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.