Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetCursorPixelPosition(Rect, GUIContent, int)

Get the pixel position of a given string index.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
public Vector2 GetCursorPixelPosition(Rect position, GUIContent content, int cursorStringIndex)

Parameters

position


content


cursorStringIndex

Returns

Type

Description

Vector2