Enemy & NPC AI v1.0 - High-Performance AI Framework
Overview
Designed for extensibility and rapid development, it includes FSM-based behavior logic, perception systems, advanced combat, respawning, editor tooling, and customizable configurations via ScriptableObjects. It features multi-type attacks, hitbox-based damage, patrol, vision, and a modular FSM for intelligent enemy behavior. Perfect for both solo developers and professional teams.
Key features
FSM-based behavior logic enables dynamic transitions between states based on real-time data. Each state is modular and override-ready, enabling tailored behaviors for specific enemy types or scenarios.
Perception: realistic AI awareness with combined raycast-based vision and dynamic hearing logic. Field of View uses configurable radius and angle with raycasting. Hearing detects sounds such as footsteps, jumping, and attacks. The noise system lets player movement and actions emit sound for AI detection. StealthEvaluator automatically filters detection if the player is crouching, hidden, or behind obstacles. Real-time gizmo visualizations help tune detection areas in-scene.
Smart combat: tactical and responsive AI combat using an advanced hitbox-driven attack system. Melee and ranged attack logic with custom colliders or OverlapSphere. Configurable WeaponData for multiple attack types, ranges, and cooldowns. Animation-based attacks with hit reaction support. Damage routing via hitboxes, such as headshots or limb-specific damage. Real-time gizmos for attack range visualization. Seamless integration with Unity's Animator system.
Patrol and navigation: configurable PatrolPath with Loop, PingPong, and Random modes, wait times between points and smooth turning logic, automatic return to patrol state after disengaging from the player, and full Unity NavMeshAgent support with off-mesh link compatibility.
Behavior configuration: every behavior is driven by data, enabling rapid configuration and reuse. EnemyAIConfigSO defines speed, perception ranges, attack types, animation triggers, thresholds, and more. Behavior presets include Hostile, Passive, Friendly, Chase-only, Attack-only, and more.
Health, damage, and respawning: a centralized and modular health system. EnemyHealth manages hitpoints, invulnerability, respawn, and death triggers. Supports ragdoll or animated death states. Hitbox-specific damage routing for headshot, body, and limbs. Auto-respawn logic with timer-based delay. Optional UI integration for enemy health bars.
Editor tools and debugging: Quick Setup Wizards for Player and AI configuration, live FSM state tracking directly in the Inspector, in-scene gizmos for perception cones, hearing range, and attack radii, custom component inspectors with tooltips and error validation, FSM Graph view for visualizing behavior transitions (basic version), and automatic tagging, layer assignment, and reference setup.
Designed for extensibility: modular C# code with interfaces and UnityEvents. Easily extend state machine behaviors, perception logic, and combat. Plug in custom animations, VFX, SFX, and audio via UnityEvents. Support for additive scenes, multiplayer logic, and runtime pooling.
Included content
Perception system: raycast-based vision with configurable field of view, dynamic hearing, noise system, and StealthEvaluator.
Smart combat and hitbox system: melee and ranged attack logic, configurable WeaponData, animation-based attacks with hit reaction support, and hitbox-based damage routing.
Patrol and navigation logic: configurable PatrolPath with Loop, PingPong, and Random modes, wait times, smooth turning, and full Unity NavMeshAgent support with off-mesh link compatibility.
Behavior configuration with ScriptableObjects: EnemyAIConfigSO and behavior presets such as Hostile, Passive, Friendly, Chase-only, and Attack-only.
Health, damage, and respawning system: EnemyHealth with hitpoints, invulnerability, respawn and death triggers, ragdoll or animated death states, and auto-respawn logic with timer-based delay.
Editor tools and debugging: Quick Setup Wizards, live FSM state tracking in the Inspector, in-scene gizmos, custom component inspectors, and FSM Graph view (basic version).
Compatibility
This store sells supplied version 1.0; actual support is based on that version.
Compatible with all Unity versions and render pipelines.
Built-in render pipeline is supported out of the box. URP and HDRP require manual material upgrades.
Requirements
NavMesh Required: enemy movement relies on Unity's Navigation system.
RPG Animations Pack FREE by DoubleL (for enemy animations).
Recommended: Starter Assets – Third Person Controller (for character movement and camera).
Render pipeline compatibility
| Unity | Built-in | URP | HDRP |
|---|---|---|---|
| 6000.0.36f1 |
Technical specifications
- Original creator
- SuperHorizonstudios
- Current official version
- 1.0
- Supported engines
- 6000.0.36, 6000.0.36f1
- Render pipelines
- 6000.0.36f1 · Built-in / HDRP / URP
- Official file size
- 0.22 MB
- Official update date
- 2025-07-23
- Asset file count
- 34
- Package format
- unitypackage
- First official release
- 2025-07-23
Tags
Full description
Enemy & NPC AI is a fully modular, high-performance AI framework purpose-built to deliver intelligent, reactive enemy and NPC behaviors in Unity. Whether you're building a stealth-action game, open-world RPG, or third-person shooter, this system provides a complete foundation for AI behavior, combat, perception, and player interaction—without requiring custom AI code. Designed for extensibility and rapid development, it includes FSM-based behavior logic, perception systems, advanced combat, respawning, editor tooling, and customizable configurations via ScriptableObjects. Perfect for both solo developers and professional teams. Finite State Machine-Based Behavior System At the core is a robust FSM (Finite State Machine) architecture that enables dynamic transitions between states based on real-time data. Prebuilt, extensible states include: Patrol (Loop, PingPong, Random) Idle (wandering or animation-only) Alert & Search (investigate last known location) Chase (pathfinding + obstacle avoidance) Combat (melee or ranged) Flee (from player or threat) Follow (companions, guards, escorts) Dead (handles death and respawn)
Each state is modular and override-ready, enabling tailored behaviors for specific enemy types or scenarios. Perception System: Vision, Hearing, and Stealth Simulate realistic AI awareness with combined raycast-based vision and dynamic hearing logic: Field of View: Configurable radius and angle using raycasting Hearing: Detects sounds such as footsteps, jumping, and attacks Noise System: Player movement and actions emit sound for AI detection StealthEvaluator: Automatically filters detection if the player is crouching, hidden, or behind obstacles Real-time gizmo visualizations for tuning detection areas in-scene
Smart Combat & Hitbox System Deliver tactical and responsive AI combat using an advanced hitbox-driven attack system: Melee and ranged attack logic (custom colliders or OverlapSphere) Configurable WeaponData for multiple attack types, ranges, and cooldowns Animation-based attacks with hit reaction support Damage routing via hitboxes (e.g., headshots or limb-specific damage) Real-time gizmos for attack range visualization Seamless integration with Unity's Animator system
Patrol and Navigation Logic Built-in navigation features ensure believable movement and route planning: Configurable PatrolPath with Loop, PingPong, and Random modes Wait times between points and smooth turning logic Automatic return to patrol state after disengaging from the player Full Unity NavMeshAgent support with off-mesh link compatibility
Behavior Configuration with ScriptableObjects Every behavior is driven by data, enabling rapid configuration and reuse: EnemyAIConfigSO defines speed, perception ranges, attack types, animation triggers, thresholds, and more Supports behavior presets like Hostile, Passive, Friendly, Chase-only, Attack-only, etc. Future support for Faction system (team-based logic)
Health, Damage & Respawning A centralized and modular health system allows for advanced combat feedback: EnemyHealth manages hitpoints, invulnerability, respawn, and death triggers Supports ragdoll or animated death states Hitbox-specific damage routing (headshot, body, limbs) Auto-respawn logic with timer-based delay Optional UI integration for enemy health bars
Powerful Editor Tools & Debugging Streamline development with integrated tooling and live debugging features: Quick Setup Wizards for Player and AI configuration Live FSM state tracking directly in the Inspector In-scene gizmos for perception cones, hearing range, attack radii Custom component inspectors with tooltips and error validation FSM Graph view for visualizing behavior transitions (basic version) Automatic tagging, layer assignment, and reference setup
Designed for Extensibility Built by developers, for developers—every system is open and customizable: Modular C# code with interfaces and UnityEvents Easily extend state machine behaviors, perception logic, and combat Plug in custom animations, VFX, SFX, and audio via UnityEvents Support for additive scenes, multiplayer logic, and runtime pooling
Requirements & Dependencies Unity Versions: 2020 LTS and above (tested on Unity 2021.3+, Unity 6) Render Pipelines: Built-in supported out of the box. URP and HDRP require manual material upgrades. NavMesh Required: Enemy movement relies on Unity's Navigation system. RPG Animations Pack FREE by DoubleL (for enemy animations) Recommended: Starter Assets – Third Person Controller (for character movement and camera)
Compatible with all the unity versions and Render pipelines
Ratings and reviews
You can rate and review this item after purchase.
No buyer reviews yet.