Unity-Enemy Vision – Patrol and Line of Sight U3636

Enemy Vision - Patrol and Line of Sight

Enemy Vision is a script collection to add vision cones, raycast detection, and enemy patrolling behaviors to your game.
Programmable Render Pipeline (SRP) compatibility
The Unity Programmable Render Pipeline (SRP) is a feature that allows you to control rendering through C# scripts. SRP is the underlying technology that supports the Universal Rendering Pipeline (URP) and the High Definition Rendering Pipeline (HDRP).
Unity version
Built-in rendering pipeline
Universal Rendering Pipeline (URP)
High Definition Rendering Pipeline (HDRP)
2019.4.26f1
compatible
Not compatible
Not compatible
describe
Lightweight code package perfect for your stealth games.

Content
-Enemy vision cone
-Vision cone adapts to obstacles
-Enemy Behaviors: Patrol, Alert, Chase
-Patrol: Will move following a set path
-Alert: Will become curious and walk to a suspicious location
-Chase: Will run toward the player
-Ground elevation, enemies can only see you when they are on higher ground.
-Optional two levels vision cone (near and far)
-Near vision range will detect the player immediately instead of being alerted.
-Noise Zones (when the player step on it, will alert nearby enemies).
-Noise sources that can be added to any objects and function call to emit noise.
-Simple to use and configure
-2D and 3D support
-Good performance and optimization settings

Demos
2D Demo
3D Demo

Enemy Vision is a simple and lightweight package for creating enemy behavior and their vision cone. It’s an excellent starting point if you are planning to implement enemy vision, line of sight (LOS) or enemy patrol. My goal is to keep this simple to use and easy to edit.

Made by Indie Marc
related keywords
LOS
line of sight
field of view
Vision
Detection
AI
Patrol
FOV
enemy
vision cone