Unity 2020.1.2f1, UI Builder 1.0.0-preview.3, UI Toolkit 1.0.0-preview.6
Feedback comes after making a main menu and a load game menu for in-game use, after watching the Unite video. Generally good impressions so far! It’s relatively comfortable to build UI and binding stuff seems to not be an issue.
Feedback items:
-
It’s really strange that the UI Document doesn’t render anything unless you add an “Event System (UI Toolkit)”. I get that it’s neccessary for UI buttons to work, but nothing showing up with no error messages was unexpected to say the least. I know that you get the correct setup if you create the gameobject from Create/UI Toolkit/UI Document, but I tried adding UI Document through Add Component.
-
Related, please support the new input system already! Had to revert the system to use both input systems, not too happy about that.
-
In the UI Builder Hierarchy, there doesn’t seem to be a keyboard shortcut to rename the selected element. You should use f2 for that since that’s what’s used in the normal hierarchy.
-
I keep selecting elements in the hierarchy, forgetting that I’m editing inline, editing their settings, and then having to revert that setting and open the selector.
I’d really love it if I could right-click a property and select “apply to selector”, in the same way I can right-click a property on a MonoBehaviour and “apply to prefab”. In the same way, there should be an option to add it to each relevant selector.
It’d also be great to have some shortcut to jump to the selected element’s selector without having to use the mouse, but to be fair I’m not sure what would be ideal in situations where there’s more selectors that apply to the element. -
I seem to not be able to target active UI Documents in play mode with the debugger?
-
Live updating of the UI Documents when I change it in the UI builder is a bit sketchy, and doesn’t seem to always work. ctrl+s seems to both try to save the scene and the files open in the builder?
-
In the Unite talk with the tanks demo, Damian says that he’s listening to an event raised when the document is changed in order to rebind buttons, but I couldn’t find the code from that talk, nor examples for that exact feature. Is it just a general AssetDatabase callback, or is there something specifically for this in UI Toolkit?
-
The Flex buttons are kinda not the best. They’re pretty good illustrations, but I’m not a web designer, so whenever I work with UI Toolkit, I have this webpage: A Complete Guide To Flexbox | CSS-Tricks open on the other monitor. So to figure out what I want for justify-content, I go to that webpage, check the image that does the right thing, and use that. When I’m writing uss, I can just write the thing, but when using the UI builder, I have to hover my mouse over each little window to figure out which one is which.
So for me, it’d be a lot easier if align-items, justify-content, etc. had a dropdown instead of the little images.