文档

Unity Engine

Unity Engine

canHaveAnyAttribute

Must return true if the UXML element attributes are not restricted to the values enumerated by BaseUxmlTraits.uxmlAttributesDescription.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Deprecated. BaseUxmlTraits is deprecated and will be removed. Use UxmlElementAttribute instead.
public bool canHaveAnyAttribute { get; protected set; }