Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GroupScope

Create a new GroupScope and begin the corresponding group.
Read time 2 minutesLast updated 6 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule

GroupScope(Rect)

Create a new GroupScope and begin the corresponding group.
public GroupScope(Rect position)

Parameters

position

Rectangle on the screen to use for the group.

GroupScope(Rect, string)

Create a new GroupScope and begin the corresponding group.
public GroupScope(Rect position, string text)

Parameters

position

Rectangle on the screen to use for the group.

text

Text to display on the group.

GroupScope(Rect, Texture)

Create a new GroupScope and begin the corresponding group.
public GroupScope(Rect position, Texture image)

Parameters

position

Rectangle on the screen to use for the group.

image

Texture to display on the group.

GroupScope(Rect, GUIContent)

Create a new GroupScope and begin the corresponding group.
public GroupScope(Rect position, GUIContent content)

Parameters

position

Rectangle on the screen to use for the group.

content

Text, image and tooltip for this group. If supplied, any mouse clicks are "captured" by the group and not If left out, no background is rendered, and mouse clicks are passed.

GroupScope(Rect, GUIStyle)

Create a new GroupScope and begin the corresponding group.
public GroupScope(Rect position, GUIStyle style)

Parameters

position

Rectangle on the screen to use for the group.

The style to use for the background.

GroupScope(Rect, string, GUIStyle)

Create a new GroupScope and begin the corresponding group.
public GroupScope(Rect position, string text, GUIStyle style)

Parameters

position

Rectangle on the screen to use for the group.

text

Text to display on the group.

The style to use for the background.

GroupScope(Rect, Texture, GUIStyle)

Create a new GroupScope and begin the corresponding group.
public GroupScope(Rect position, Texture image, GUIStyle style)

Parameters

position

Rectangle on the screen to use for the group.

image

Texture to display on the group.

The style to use for the background.