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
positionRectThe position in the editor window where the property should be drawn.
propertySerializedPropertyThe serialized property being drawn.
labelGUIContentThe label for the property.