Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsTextInputBaseField<TValueType>SelectAll()Selects all the text contained in the field.阅读时间1 分钟最后更新于 1 个月前Definition Type: Method Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule public void SelectAll()