Class NodeDescriptionAttribute
The NodeDescriptionAttribute contains metadata for nodes used in Muse Behavior graphs.
Inherited Members
Namespace: Unity.Muse.Behavior
Assembly: Unity.Muse.Behavior.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class NodeDescriptionAttribute : Attribute
Constructors
NodeDescriptionAttribute(string, string, string, string, string, string, Type, string)
Initializes an instance of the NodeDescriptionAttribute class with the provided metadata.
Declaration
public NodeDescriptionAttribute(string name = "", string description = "", string story = "", string icon = "", string category = "", string id = "", Type modelType = null, 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. |
| Type | modelType | The authoring model type containing the serialized node data. |
| string | filePath | The path to the script file containing this attribute. |