Class CustomNode
Custom node attribute for custom nodes.
Namespace: UnityEngine.AssetGraph
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class CustomNode : Attribute, _Attribute
Constructors
CustomNode(String)
Declaration
public CustomNode(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name |
CustomNode(String, Int32)
Declaration
public CustomNode(string name, int orderPriority)
Parameters
Type | Name | Description |
---|---|---|
String | name | |
Int32 | orderPriority |
Fields
kDEFAULT_PRIORITY
Declaration
public static readonly int kDEFAULT_PRIORITY
Field Value
Type | Description |
---|---|
Int32 |
Properties
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String | The name. |
OrderPriority
Gets the order priority.
Declaration
public int OrderPriority { get; }
Property Value
Type | Description |
---|---|
Int32 | The order priority. |