Can a scene's GUI be serialized?

Is there a way to save the GUI when exporting a scene, and then “inflate” the UI when the scene is loaded?

Update: The GUI can be recreated (“inflated”) from JSON via AdvancedDynamicTexture.parseContent.
Still not sure how best to persist this data in the scene… I can add it to metadata, I guess.

cc @DarraghBurke

You should be able to use the serializeContent to serialize it.

1 Like
// save
scene.medatadata.gui = adt.serializeContent()
// load
1 Like