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

IUxmlAttributes

interface in UnityEngine.Experimental.UIElements

Switch to Manual

Description

此类型允许在 VisualElement 实例化期间检索 UXML 属性值。将向 factory 方法提供一个实例 - 请参阅 UXMLFactoryAttribute。

Public Functions

TryGetAttributeValueGet the value of an attribute as a string.