I have an editor window with multiple panels, and I want to structure it so each panel (i.e inspector panel, view panel, data panel etc) has it’s own uxml file which I can author using uibuilder, and have a corresponding c# class to manage the interactions of the controls.
How can the uxml be associated with the c# class, so when I drag the uxml file into the main editor window, and instance of that class is automatically created?
I think my c# class needs to inherit from Visual element, but I’m kinda stuck there what to do next.