文档

Unity Engine

Unity Engine

GetCursorPixelPosition(Rect, GUIContent, int)

Get the pixel position of a given string index.
阅读时间1 分钟最后更新于 2 天前

Definition

public Vector2 GetCursorPixelPosition(Rect position, GUIContent content, int cursorStringIndex)

Parameters

position


content


cursorStringIndex

Returns

Type

Description

Vector2