Class NodeDescriptionAttribute
The NodeDescriptionAttribute contains metadata for nodes used in Behavior graphs.
Inherited Members
Namespace: Unity.Behavior
Assembly: Unity.Behavior.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class NodeDescriptionAttribute : Attribute
Constructors
NodeDescriptionAttribute(string, string, string, string, string, string, bool, string)
Initializes an instance of the Node
Declaration
public NodeDescriptionAttribute(string name = "", string description = "", string story = "", string icon = "", string category = "", string id = "", bool hideInSearch = false, string filePath = "")
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the node. |
string | description | The description of the node's function. |
string | story | The story summarizing what occurs when the node executes. |
string | icon | The path of the icon to be used when representing the node in the graph editor. |
string | category | The category path this node belongs to and will be shown on the search window. |
string | id | A unique ID used to identify this node. |
bool | hideInSearch | Controls if the node should be shown in the add node UI. |
string | filePath | The path to the script file containing this attribute. |