Reply To: Child nodes in my custom system

NodeCanvas Forums General Discussion Child nodes in my custom system Reply To: Child nodes in my custom system

#9037
Gavalakis
Keymaster

You are welcome 🙂

No, currently there exit no auto position sorting for the nodes, since well, it’s primary designed to create trees from the editor window 🙂

If you want to position your nodes, or even create your own sorting method, use the nodeRect property of the node which is available only in editor (#if UNITY_EDITOR) and adjust it’s center (node.nodeRect.center) which is a Vector2. Top left of the canvas is 0,0.

Let me know if you have any questions.
Cheers!

Join us on Discord: https://discord.gg/97q2Rjh