Custom Nodes
Creating a custom node for Logic is as easy as creating a new C# file.
Simply right click in the project view and select: Create / Databrain / Logic / New Node
Name the node
Done
You can of course also just create a new class file and derive from NodeData
Overridable methods
ExecuteNode
Gets called upon node execution. Usually this is where you want to add your code.
InitNode
Gets called upon graph initialization at runtime
CustomGUI
Override this method to return a custom UI for your node.
EditorInitialize
Gets called on node editor start-up.
SelectNode
Gets called when node gets selected.
DeselectNode
Gets called when node gets deselected.
Node Attributes
All node properties such as title, color, icon or outputs are defined with class attributes. Please read following documentation for a list of all available node attributes.
Last updated