In VisualElement, is there a difference between resolvedStyle.width
(or height
) and layout.width
(or height
)?
I’ve tested some cases, and their values are always the same.
Unity - Scripting API: UIElements.VisualElement.resolvedStyle
Unity - Scripting API: UIElements.VisualElement.layout