Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsITextSelectioncursorPositionThe position of the text cursor inside the element.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule Vector2 cursorPosition { get; }