I just wonder what could be the best approch to create a behavior tree editor. Currently I simply hard coded the tree structure, but it becomes harder and harder to modify. Furthermore, it is so difficult to debug. I wish there could be a easier way to visualize the tree and possibly dynamically view each entity's AI flow.
Any suggestions would be appreciated!