Experimental: this API is experimental and might be changed or removed in the future.

VisualElementExtensions

class in UnityEngine.Experimental.UIElements

Switch to Manual

Description

VisualElementExtensions 是一组扩展方法,对 VisualElement 非常有用。

Static Functions

AddManipulator添加与 VisualElement 关联的操控器。
RemoveManipulator移除与 VisualElement 关联的操控器。
StretchToParentWidth给定 VisualElement 的左右边缘将与父元素的相应边缘对齐。