C# Класс UnityContrib.UnityEngine.GUILayoutEx

Provides helper methods for working with the T:UnityEngine.GUILayout class.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Horizontal() публичный статический Метод

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. ///
Результат void

Horizontal() публичный статический Метод

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. ///
Результат void

Horizontal() публичный статический Метод

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. ///
Результат void

Horizontal() публичный статический Метод

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. ///
Результат void

Horizontal() публичный статический Метод

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. ///
Результат void

Vertical() публичный статический Метод

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. ///
Результат void

Vertical() публичный статический Метод

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. ///
Результат void

Vertical() публичный статический Метод

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. ///
Результат void

Vertical() публичный статический Метод

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. ///
Результат void

Vertical() публичный статический Метод

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. ///
Результат void