Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Jeremy11K on December 27, 2012, 05:12:21 PM
-
Hi all,
I'm trying to keep music playing between scenes, which I've found I can do by adding a "Don't Destroy on load" PM to my music game object.
Problem is, I'd like to dynamically change the music in the following loaded scenes.
Is there a way that I can effect/reference a game object loaded from another scene with Playmaker?
Thanks and happy holidays!
JK
-
that's pretty much what global variables are for I guess. Just create a new global gameObject variable and use a Set GameObject action in the start state of the gameObject playing the music.
-
Thanks for that kiriri.
I'll give it a shot!
JK
-
i just tested that works perfect