Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsTextInputBaseField<TValueType>isReadOnlyReturns true if the field is read only.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule public bool isReadOnly { get; set; }