AreaScope
Create a new AreaScope and begin the corresponding Area.
Read time 2 minutesLast updated 12 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
AreaScope(Rect)
Create a new AreaScope and begin the corresponding Area.
public AreaScope(Rect screenRect)
Parameters
AreaScope(Rect, string)
Create a new AreaScope and begin the corresponding Area.
public AreaScope(Rect screenRect, string text)
Parameters
AreaScope(Rect, Texture)
Create a new AreaScope and begin the corresponding Area.
public AreaScope(Rect screenRect, Texture image)
Parameters
AreaScope(Rect, GUIContent)
Create a new AreaScope and begin the corresponding Area.
public AreaScope(Rect screenRect, GUIContent content)
Parameters
AreaScope(Rect, string, GUIStyle)
Create a new AreaScope and begin the corresponding Area.
public AreaScope(Rect screenRect, string text, GUIStyle style)
Parameters
Optional text to display in the area.
The style to use. If left out, the empty GUIStyle (GUIStyle.none) is used, giving a transparent background.
AreaScope(Rect, Texture, GUIStyle)
Create a new AreaScope and begin the corresponding Area.
public AreaScope(Rect screenRect, Texture image, GUIStyle style)
Parameters
Optional texture to display in the area.
The style to use. If left out, the empty GUIStyle (GUIStyle.none) is used, giving a transparent background.
AreaScope(Rect, GUIContent, GUIStyle)
Create a new AreaScope and begin the corresponding Area.
public AreaScope(Rect screenRect, GUIContent content, GUIStyle style)
Parameters
Optional text, image and tooltip top display for this area.
The style to use. If left out, the empty GUIStyle (GUIStyle.none) is used, giving a transparent background.