struct GUIGameObjectFieldContent

Structure describing contents of a GUIGameObjectField element.

Public

Constructors

GUIGameObjectFieldContent

GUIGameObjectFieldContent() = default

GUIGameObjectFieldContent

GUIGameObjectFieldContent(const String &typeNamespace, const String &type, const GUIContent &labelContent = GUIContent(), u32 labelWidth = 0, bool showLabel = false)

Fields

TypeNamespace

String TypeNamespace

Namespace of the type this field accepts.

Type

String Type

Type name of the type this field accepts.

Must derive from GameObject.

ShowLabel

bool ShowLabel

If true, label will be shown next to the field.

LabelContent

GUIContent LabelContent

Content to display in the editor field label.

Only relevant if ShowLabel is true.

LabelWidth

u32 LabelWidth

Width of the label in pixels.

Only relevant if ShowLabel is true.