Table of Contents

Class GraphPropertyDrawer<TNode, TGraph, TNodeAttribute, TWindow>

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

Property drawer for Graphs.

public class GraphPropertyDrawer<TNode, TGraph, TNodeAttribute, TWindow> : PropertyDrawer where TNode : BaseNode where TGraph : Graph<TNode> where TWindow : GraphWindow<TNode>

Type Parameters

TNode
TGraph
TNodeAttribute
TWindow

The type of the window to open when the edit button is clicked.

Inheritance
GUIDrawer
GraphPropertyDrawer<TNode, TGraph, TNodeAttribute, TWindow>
Derived
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.

ShowEditor(Object)