Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsVisualElementComponentAttributenameThe name that identifies this component in UXML. If not set, the struct's name is used.阅读时间1 分钟最后更新于 1 个月前Definition Type: Field Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule public string name