ドキュメント

Unity Engine

Unity Engine

GraphToolbarElementAttribute

Attribute used to bind a toolbar element to a specific Graph type.
読み終わるまでの所要時間 3 分最終更新 1ヶ月前

Definition

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]public sealed class GraphToolbarElementAttribute : Attribute

Remarks

Apply this attribute to toolbar element classes to make them appear in the toolbar when editing the specified graph type. The element will also appear for types derived from the specified graph type.

Constructors

Constructor

Description

GraphToolbarElementAttribute(System.String,System.Type,System.Int32)Creates a new GraphToolbarElement attribute.

Properties

Property

Description

GraphTypeThe graph type this toolbar element is associated with.
IdThe unique identifier for this toolbar element.
OrderThe display order of this toolbar element. Lower values appear first.

Inheritance

Inherited Members