Table of Contents

Class InspectorFlagsPropertyDrawer

Namespace
Gamelogic.Extensions.Editor
Assembly
Assembly-CSharp-Editor.dll

A property drawer for fields marked with the InspectorFlags Attribute.

[Version(1, 4, 3)]
[CustomPropertyDrawer(typeof(InspectorFlagsAttribute))]
public class InspectorFlagsPropertyDrawer : PropertyDrawer
Inheritance
GUIDrawer
InspectorFlagsPropertyDrawer
Inherited Members
PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
PropertyDrawer.attribute
PropertyDrawer.fieldInfo
Extension Methods

Methods

OnGUI(Rect, SerializedProperty, GUIContent)

Override this method to make your own IMGUI based GUI for the property.

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

Parameters

position Rect

Rectangle on the screen to use for the property GUI.

prop SerializedProperty
label GUIContent

The label of this property.