Hello all, Ive been using the Babylon online GUI editor and it is great, but was wonderign id there anyway to get a javascript document of what you create there, rather then a JSON that need to be parsed? im thinking something similar to how the Node Material Editor works - just so I can create things more dynamivcally and swap out certain values
So, this is similar to how the node material editor can export both a json file (when clicking ‘Save’) and a javascript file where every node block is imported from the library as an object and then connected, and wrapped as a function that returns the material (when clicking ‘Get Code’).
It would be greate to have a similar approach in the GUI editor where I have a series of GUI elements declared and parented, as they have been organised in the online editor, and then returning a container that has this GUI element hierarchy attached, but could be extracted into functions with parameters that would make it more reusable.