Table of Contents

Class ColorFunctionPropertyDrawer

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

Clas for drawing a ColorFunction in the inspector.

[CustomPropertyDrawer(typeof(ColorFunction))]
public class ColorFunctionPropertyDrawer : PropertyDrawer
Inheritance
GUIDrawer
ColorFunctionPropertyDrawer
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 property, GUIContent label)

Parameters

position Rect

Rectangle on the screen to use for the property GUI.

property SerializedProperty

The SerializedProperty to make the custom GUI for.

label GUIContent

The label of this property.

See Also