- Home /
Save instantiated objects, to load later
Is there a way i can save what had instantiated in-game, and then to load those later again after re-opening the game? any ideas or link
Answer by SubatomicHero · Jun 03, 2013 at 07:09 AM
No you cannot save objects or instantiated objects. You do have some choices though:
1). Create a singleton class that can hold the properties of the object you want to save i.e. position, scale, etc. This only works on transferring this information from scene to scene, not when opening the game once it has been closed.
http://clearcutgames.net/home/?p=437
2). You could use a script that saves these details as above somewhere online using the WWW class. That way the information is saved and can be retrieved even AFTER closing your game.
http://docs.unity3d.com/Documentation/ScriptReference/WWW.html
Answer by Propagant · Jan 15, 2016 at 11:42 PM
Yes you can! Check this... This definitely change your opinion. https://www.youtube.com/watch?v=kQ5vh4JJFQI