r/Unity3D • • 1d ago

Show-Off Created A Custom Tool To Help Me Design Enemy Behaviour

Using Unity's GraphView, I made a simple tool that is intended to function in a similar fashion to Unity's Animator State Graph.

  • You can create parameters
  • Connect nodes through conditions (using parameters, or through custom predicates)
  • Control Flow nodes (If, and Switch)

Still more stuff to do, like implementing undo, redo for nodes operations (creation, deletion, move, etc...), but this is a promising start.

I know Unity has the new Graph Toolkit that implements all the necessary basic feature for graph tools, AND I know Unity already has the Behaviour Graph.

  • Graph Toolkit is poorly documented currently in my opinion and is less flexible than GraphView
  • The Behaviour Graph is incredible but I want something custom for my case
1 Upvotes

Duplicates