Seneral / Node_Editor_Framework

A flexible and modular Node Editor Framework for creating node based displays and editors in Unity
https://nodeeditor.seneral.dev
MIT License
2k stars 415 forks source link

How to get the canvas to run at Runtime? #177

Closed oxi-dev0 closed 5 years ago

oxi-dev0 commented 5 years ago

I cannot find how to run the canvas at Runtime, I am making a Behaviour Tree type thing. I need it to run my nodes at runtime. Any help would be apprieciated, Thanks, X0FloH

Seneral commented 5 years ago

Sorry for the late reply. Usually this works by implementing a canvas traversal algorithm for your behaviours. A behaviour-tree type traversal isn't included by default, but it should be no big deal. You might also want to check out the property 'AllowRecursion' on you behaviour nodes, but your traversal algorithm needs to handle this. Check out the default traversal implementation for reference.