文档

Unity Engine

Unity Engine

GraphToolbarElementAttribute(string, Type, int)

Creates a new GraphToolbarElement attribute.
阅读时间1 分钟最后更新于 1 个月前

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.

order

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