Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Templates
Systems
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/3
Customizable AI (wander/chase/teleport), jumpscare triggers, and immersive hiding mechanics. Cinematic camera swaps & crosshair feedback. Turn your horror vision into a player’s nightmare!
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.19f1
Compatible
Compatible
Compatible
Description

Fully customizable horror AI: tweak detection, footstep sounds, jumpscares, and teleport logic. Seamlessly integrate hiding mechanics, scene transitions, and crosshair feedback. 


Supported Render Pipelines:

✅ Standard/Built-In

✅Universal

✅High-Definition



For a list of features, see Technical Details

Technical details

🕹️ AI Controller

  • 👁️ Sight Detection: Uses viewAngle and viewDistance to detect players within a cone of vision.
  • 👂 Sound Detection: Detects audio sources via hearingRange and volumeThreshold.
  • 🚶 Wandering: Moves randomly within wanderRadius at wanderInterval intervals.
  • 🌀 Teleportation: Randomly spawns near player (spawnNearPlayerDistanceRange) or behind them (CloseSpawnNearPlayerDistanceRange).
  • 🎵 Dynamic Music: Plays actionMusic during chases and BehindSpawn on teleport.
  • 👣 Footstep System: Plays surface-specific sounds via footstepSounds list and raycast detection.
  • 💀 Jumpscare: Triggers ThingsThatShouldBeTurnOn/Off and loads PreviousScene on player contact.

🚪 Hiding Mechanics

  • 🎥 Camera Switching: Swaps between mainCamera and childCamera with smooth animations.
  • 🖱️ Cabinet Interaction: Uses HidingRaycast to detect cabinets within interactionDistance (layer: LayerMaskInteract).
  • 📦 Cabinet Animations: CabinetAnimator plays "Cabinet" (open) and "CabinetClose" (exit) via Cabinet.cs.
  • 🔴 Crosshair Feedback: Changes color (red/white) via CrosshairChange() during interactions.

🔄 Scene Management

  • Delayed Transition: Waits for JumpScareAnimation.length before loading sceneId.
  • 🖥️ Loading Screen: Displays progress via LoadingBarFill during async scene load.

⚙️ Customization

  • 🛠️ AI Parameters: Adjust detection ranges, teleport chances (CloseTeleportChance), and cooldowns.
  • 🔊 Audio Layers: Link sounds to surfaces (e.g., "tag" in FootstepSound class).
  • 🎭 Animation Control: Define cabinet/camera animations in HideCamera.cs and Cabinet.cs.
  • ⏱️ Interaction Cooldown: interactionCooldown prevents spamming cabinet interactions.

🎮 Player Controller System

  • Energy System: Manage stamina or other resources during gameplay.
  • 👣 Footstep System: Adds immersive footstep sounds based on player movement and surface type.
  • 🔻 Crouch System: Customizable crouching options, with support for both “hold to crouch” and “press to crouch.”
  • 🖱️ Mouse Look System: Advanced mouse look controls with head bobbing for first-person perspective.

🔧 Technical Notes

  • NavMesh Required: AI uses NavMeshAgent for pathfinding.
  • Player Tag: Ensure player is tagged as "Capsule" for detection.
  • Layer Masks: Assign audioLayer and LayerMaskInteract for sound/interaction systems.

🚀 Optimized Workflow

  • 🧩 Prefab-Ready: Scripts are modular for drag-and-drop setup.
  • 📊 Inspector Tools: Variables include [Tooltip] and [Header] for clarity.

Smart Horror AI

(not enough ratings)
5 users have favourite this asset
(5)
$15
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
17.7 MB
Latest version
1.0
Latest release date
Feb 25, 2025
Original Unity version
2021.3.19
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR