GUIStyle
- active
- alignment
- border
- CalcHeight
- CalcMinMaxWidth
- CalcScreenSize
- CalcSize
- clipping
- contentOffset
- DrawCursor
- DrawWithTextSelection
- Draw
- fixedHeight
- fixedWidth
- focused
- fontSize
- fontStyle
- font
- GetCursorPixelPosition
- GetCursorStringIndex
- GUIStyle
- hover
- imagePosition
- lineHeight
- margin
- name
- none
- normal
- onActive
- onFocused
- onHover
- onNormal
- operator GUIStyle
- overflow
- padding
- stretchHeight
- stretchWidth
- wordWrap
GUIStyle.GetCursorPixelPosition 获取光标像素位置
function GetCursorPixelPosition (position : Rect, content : GUIContent, cursorStringIndex : int) : Vector2
Description描述
Get the pixel position of a given string index.
获取给定字符串索引的像素位置。
最后修改:2011年1月23日 Sunday 23:36