Playmaker Forum

PlayMaker News => General Discussion => Topic started by: PolyMad on April 20, 2020, 01:24:16 PM

Title: What is the "right" way to keep the on/off UI elements when loading a map?
Post by: PolyMad on April 20, 2020, 01:24:16 PM
As per title.
I am activating and deactivating the elements in the menu screen, but when the map is loaded, the work gets erased by the default status in the map.
Is there a way to inherit what I set up in the menu map to the game map?
Title: Re: What is the "right" way to keep the on/off UI elements when loading a map?
Post by: jeanfabre on April 22, 2020, 02:19:52 AM
Hi,

 you can have several scenes that yo load additivly, on eof them that you never touch if your UI,

the other way is to flag your canvas as dontdestroyOnLoad and then it will always be there.

Bye,

 Jean
Title: Re: What is the "right" way to keep the on/off UI elements when loading a map?
Post by: PolyMad on April 22, 2020, 02:24:03 AM
Thank you!