Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: weilies on February 24, 2015, 07:24:01 PM
-
Dear gurus,
I have a global gameObject which holding a value. I realized the value lost everytime Load Level (trafer to another scene).
How can i keep holding the GameObject from scene to scene?
-
Dear non-guru,
A global variable holds it's value form scene to scene. You could probably take some screen shots showing the state, variable and values so that us guru types who barely get what you are asking can help. Windows comes with a snipping tool. That way you can snag a shot of the area and quickly upload it. However form your description, it's impossible to say. Are you sure it's a global variable?
-
Thanks guru, i have compose the screeshots
https://docs.google.com/document/d/1V9OTFlwki4YEKzlP_QcfdBGDvD5U9eun7TZbZ81Flgc/edit?usp=sharing
kindly review.
Thanks
-
Reply to this thread and include the screenshots here.
-
It appears that your object prefab link is broken (as indicated by the fact that the text is brown in your hierarchy tab.
-
Oh Justifun, thank for the highlight!
anyway, i change my approache abit. Now i assign the values which suppose to bring over to next scene into multiple global variable instead of passing over the game object. :)