Class GUIUtility
Assembly: UnityEngine.dll
Syntax
Properties
hasModalWindow
Declaration
public static bool hasModalWindow { get; }
Property Value
|
Improve this Doc
View Source
hotControl
Declaration
public static int hotControl { get; set; }
Property Value
|
Improve this Doc
View Source
keyboardControl
Declaration
public static int keyboardControl { get; set; }
Property Value
systemCopyBuffer
Declaration
public static string systemCopyBuffer { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AlignRectToDevice(Rect)
Declaration
public static Rect AlignRectToDevice(Rect rect)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Returns
AlignRectToDevice(Rect, out Int32, out Int32)
Declaration
public static Rect AlignRectToDevice(Rect rect, out int widthInPixels, out int heightInPixels)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Int32 |
widthInPixels |
|
Int32 |
heightInPixels |
|
Returns
|
Improve this Doc
View Source
ExitGUI()
Declaration
public static void ExitGUI()
|
Improve this Doc
View Source
GetControlID(Int32, FocusType)
Declaration
public static int GetControlID(int hint, FocusType focus)
Parameters
Returns
GetControlID(Int32, FocusType, Rect)
Declaration
public static int GetControlID(int hint, FocusType focusType, Rect rect)
Parameters
Returns
|
Improve this Doc
View Source
GetControlID(FocusType)
Declaration
public static int GetControlID(FocusType focus)
Parameters
Returns
|
Improve this Doc
View Source
GetControlID(FocusType, Rect)
Declaration
public static int GetControlID(FocusType focus, Rect position)
Parameters
Returns
|
Improve this Doc
View Source
GetControlID(GUIContent, FocusType)
Declaration
public static int GetControlID(GUIContent contents, FocusType focus)
Parameters
Returns
|
Improve this Doc
View Source
GetControlID(GUIContent, FocusType, Rect)
Declaration
public static int GetControlID(GUIContent contents, FocusType focus, Rect position)
Parameters
Returns
|
Improve this Doc
View Source
GetStateObject(Type, Int32)
Declaration
public static object GetStateObject(Type t, int controlID)
Parameters
Returns
|
Improve this Doc
View Source
GUIToScreenPoint(Vector2)
Declaration
public static Vector2 GUIToScreenPoint(Vector2 guiPoint)
Parameters
Type |
Name |
Description |
Vector2 |
guiPoint |
|
Returns
|
Improve this Doc
View Source
QueryStateObject(Type, Int32)
Declaration
public static object QueryStateObject(Type t, int controlID)
Parameters
Returns
|
Improve this Doc
View Source
RotateAroundPivot(Single, Vector2)
Declaration
public static void RotateAroundPivot(float angle, Vector2 pivotPoint)
Parameters
|
Improve this Doc
View Source
ScaleAroundPivot(Vector2, Vector2)
Declaration
public static void ScaleAroundPivot(Vector2 scale, Vector2 pivotPoint)
Parameters
|
Improve this Doc
View Source
ScreenToGUIPoint(Vector2)
Declaration
public static Vector2 ScreenToGUIPoint(Vector2 screenPoint)
Parameters
Type |
Name |
Description |
Vector2 |
screenPoint |
|
Returns
|
Improve this Doc
View Source
ScreenToGUIRect(Rect)
Declaration
public static Rect ScreenToGUIRect(Rect screenRect)
Parameters
Type |
Name |
Description |
Rect |
screenRect |
|
Returns
Extension Methods