playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Register on the forums to download actions, updates, etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Save a Game object location?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Save a Game object location? (Read 2097 times)
xunxun
Junior Playmaker
Posts: 53
Save a Game object location?
«
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
Logged
pjrm1470
Playmaker Newbie
Posts: 13
Re: Save a Game object location?
«
Reply #1 on:
September 19, 2013, 02:52:39 PM »
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
Logged
Alex Chouls
Administrator
Hero Member
Posts: 3987
Official Playmaker Support
Re: Save a Game object location?
«
Reply #2 on:
September 19, 2013, 04:42:11 PM »
You could use PlayerPrefs to save/load the info. Or I believe I've seen other serialization actions popping up on the forum...
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Save a Game object location?