Creating VisualElements from UXML raw text
I am trying to essentially get UXML assets imported at runtime. I need to do this without using any pre compilation from things such as AssetBundles and what not. My current approach is to now read all the UXML data as an XML file and manually parse all the attributes and styling into a new VisualElement object. I found that the VisualElement stores all of it's styling info under an object of type IStyle. I was curious if there were already existing methods of parsing the style information from raw text into an IStyle object. Also if anyone has some insight into importing these assets at Runtime, I would love to hear it
Your answer
Follow this Question
Related Questions
How to make or find advanced UI assets 1 Answer
What is the offset or space between GUILayout elements? 1 Answer
Prevent escape key from deleting InputField contents, have it save instead? 4 Answers
UI Text synchronize with UNET 1 Answer
Can I still edit the pivot of multiple selected sprites? 1 Answer