Instantiate
Instantiate(NodeGraph, bool)
Description
Instantiate NodeGraph
Parameters
| Parameter Name | Description |
|---|---|
| sourceGraph | Source graph |
| usePool | Flag to instantiate using ObjectPool. |
Returns
Instantiated graph
Instantiate<GraphType>(GraphType, bool)
public static GraphType Instantiate<GraphType>(GraphType sourceGraph, bool usePool) ;
Description
Instantiate NodeGraph
Type Parameters
| Type Parameter Name | Description | Type Constraints |
|---|---|---|
| GraphType | Graph type |
Parameters
| Parameter Name | Description |
|---|---|
| sourceGraph | Source graph |
| usePool | Flag to instantiate using ObjectPool. |
Returns
Instantiated graph
Instantiate(NodeGraph, NodeBehaviour, bool)
public static NodeGraph Instantiate(NodeGraph sourceGraph, NodeBehaviour ownerBehaviour, bool usePool) ;
Description
Instantiate NodeGraph
Parameters
| Parameter Name | Description |
|---|---|
| sourceGraph | Source graph |
| ownerBehaviour | NodeBehaviour with chart ownership |
| usePool | Flag to instantiate using ObjectPool. |
Returns
Instantiated graph
Instantiate<GraphType>(GraphType, NodeBehaviour, bool)
public static GraphType Instantiate<GraphType>(GraphType sourceGraph, NodeBehaviour ownerBehaviour, bool usePool) ;
Description
Instantiate NodeGraph
Type Parameters
| Type Parameter Name | Description | Type Constraints |
|---|---|---|
| GraphType | Graph type |
Parameters
| Parameter Name | Description |
|---|---|
| sourceGraph | Source graph |
| ownerBehaviour | NodeBehaviour with chart ownership |
| usePool | Flag to instantiate using ObjectPool. |
Returns
Instantiated graph