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
RectThe position in the editor window where the property should be drawn.
property
SerializedPropertyThe serialized property being drawn.
label
GUIContentThe label for the property.