Class GraphPropertyDrawer<TNode, TGraph, TNodeAttribute, TWindow>
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
-
GUIDrawerGraphPropertyDrawer<TNode, TGraph, TNodeAttribute, TWindow>
- Derived
- Inherited Members
-
PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)PropertyDrawer.attributePropertyDrawer.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.