Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: wheretheidivides on May 25, 2014, 04:15:25 PM
-
So let's say I have 2 managers (audio and video). They get run at the same time, but oviously the computer picks 1 to start first. So the events in 1 will happen first. Is there a way playmaker can mark one to run first? That way I could have the audio manager run first before the video manager.
-
yes one could have a start state that does absolutely nothing and could be sent to it's next state by an FSM on another object. Using a Custom Global Event is one way to do this.
-
This is good advice. Unity does not make any guarantees about the order in which components are called, so if you need to guarantee an order it's good to chain the FSMs the way redikann describes.