Reply To: Child nodes in my custom system

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

#14748
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!