Documentation

Unity Engine

Download Unity

Unity Engine

GraphToolbarElementAttribute(string, Type, int)

Creates a new GraphToolbarElement attribute.
Read time 1 minuteLast updated a month ago

Definition

public GraphToolbarElementAttribute(string id, Type graphType, int order = 1000)

Parameters

The unique identifier for this toolbar element.

graphType

The graph type this element should appear for. Must inherit from Graph or StateMachine.

order

The display order (default 1000). Lower values appear first.