C# Class GUIStyleExtensions, UnityGUIExtensions

ファイルを表示 Open project: MrJoy/UnityGUIExtensions Class Usage Examples

Public Methods

Method Description
BaseTextColor ( this style, Color c ) : GUIStyle
Border ( this style, int left, int right, int top, int bottom ) : GUIStyle
ClipText ( this style ) : GUIStyle
Margin ( this style, int left, int right, int top, int bottom ) : GUIStyle
Named ( this style, string name ) : GUIStyle
NoBackgroundImages ( this style ) : GUIStyle
Padding ( this style, int left, int right, int top, int bottom ) : GUIStyle
ResetBoxModel ( this style ) : GUIStyle
Size ( this style, int width, int height, bool stretchWidth, bool stretchHeight ) : GUIStyle

Method Details

BaseTextColor() public static method

public static BaseTextColor ( this style, Color c ) : GUIStyle
style this
c Color
return GUIStyle

Border() public static method

public static Border ( this style, int left, int right, int top, int bottom ) : GUIStyle
style this
left int
right int
top int
bottom int
return GUIStyle

ClipText() public static method

public static ClipText ( this style ) : GUIStyle
style this
return GUIStyle

Margin() public static method

public static Margin ( this style, int left, int right, int top, int bottom ) : GUIStyle
style this
left int
right int
top int
bottom int
return GUIStyle

Named() public static method

public static Named ( this style, string name ) : GUIStyle
style this
name string
return GUIStyle

NoBackgroundImages() public static method

public static NoBackgroundImages ( this style ) : GUIStyle
style this
return GUIStyle

Padding() public static method

public static Padding ( this style, int left, int right, int top, int bottom ) : GUIStyle
style this
left int
right int
top int
bottom int
return GUIStyle

ResetBoxModel() public static method

public static ResetBoxModel ( this style ) : GUIStyle
style this
return GUIStyle

Size() public static method

public static Size ( this style, int width, int height, bool stretchWidth, bool stretchHeight ) : GUIStyle
style this
width int
height int
stretchWidth bool
stretchHeight bool
return GUIStyle