Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NodeAttribute

Attribute used to specify metadata for a Node class, such as its icon.
Read time 3 minutesLast updated 6 days ago

Definition

[AttributeUsage(AttributeTargets.Class)]public sealed class NodeAttribute : Attribute

Remarks

Apply this attribute to a class derived from Node to define metadata like NodeAttribute.IconPath.

Constructors

Constructor

Description

NodeAttribute(System.String)Initializes a new instance of the NodeAttribute class.
NodeAttribute(System.String,System.String)Initializes a new instance of the NodeAttribute class.
NodeAttribute(System.String,System.String,System.String)Initializes a new instance of the NodeAttribute class.

Properties

Property

Description

CategoryPathThe category path of this node in the graph item library.
IconPathThe file path to the node's icon.
TitleThe title of this node in the graph item library.

Inheritance

Inherited Members