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

IUxmlAttributes

interface in UnityEngine.Experimental.UIElements

切换到手册

描述

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

公共函数

TryGetAttributeValueGet the value of an attribute as a string.