Table of Contents

Class ShapeGraphPropertyDrawer

Namespace
Gamelogic.Grids2.Graph.Editor
Assembly
Gamelogic.Grids2.Editor.dll

Class for drawing a GridShapeGraph field in the editor.

[CustomPropertyDrawer(typeof(GridShapeGraph))]
public class ShapeGraphPropertyDrawer : PropertyDrawer
Inheritance
GUIDrawer
ShapeGraphPropertyDrawer
Inherited Members
PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
PropertyDrawer.attribute
PropertyDrawer.fieldInfo

Methods

GetPropertyHeight(SerializedProperty, GUIContent)

Override this method to specify how tall the GUI for this field is in pixels.

OnGUI(Rect, SerializedProperty, GUIContent)

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