A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
There is a good example in the docs: https://docs.unity3d.com/ScriptReference/UIElements.ListView.html
This is because ObjectField needs to have an objectType set. This should work: scrollView.Add(new ObjectField { objectType =...
This is what the "bindItem" callback is for. This exists because ListView is virtualized, meaning it only creates a small subset of VisualElements...
Just pushed a pretty big update to this package. See updated original post.
Here is a workaround extension method for VisualElement if you want to use it. It will operate on any BaseField<T>, PropertyField or array bound...
Hey! We have an MIT licensed repo with a bunch of custom fields and drawer attributes that may be to your liking. Specifically, we have a...
Much of what I have learned about UIElements is from examining the reference that Unity graciously put out for us to look at here! This way you...
When creating the element that the ListView is showing you can register for KeyDownEvent and MouseDownEvent callbacks. For the KeyDownEvent you...
Add an ObjectField to where you want it displayed and then call "BindProperty" on it passing in a serialized property referencing the field you...
If I remember correctly, I've also encountered similar situations like this with nested value change events. One of the things I did to isolate...
Though part of the reason making a derived class of List is necessary is because Unity special cases arrays and lists to add attributes to every...
Wow that is fantastic news and will likely make a lot of people (including me!) very happy. I feel like that's been a long time coming. Also yeah...
Here's my default editor that emulates the normal inspector but draws everything with UIElements and allows you to make normal custom property...
#region UPDATE: With the official release of 2019.3 we have pushed a pretty substantial update to this package! We added a couple more controls,...
Use the uss property Label { white-space: normal; } Unintuitive I know but that's what it does!
This is a great little guide about how flex box works: https://css-tricks.com/snippets/css/a-guide-to-flexbox/ And this is a great little tool to...
Bindings act based on "SerializedProperties" which understandably can be confusing. So unfortunately since C# properties themselves are not...
Setting VisualElements to be inactive will only prevent them from being interactive with, they will render and appear grayed out just like enabled...
Any chance this works with 2019.3 alpha?
Hey everyone, I had encountered an obscure problem while using the editor on my Dell XPS laptop that would either crash unity or show black...