Publisher | 34IB Studio |
---|---|
File size | 819.08kB |
Number of files | 6 |
Latest version | 1 |
Latest release date | 2024-07-29 01:20:13 |
First release date | 2024-07-15 06:18:15 |
Supported Unity versions | 2018.4.2 or higher |
The SensingComponent script is a versatile Unity component designed to enhance AI perception by providing vision and hearing capabilities. With customizable vision radius, length, and segments, the script detects objects within a defined vision cone and triggers the OnGameObjectSeen event. Additionally, it supports auditory detection, allowing game objects to react to noise events reported by other objects through the OnNoiseHeard event. The component includes debugging features to visualize the vision cone in the Unity Editor, ensuring accurate setup and functionality. Ideal for creating immersive AI behaviors, this script is essential for developers looking to implement advanced perception systems in their games.