C# Class UnityContrib.UnityEngine.GUILayoutEx

Provides helper methods for working with the T:UnityEngine.GUILayout class.
ファイルを表示 Open project: UnityContrib/framework

Public Methods

Method Description
Horizontal ( Action action ) : void

All controls rendered inside this method will be placed horizontically below each other.

Horizontal ( Action action, GUIContent content, GUIStyle style ) : void

All controls rendered inside this method will be placed horizontically below each other.

Horizontal ( Action action, GUIStyle style ) : void

All controls rendered inside this method will be placed horizontically below each other.

Horizontal ( Action action, Texture2D image, GUIStyle style ) : void

All controls rendered inside this method will be placed horizontically below each other.

Horizontal ( Action action, string text, GUIStyle style ) : void

All controls rendered inside this method will be placed horizontically below each other.

Vertical ( System.Action action ) : void

All controls rendered inside this method will be placed vertically below each other.

Vertical ( System.Action action, GUIContent content, GUIStyle style ) : void

All controls rendered inside this method will be placed vertically below each other.

Vertical ( System.Action action, GUIStyle style ) : void

All controls rendered inside this method will be placed vertically below each other.

Vertical ( System.Action action, Texture2D image, GUIStyle style ) : void

All controls rendered inside this method will be placed vertically below each other.

Vertical ( System.Action action, string text, GUIStyle style ) : void

All controls rendered inside this method will be placed vertically below each other.

Method Details

Horizontal() public static method

All controls rendered inside this method will be placed horizontically below each other.
public static Horizontal ( Action action ) : void
action Action /// The callback that renders the controls. ///
return void

Horizontal() public static method

All controls rendered inside this method will be placed horizontically below each other.
public static Horizontal ( Action action, GUIContent content, GUIStyle style ) : void
action Action /// The callback that renders the controls. ///
content GUIContent /// The text, image, and tooltip for this group. ///
style GUIStyle /// The style to use for background image and padding values. If left out, the background is transparent. ///
return void

Horizontal() public static method

All controls rendered inside this method will be placed horizontically below each other.
public static Horizontal ( Action action, GUIStyle style ) : void
action Action /// The callback that renders the controls. ///
style GUIStyle /// The style to use for background image and padding values. If left out, the background is transparent. ///
return void

Horizontal() public static method

All controls rendered inside this method will be placed horizontically below each other.
public static Horizontal ( Action action, Texture2D image, GUIStyle style ) : void
action Action /// The callback that renders the controls. ///
image Texture2D /// The texture to display on group. ///
style GUIStyle /// The style to use for background image and padding values. If left out, the background is transparent. ///
return void

Horizontal() public static method

All controls rendered inside this method will be placed horizontically below each other.
public static Horizontal ( Action action, string text, GUIStyle style ) : void
action Action /// The callback that renders the controls. ///
text string /// The text to display on group. ///
style GUIStyle /// The style to use for background image and padding values. If left out, the background is transparent. ///
return void

Vertical() public static method

All controls rendered inside this method will be placed vertically below each other.
public static Vertical ( System.Action action ) : void
action System.Action /// The callback that renders the controls. ///
return void

Vertical() public static method

All controls rendered inside this method will be placed vertically below each other.
public static Vertical ( System.Action action, GUIContent content, GUIStyle style ) : void
action System.Action /// The callback that renders the controls. ///
content UnityEngine.GUIContent /// The text, image, and tooltip for this group. ///
style UnityEngine.GUIStyle /// The style to use for background image and padding values. If left out, the background is transparent. ///
return void

Vertical() public static method

All controls rendered inside this method will be placed vertically below each other.
public static Vertical ( System.Action action, GUIStyle style ) : void
action System.Action /// The callback that renders the controls. ///
style UnityEngine.GUIStyle /// The style to use for background image and padding values. If left out, the background is transparent. ///
return void

Vertical() public static method

All controls rendered inside this method will be placed vertically below each other.
public static Vertical ( System.Action action, Texture2D image, GUIStyle style ) : void
action System.Action /// The callback that renders the controls. ///
image UnityEngine.Texture2D /// The texture to display on group. ///
style UnityEngine.GUIStyle /// The style to use for background image and padding values. If left out, the background is transparent. ///
return void

Vertical() public static method

All controls rendered inside this method will be placed vertically below each other.
public static Vertical ( System.Action action, string text, GUIStyle style ) : void
action System.Action /// The callback that renders the controls. ///
text string /// The text to display on group. ///
style UnityEngine.GUIStyle /// The style to use for background image and padding values. If left out, the background is transparent. ///
return void