SetExternal

SetExternal(NodeBehaviour, bool)

public void SetExternal(NodeBehaviour ownerBehaviour, bool changeParent) ;

Description

Set this graph as an external graph.

Parameters

Parameter Name Description
ownerBehaviour NodeBehaviour with chart ownership. If null is specified, the external graph specification is canceled.
changeParent Flag to change the parent of Transform to owner object(Default false)

Remarks

Use NodeGraph.Instantiate(NodeGraph, NodeBehaviour, bool) or NodeGraph.Instantiate<GraphType>(GraphType, NodeBehaviour, bool) to instantiate as a child graph.