Méthode | Description | |
---|---|---|
BeginChangeCheck ( ) : void | ||
DragableHandle ( int id, Rect windowRect, float offset, DragDirection, direction ) : float | ||
EndChangeCheck ( ) : bool | ||
InfoBox ( string message, WarningLevel warningLevel ) : void |
Display a warning box in the current GUI layout. This is expanded to fit the current GUILayout rect.
|
|
InfoBoxWithButtons ( string message, WarningLevel warningLevel ) : int |
Displays a warning box in the current GUI layout, with buttons. Returns the index of button pressed, or -1 otherwise.
|
|
PlatformPopup ( tk2dSystem system, string label, string platform ) : string | ||
PositionHandle ( int id, Vector2 position, float size, Color inactiveColor, Color activeColor ) : Vector2 | ||
PositionHandle ( int id, Vector2 position, float size, Color inactiveColor, Color activeColor, KeyCode, &keyCode ) : Vector2 | ||
SaveFileInProject ( string title, string directory, string filename, string ext ) : string | ||
SetPositionHandleValue ( int id, Vector2 val ) : void |
public static DragableHandle ( int id, Rect windowRect, float offset, DragDirection, direction ) : float | ||
id | int | |
windowRect | Rect | |
offset | float | |
direction | DragDirection, | |
Résultat | float |
public static InfoBox ( string message, WarningLevel warningLevel ) : void | ||
message | string | |
warningLevel | WarningLevel | |
Résultat | void |
public static InfoBoxWithButtons ( string message, WarningLevel warningLevel ) : int | ||
message | string | |
warningLevel | WarningLevel | |
Résultat | int |
public static PlatformPopup ( tk2dSystem system, string label, string platform ) : string | ||
system | tk2dSystem | |
label | string | |
platform | string | |
Résultat | string |
public static PositionHandle ( int id, Vector2 position, float size, Color inactiveColor, Color activeColor ) : Vector2 | ||
id | int | |
position | Vector2 | |
size | float | |
inactiveColor | Color | |
activeColor | Color | |
Résultat | Vector2 |
public static PositionHandle ( int id, Vector2 position, float size, Color inactiveColor, Color activeColor, KeyCode, &keyCode ) : Vector2 | ||
id | int | |
position | Vector2 | |
size | float | |
inactiveColor | Color | |
activeColor | Color | |
keyCode | KeyCode, | |
Résultat | Vector2 |
public static SaveFileInProject ( string title, string directory, string filename, string ext ) : string | ||
title | string | |
directory | string | |
filename | string | |
ext | string | |
Résultat | string |
public static SetPositionHandleValue ( int id, Vector2 val ) : void | ||
id | int | |
val | Vector2 | |
Résultat | void |