Table of Contents

Method OnGUI

Namespace
Gamelogic.Extensions.Editor
Assembly
Gamelogic.Extensions.Editor.dll

OnGUI(Rect, SerializedProperty, GUIContent)

Renders the property in the Unity Editor with a popup list if the values are available.

public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)

Parameters

position Rect

The position in the editor window where the property should be drawn.

property SerializedProperty

The serialized property being drawn.

label GUIContent

The label for the property.