Hi,
Whilst we wait for the new API to become available could you point me in a starting direction to learn more about how the new flex UI will work?
Thanks!
Hi,
Whilst we wait for the new API to become available could you point me in a starting direction to learn more about how the new flex UI will work?
Thanks!
The new version indeed uses UIToolkit under the hood (which is linked in your 2nd post) But the API will basically only support a subset of UIToolkit. This is probably the most relevant page so far: https://docs.unity3d.com/2020.…ual/UIE-LayoutEngine.html
The API will also provide absolute and relative layouts.
The API will probably expose most of the settings of the IStyle interface (although some of them will likely be simplified a bit): https://docs.unity3d.com/2021.…ce/UIElements.IStyle.html
Thanks for the reading material
Don’t have an account yet? Create a new account now and be part of our community!