C# Class UnityEngine.GUILayout.AreaScope

Disposable helper class for managing BeginArea / EndArea.

Inheritance: UnityEngine.GUI.Scope
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
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.

Protected Methods

Method Description
CloseScope ( ) : void

Method Details

AreaScope() public method

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect ) : System
screenRect Rect
return System

AreaScope() public method

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.
return System

AreaScope() public method

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.
return System

AreaScope() public method

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.
return System

AreaScope() public method

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.
return System

AreaScope() public method

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.
return System

AreaScope() public method

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.
return System

CloseScope() protected method

protected CloseScope ( ) : void
return void