C# Class UnityEngine.GUILayout

ファイルを表示 Open project: jbruening/UnEngine Class Usage Examples

Public Methods

Method 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 method

public static BeginHorizontal ( ) : void
return void

Button() public static method

public static Button ( string text ) : bool
text string
return bool

EndHorizontal() public static method

public static EndHorizontal ( ) : void
return void

HorizontalSlider() public static method

public static HorizontalSlider ( float value, float leftValue, float rightValue ) : float
value float
leftValue float
rightValue float
return float

HorizontalSlider() public static method

public static HorizontalSlider ( float value, float leftValue, float rightValue, GUIStyle slider, GUIStyle thumb ) : float
value float
leftValue float
rightValue float
slider GUIStyle
thumb GUIStyle
return float

Label() public static method

public static Label ( GUIContent content ) : void
content GUIContent
return void

Label() public static method

public static Label ( GUIContent content, GUIStyle style ) : void
content GUIContent
style GUIStyle
return void

Label() public static method

public static Label ( Texture image ) : void
image Texture
return void

Label() public static method

public static Label ( Texture image, GUIStyle style ) : void
image Texture
style GUIStyle
return void

Label() public static method

public static Label ( string text ) : void
text string
return void

Label() public static method

public static Label ( string text, GUIStyle style ) : void
text string
style GUIStyle
return void

Toggle() public static method

public static Toggle ( bool value, GUIContent content ) : bool
value bool
content GUIContent
return bool

Toggle() public static method

public static Toggle ( bool value, GUIContent content, GUIStyle style ) : bool
value bool
content GUIContent
style GUIStyle
return bool

Toggle() public static method

public static Toggle ( bool value, Texture image ) : bool
value bool
image Texture
return bool

Toggle() public static method

public static Toggle ( bool value, Texture image, GUIStyle style ) : bool
value bool
image Texture
style GUIStyle
return bool

Toggle() public static method

public static Toggle ( bool value, string text ) : bool
value bool
text string
return bool

Toggle() public static method

public static Toggle ( bool value, string text, GUIStyle style ) : bool
value bool
text string
style GUIStyle
return bool

Window() public static method

public static Window ( int id, Rect screenRect, WindowFunction func, GUIContent content ) : Rect
id int
screenRect Rect
func WindowFunction
content GUIContent
return Rect

Window() public static method

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

Window() public static method

public static Window ( int id, Rect screenRect, WindowFunction func, Texture image ) : Rect
id int
screenRect Rect
func WindowFunction
image Texture
return Rect

Window() public static method

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

Window() public static method

public static Window ( int id, Rect screenRect, WindowFunction func, string text ) : Rect
id int
screenRect Rect
func WindowFunction
text string
return Rect

Window() public static method

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