C# Класс UnityEngine.GUILayout.AreaScope

Disposable helper class for managing BeginArea / EndArea.

Наследование: UnityEngine.GUI.Scope
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AreaScope ( Rect screenRect ) : System

Create a new AreaScope and begin the corresponding Area.

AreaScope ( Rect screenRect, GUIContent content ) : System

Create a new AreaScope and begin the corresponding Area.

AreaScope ( Rect screenRect, GUIContent content, GUIStyle style ) : System

Create a new AreaScope and begin the corresponding Area.

AreaScope ( Rect screenRect, Texture image ) : System

Create a new AreaScope and begin the corresponding Area.

AreaScope ( Rect screenRect, Texture image, GUIStyle style ) : System

Create a new AreaScope and begin the corresponding Area.

AreaScope ( Rect screenRect, string text ) : System

Create a new AreaScope and begin the corresponding Area.

AreaScope ( Rect screenRect, string text, GUIStyle style ) : System

Create a new AreaScope and begin the corresponding Area.

Защищенные методы

Метод Описание
CloseScope ( ) : void

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

AreaScope() публичный Метод

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect ) : System
screenRect Rect
Результат System

AreaScope() публичный Метод

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect, GUIContent content ) : System
screenRect Rect
content GUIContent Optional text, image and tooltip top display for this area.
Результат System

AreaScope() публичный Метод

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect, GUIContent content, GUIStyle style ) : System
screenRect Rect
content GUIContent Optional text, image and tooltip top display for this area.
style GUIStyle The style to use. If left out, the empty GUIStyle (GUIStyle.none) is used, giving a transparent background.
Результат System

AreaScope() публичный Метод

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect, Texture image ) : System
screenRect Rect
image Texture Optional texture to display in the area.
Результат System

AreaScope() публичный Метод

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect, Texture image, GUIStyle style ) : System
screenRect Rect
image Texture Optional texture to display in the area.
style GUIStyle The style to use. If left out, the empty GUIStyle (GUIStyle.none) is used, giving a transparent background.
Результат System

AreaScope() публичный Метод

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect, string text ) : System
screenRect Rect
text string Optional text to display in the area.
Результат System

AreaScope() публичный Метод

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect, string text, GUIStyle style ) : System
screenRect Rect
text string Optional text to display in the area.
style GUIStyle The style to use. If left out, the empty GUIStyle (GUIStyle.none) is used, giving a transparent background.
Результат System

CloseScope() защищенный Метод

protected CloseScope ( ) : void
Результат void