interface in UnityEngine.Experimental.UIElements
切换到手册此类型允许在 VisualElement 实例化期间检索 UXML 属性值。将向 factory 方法提供一个实例 - 请参阅 UXMLFactoryAttribute。
GetPropertyBool | Return the value of an attribute as a bool, or the defaultValue if the property is not found. |
GetPropertyColor | Return the value of an attribute as a Color, or the defaultValue if the property is not found. |
GetPropertyDouble | Return the value of an attribute as a double, or the defaultValue if the property is not found. |
GetPropertyEnum | Return the value of an attribute as a T, or the defaultValue if the property is not found. |
GetPropertyFloat | Return the value of an attribute as a float, or the defaultValue if the property is not found. |
GetPropertyInt | Return the value of an attribute as an int, or the defaultValue if the property is not found. |
GetPropertyLong | Return the value of an attribute as a long, or the defaultValue if the property is not found. |
GetPropertyString | Return the value of an attribute as a string, or the defaultValue if the property is not found. |