Unity AI Tutorial: Hearing & vision sensors
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/DevToolkit_FPS_VisionAndHearing