Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: heavygunner on December 05, 2018, 10:24:39 PM
-
Hi !
I have 20 scenes on my game. I wanna load random scene on game launch.
How can I do that ?
Edit : Also, I wanna random scene on when clicked on NEXT button on Gameover UI. How to do it ?
Thanks
-
Hi.
You can use load scene and set by name, then have an array with the scene names.
the use array get random. and use the variable result on the load scene.
-
Problem is, Where should i write load scene FSM?
I have 20 scenes. In which scenes should I write?
-
Hi.
Have a 'Main' scene that will always be there.
in there you can have the fsm to load one of the 20 scenes.
Use load scene Async and set to additive.