C# Class PreviewGUI, UnityDecompiled

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
CycleButton ( int selected, GUIContent options ) : int
Drag2D ( Vector2 scrollPosition, Rect position ) : Vector2
EndScrollView ( ) : Vector2

Private Methods

Méthode Description
BeginScrollView ( Rect position, Vector2 scrollPosition, Rect viewRect, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar ) : void

Method Details

CycleButton() public static méthode

public static CycleButton ( int selected, GUIContent options ) : int
selected int
options GUIContent
Résultat int

Drag2D() public static méthode

public static Drag2D ( Vector2 scrollPosition, Rect position ) : Vector2
scrollPosition Vector2
position Rect
Résultat Vector2

EndScrollView() public static méthode

public static EndScrollView ( ) : Vector2
Résultat Vector2