Uploaded December 2024 | Updated September 2026, 2 weeks ago
Learn how to create Enemy AI in Unity 6 using the new Behavior Graph package! In this step-by-step tutorial series, I'll show you how to implement a complete enemy behavior system.
In Part 1 we will cover:
- Setting up Behavior Graph
- Creating your first Chase-Attack-Idle AI Graph
- How to debug your graph
----------------
Download the Starter Project at:
patreon.com/posts/117604296
Resources:
Behavior Graph doc: docs.unity3d.com/Packages/com.unity.behavior@1.0/manual/behavior-graph.html
FSM article: gameprogrammingpatterns.com/state.html
---------------
Learn more about C# & Game Dev in Unity in my video courses at:
courses.sunnyvalleystudio.com
Join the discord:
discord.gg/RQEtYHz
You can support me through Patreon:
patreon.com/sunnyvalleystudio
Assets used:
kaylousberg.itch.io
---------------
00:00 Behavior Graph package
00:40 Starter Project
01:46 First Graph - Chase logic
04:08 Assigning Blackboard variables
05:15 Attack Animation
06:16 Sequence, Run in Parallel and other Flow nodes
07:19 Useful shortcut Alt + Shift + A
07:44 Node Status: Succeeded, Failed, Running
09:37 Debugging a graph
#unity3d #ai #gamdev
Learn how to create Enemy AI in Unity 6 using the new Behavior Graph package! In this step-by-step tutorial series, I'll show you how to implement a complete enemy behavior system.
In Part 1 we will cover:
- Setting up Behavior Graph
- Creating your first Chase-Attack-Idle AI Graph
- How to debug your graph
----------------
Download the Starter Project at:
patreon.com/posts/117604296
Resources:
Behavior Graph doc: docs.unity3d.com/Packages/com.unity.behavior@1.0/manual/behavior-graph.html
FSM article: gameprogrammingpatterns.com/state.html
---------------
Learn more about C# & Game Dev in Unity in my video courses at:
courses.sunnyvalleystudio.com
Join the discord:
discord.gg/RQEtYHz
You can support me through Patreon:
patreon.com/sunnyvalleystudio
Assets used:
kaylousberg.itch.io
---------------
00:00 Behavior Graph package
00:40 Starter Project
01:46 First Graph - Chase logic
04:08 Assigning Blackboard variables
05:15 Attack Animation
06:16 Sequence, Run in Parallel and other Flow nodes
07:19 Useful shortcut Alt + Shift + A
07:44 Node Status: Succeeded, Failed, Running
09:37 Debugging a graph
#unity3d #ai #gamdev










