Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsUxmlAttributeDescriptiontypeAttribute type.阅读时间1 分钟最后更新于 2 个月前Definition Type: Property Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule 警告Deprecated. UxmlTraits system is deprecated and will be removed. Use UxmlElementAttribute instead. public string type { get; protected set; }