Rescources or tutorial on building a custom node/graph editor?

I want to build a behavior tree editor inside unity which I can convert to an xml file. Are there any good tutorials you can recommend?

It isn’t saving into XML, but shows the basics how to use the API itself while building a very simple dialogue editor. But I think you can then figure out how to do the serialization into file.

https://www.youtube.com/watch?v=7KHGH0fPL84

1 Like

I did find that video but within the first few minutes I couldn’t follow it because the api he was using wasn’t showing up for me.

https://docs.unity3d.com/2020.3/Documentation/ScriptReference/Experimental.GraphView.GraphView.html

You need UIToolkit and some recent editor. I can’t test it for you right now, but I guess if you install 2020.3 + UI Toolkit, it will work, I guess.

1 Like

I do have UI toolkit, but at 4:12 of the video he does “this.AddManipulator”, it does not show up for me.

Lol nevemind, I was not using namespace UIElements. Thanks!