MENU

Fun & Interesting

Drag and Drop ENEMY AI With Scriptable Objects in Unity

BMo 17,304 3 years ago
Video Not Working? Fix It Now

Learn how to setup Enemy Brains or AI Behavior using Scriptable Objects allowing you to easily drag and drop new ai behavior through the Unity inspector. Scriptable Objects are a powerful tool in structuring your code cleanly, and here is no exception. With this approach you can setup a complex enemy a.i. behavior tree while all of the behavior logic is separated into individual scriptable objects. This follows the delegate pattern, which enables separation of concerns amongst your scripts which is an important practice in producing clean, maintainable code that will see your project through to the end. Also its fun to play around with enemy "brains". ✨Want to support the channel? Buy me a coffee ☕: https://ko-fi.com/bmoli SUBSCRIBE or else I'll play around with your brain ➤Scriptable Object talk by Richard Fine: https://www.youtube.com/watch?v=6vmRwLYWNRo&t=904s ➤LIKE the video if you enjoyed, it really helps the channel! ➤Join our DISCORD SERVER: https://discord.gg/g9j8yrHTED We have channels to help you with your problems! Thanks for watching! #bmo #unity #tutorial

Comment