Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsEnumFieldtextReturn the text value of the currently selected enum.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule public string text { get; }