GraphToolbarElementAttribute(string, Type, int)
Creates a new GraphToolbarElement attribute.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Constructor
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public GraphToolbarElementAttribute(string id, Type graphType, int order = 1000)
Parameters
The unique identifier for this toolbar element.
The graph type this element should appear for. Must inherit from Graph or StateMachine.
The display order (default 1000). Lower values appear first.