Jump to content

[SOLVED] Persisting Data Between Worlds


photo

Recommended Posts

We are trying to pass a couple variables between a menu world and a game world.

 

For example: selecting a character in the menu world, and then using this selection variable to decide what mesh to spawn in the game world, after it has finished loading.

 

Is there a function or option to persist a script or node between worlds? Something besides writing to and reading from a temporary data variable 

 

For reference: in Unity, there is the DontDestroyOnLoad function for GameObjects/Nodes - http://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html

 

Thanks!

Link to comment
×
×
  • Create New...