Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: xunxun on September 19, 2013, 02:39:49 PM
-
How can I save a Rotation and Location of an Object on screen and reuse that in next time run?
To be clear, this is the simple process.
1. Run game -> Get location of the Main Camera
2. Stop Game
3. Run Game again and I want the Main Camera is set at the last Position
thanks
-
When you say "Run game", you mean open the application and run the game?
If that's it, then you'll need Serialization.
Or "run game" means keep the application (game) open, enter the scene quit it and enter it again?
best regards,
PJRM
-
You could use PlayerPrefs to save/load the info. Or I believe I've seen other serialization actions popping up on the forum...