FranceMinaPecheux/UnityTutorials-BehaviourTrees
The code for a short tutorial on how to create a simple guard AI using behaviour trees in Unity/C# (in text or video format)!
[Unity/C#] A simple behaviour tree
Mina Pêcheux - November 2021
How can we create a simple guard AI using the behaviour tree pattern? Let's discover more in this video/text tutorial: "How to create a simple behaviour tree in less than 30 minutes" :)
You can read it in text format on Medium, or watch it on Youtube.
![]()
In this less than 30 minutes-tutorial, I'm discussing what behaviour trees are, why they are often better at modelling complex systems than finite state machines and how we can apply this classic pattern to the design of a simple guard AI to have it patrol, target enemies and attack!
This Github repo contains the scripts that are coded in the tutorial, as well as all the resources (imported models, materials, particle systems...) that are used throughout this episode :)

Similar Projects
Discover other similar projects and AI models.
xLua is a lua programming solution for C# ( Unity, .Net, Mono) , it supports android, ios, windows, linux, osx, etc.
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
An agentic skills framework & software development methodology that works.
Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
AssetStudio is a tool for exploring, extracting and exporting assets and assetbundles.