Constructor NodeCategoryAttribute
NodeCategoryAttribute(Type)
Initializes the attribute using a linked type.
Declaration
public NodeCategoryAttribute(Type deferredType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | deferredType | Linked type to initialize using, must have NodeCategoryAttribute. |
NodeCategoryAttribute(string, string, NodeTick, LifeCycle, float, NodeMode, bool)
Initializes a Node to be created in the graph.
Declaration
public NodeCategoryAttribute(string category, string name, NodeTick nodeTick = NodeTick.Synchronous, LifeCycle lifeCycleMask = (LifeCycle)0, float frequencyHint = 0, NodeMode mode = NodeMode.Standard, bool expandable = false)
Parameters
| Type | Name | Description |
|---|---|---|
| string | category | Node category |
| string | name | Node name |
| NodeTick | nodeTick | Node scheduling behaviour. |
| LifeCycle | lifeCycleMask | Node unity event handling description. |
| float | frequencyHint | Default node frequency. |
| NodeMode | mode | Node functionality |
| bool | expandable | Whether the node is expandable. |