Unity AI Tutorial: Hearing & vision sensors

Опубликовано: 17 Июль 2026
на канале: Iain McManus
9,206
243

In a lot of games we need our AI characters to be able to react to things they see or hear. In this tutorial I'll walk through building a general sensor system that efficiently handles vision and hearing and combines the data into a general sense of awareness. It provides hooks to allow our character to react to seeing something, hearing something or it disappearing. And can easily be customised for different behaviours.

Find the code here: https://github.com/GameDevEducation/D...

📁 The searchable video archive is at ➠ https://www.iainmcmanus.dev/gamedev-e...

If you've got questions add a comment below or send them in for the next Q&A video
🤔 Send in your questions ➠ https://forms.gle/ToyvqPaBFvpFLtNbA

Looking for other ways to get involved?
🟠 Support the channel on Patreon ➠   / iaintheindie  
🟡 Get the code for all the projects on GitHub ➠ https://github.com/orgs/GameDevEducation
🟢 Check out my games on itch.io ➠ http://iaintheindie.itch.io/
🟣 Follow me on Twitter ➠   / iaintheindie  

#Unity #Tutorial #GameDev