CreateNodeBehaviour

CreateNodeBehaviour(Node, Type, bool)

public static NodeBehaviour CreateNodeBehaviour(Node node, Type type, bool duplicate) ;

Description

For Editor.

Parameters

Parameter Name Description
node Node
type Type
duplicate Whether duplicated

Returns

Returns the created NodeBehaviour.

CreateNodeBehaviour<Type>(Node, bool)

public static Type CreateNodeBehaviour<Type>(Node node, bool duplicate) ;

Description

For Editor.

Type Parameters

Type Parameter Name Description Type Constraints
Type Type

Parameters

Parameter Name Description
node Node
duplicate Whether duplicated

Returns

Returns the created NodeBehaviour.