I'm digging into Unity's new UI Toolkit, and so far I like it a lot; but there are a few things bugging me about it.
I have a dynamic list in my UI which keeps track of way point paths, and it changes its contents with play. This is mostly taken care of with a group and labels added to it in C#; but there's a specific kind of formatting I use for my labels and it's a lot of get/set calls to update it every single time.
Under ideal circumstances, I would make my ideal label in the editor, make it a prefab, and just insert that prefab; but this doesn't seem to be possible with the UI Toolkit.
If I can't make a UI prefab, how can I easily and clearly create the same style of label every single time without too many lines of code?