C# Class UnityEngine.GUILayout

Afficher le fichier Open project: jbruening/UnEngine Class Usage Examples

Méthodes publiques

Méthode Description
BeginHorizontal ( ) : void
Button ( string text ) : bool
EndHorizontal ( ) : void
HorizontalSlider ( float value, float leftValue, float rightValue ) : float
HorizontalSlider ( float value, float leftValue, float rightValue, GUIStyle slider, GUIStyle thumb ) : float
Label ( GUIContent content ) : void
Label ( GUIContent content, GUIStyle style ) : void
Label ( Texture image ) : void
Label ( Texture image, GUIStyle style ) : void
Label ( string text ) : void
Label ( string text, GUIStyle style ) : void
Toggle ( bool value, GUIContent content ) : bool
Toggle ( bool value, GUIContent content, GUIStyle style ) : bool
Toggle ( bool value, Texture image ) : bool
Toggle ( bool value, Texture image, GUIStyle style ) : bool
Toggle ( bool value, string text ) : bool
Toggle ( bool value, string text, GUIStyle style ) : bool
Window ( int id, Rect screenRect, WindowFunction func, GUIContent content ) : Rect
Window ( int id, Rect screenRect, WindowFunction func, GUIContent content, GUIStyle style ) : Rect
Window ( int id, Rect screenRect, WindowFunction func, Texture image ) : Rect
Window ( int id, Rect screenRect, WindowFunction func, Texture image, GUIStyle style ) : Rect
Window ( int id, Rect screenRect, WindowFunction func, string text ) : Rect
Window ( int id, Rect screenRect, WindowFunction func, string text, GUIStyle style ) : Rect

Method Details

BeginHorizontal() public static méthode

public static BeginHorizontal ( ) : void
Résultat void

Button() public static méthode

public static Button ( string text ) : bool
text string
Résultat bool

EndHorizontal() public static méthode

public static EndHorizontal ( ) : void
Résultat void

HorizontalSlider() public static méthode

public static HorizontalSlider ( float value, float leftValue, float rightValue ) : float
value float
leftValue float
rightValue float
Résultat float

HorizontalSlider() public static méthode

public static HorizontalSlider ( float value, float leftValue, float rightValue, GUIStyle slider, GUIStyle thumb ) : float
value float
leftValue float
rightValue float
slider GUIStyle
thumb GUIStyle
Résultat float

Label() public static méthode

public static Label ( GUIContent content ) : void
content GUIContent
Résultat void

Label() public static méthode

public static Label ( GUIContent content, GUIStyle style ) : void
content GUIContent
style GUIStyle
Résultat void

Label() public static méthode

public static Label ( Texture image ) : void
image Texture
Résultat void

Label() public static méthode

public static Label ( Texture image, GUIStyle style ) : void
image Texture
style GUIStyle
Résultat void

Label() public static méthode

public static Label ( string text ) : void
text string
Résultat void

Label() public static méthode

public static Label ( string text, GUIStyle style ) : void
text string
style GUIStyle
Résultat void

Toggle() public static méthode

public static Toggle ( bool value, GUIContent content ) : bool
value bool
content GUIContent
Résultat bool

Toggle() public static méthode

public static Toggle ( bool value, GUIContent content, GUIStyle style ) : bool
value bool
content GUIContent
style GUIStyle
Résultat bool

Toggle() public static méthode

public static Toggle ( bool value, Texture image ) : bool
value bool
image Texture
Résultat bool

Toggle() public static méthode

public static Toggle ( bool value, Texture image, GUIStyle style ) : bool
value bool
image Texture
style GUIStyle
Résultat bool

Toggle() public static méthode

public static Toggle ( bool value, string text ) : bool
value bool
text string
Résultat bool

Toggle() public static méthode

public static Toggle ( bool value, string text, GUIStyle style ) : bool
value bool
text string
style GUIStyle
Résultat bool

Window() public static méthode

public static Window ( int id, Rect screenRect, WindowFunction func, GUIContent content ) : Rect
id int
screenRect Rect
func WindowFunction
content GUIContent
Résultat Rect

Window() public static méthode

public static Window ( int id, Rect screenRect, WindowFunction func, GUIContent content, GUIStyle style ) : Rect
id int
screenRect Rect
func WindowFunction
content GUIContent
style GUIStyle
Résultat Rect

Window() public static méthode

public static Window ( int id, Rect screenRect, WindowFunction func, Texture image ) : Rect
id int
screenRect Rect
func WindowFunction
image Texture
Résultat Rect

Window() public static méthode

public static Window ( int id, Rect screenRect, WindowFunction func, Texture image, GUIStyle style ) : Rect
id int
screenRect Rect
func WindowFunction
image Texture
style GUIStyle
Résultat Rect

Window() public static méthode

public static Window ( int id, Rect screenRect, WindowFunction func, string text ) : Rect
id int
screenRect Rect
func WindowFunction
text string
Résultat Rect

Window() public static méthode

public static Window ( int id, Rect screenRect, WindowFunction func, string text, GUIStyle style ) : Rect
id int
screenRect Rect
func WindowFunction
text string
style GUIStyle
Résultat Rect