Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GraphToolbarElementAttribute

Attribute used to bind a toolbar element to a specific Graph type.
Read time 3 minutesLast updated 6 days ago

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