Skip to content

Nodal Editor is a Unity Editor Scripting library that lets you create node based data structures easily.

License

Notifications You must be signed in to change notification settings

ankitpriyarup/Nodal-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodal-Editor

Nodal Editor is a Unity Editor Scripting library that lets you create node based data structures easily.

Implementation

  • Import latest Nodal-Editor Unity package from release section
  • First task is to create suitable notes for that you use NodalEditor namespace in Node class and then inherit it from BaseNode class.
  • Override methods from the parent class to implement custom behaviour
Methods Function
DrawWindow When node is rendering
ClickedOnRect When clicked on node
SetInput During interaction with
DrawCurves While making connections with other nodes
  • Next task is to setup the custom NodeEditor like before, again use NodalEditor namespace and inherit it from NodeEditor class.
Methods Function
OnGUI GUI refresh call
AddNodesItem Called to add custom nodes to the editor
ContextCallback Called to add context menu options (to create options for other nodes)
ContextCallback Callback for context method
OnDisable Called when the Node Editor is dismissed
Example included inside the project

About

Nodal Editor is a Unity Editor Scripting library that lets you create node based data structures easily.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages