C# Class UnityEngine.GUILayout.AreaScope

Disposable helper class for managing BeginArea / EndArea.

Inheritance: UnityEngine.GUI.Scope
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
CloseScope ( ) : void

Method Details

AreaScope() public méthode

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect ) : System
screenRect Rect
Résultat System

AreaScope() public méthode

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.
Résultat System

AreaScope() public méthode

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.
Résultat System

AreaScope() public méthode

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.
Résultat System

AreaScope() public méthode

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.
Résultat System

AreaScope() public méthode

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.
Résultat System

AreaScope() public méthode

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.
Résultat System

CloseScope() protected méthode

protected CloseScope ( ) : void
Résultat void