When I have multiple rooms. I switched from room a to room b. And switch from room b to room a. How to ensure that ab two rooms will not change and reset each time.
Room means Layouts.
You can try adding Persist behavior to all objects on the layout.
Or you can save everything in an array when leaving layout, and restore all object from the array when entering it again.
Develop games in your browser. Powerful, performant & highly capable.
You can try adding Persist behavior to all objects on the layout. Or you can save everything in an array when leaving layout, and restore all object from the array when entering it again.
Thank you for your answer!