Universal Door & Lock System
Modular Unity door & lock system with interaction, inventory, UI minigames, and physics-based opening.
by SomeTimesAtNight
Price History +
Universal Door & Lock System is a complete, modular solution for building interactive doors in Unity. It supports three door types—animated, physics‑grab, and push doors—plus four lock types: key, keypad, dial (safe), and lockpick. The system includes a player interaction raycast, inventory and pickups, UI prompts, and fully working UI minigames for keypad, dial, and lockpicking. Everything is configurable from the Inspector and designed to be easily extended with new lock or door behaviors.
Key Features
- Animated doors (Open/Close triggers)
- Physics‑grab doors (drag with mouse)
- Push doors (physics impulse / collision)
- Locks: key, keypad, dial, lockpick
- Inventory with key/lockpick pickups
- UI prompts + ready‑to‑use minigames
- Clean, modular C# architecture
- Easy to extend with custom lock types
- Documentation included (README + PDF)
Use Cases
Perfect for horror, stealth, survival, immersive sims, puzzles, and any game that needs realistic doors and locks.
Customization
Set door behaviors, lock codes, key IDs, physics values, and UI references directly in the Inspector. You can add new lock types by extending LockBase and plugging them into any door.