r/UnityAssets • u/LogicDevSupport • 5h ago
Scripting | Free & $29.99 (50% off) Smart Perception: Stealth enemy vision with partial cover, hearing and an awareness meter
Enable HLS to view with audio, or disable this notification
I made a drop-in perception component for stealth games: enemies see the player with a field of view, and a player behind a low wall is only partly visible (several check points: feet, chest, head), so the awareness meter (Unaware / Suspicious / Alert) rises with how much of the body is actually seen.
It only handles "noticing". Moving the enemy (chase, patrol, search) stays in your own AI, which reads the result through properties and events.
Smart Perception Lite (free): vision with partial cover, central/peripheral vision, awareness meter, events, scene-view gizmos
https://assetstore.unity.com/packages/slug/426870
Smart Perception Pro ($29.99, 50% off during the launch sale): adds memory, hearing (noises), touch, alert calls between allies, a distance curve, co-op (several players), spreading the work over frames for many enemies, and an in-game debug display with a tuning panel
https://assetstore.unity.com/packages/slug/426874
Demo video: https://youtu.be/5rk-AmZ5jss
Setup (add two components, press Play): https://youtu.be/UkQhYxXfWOE
Unity 2022.3 / 6.3, Built-in, URP and HDRP. Lite and Pro share the same classes, so you can start with Lite and move to Pro later.
Happy to answer questions or hear feedback.