A downloadable asset pack

Buy Now$3.99 USD or more

Three common door types, ready to drop into a first-person game: a normal door you open with E, a locked door that needs a key, and a door with a number keypad.

Features

  • Knob door: look at it and press E to open or close
  • Locked door: find the key first, then open it
  • Keypad door: type the code on an on-screen keypad
  • Smooth rotation around the hinge, open angle and speed in the Inspector
  • Each door type is one small, readable script

Demo scene controls

  • WASD move, Shift run, Space jump, Mouse look
  • E use a knob or keypad
  • Esc close the keypad

What's included

  • Door, DoorKnobInteractable, LockedDoorInteractable, KeypadDoor, KeyPickup, PlayerKeyring scripts
  • Door, key and keypad prefabs
  • First-person player controller
  • Full C# source code with comments
  • README with setup steps
  • Original low-poly art made by us: use it in your games, commercial too
  • Nunito font (SIL Open Font License)

Requirements

  • Unity 6 (6000.3) or newer
  • Universal Render Pipeline (URP)
  • Input System package (included in new Unity 6 projects)
  • Needed tags and layers are created automatically on import

Development status

This template is still in development and gets updates. Files are versioned: download the newest one.

  • v0.2.0: new art and demo scene, new UI, bug fixes, simpler code, English docs
  • v0.1.0: first release

Questions or requests? Leave a comment and we'll help.

Purchase

Buy Now$3.99 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $3.99 USD. You will get access to the following files:

Door System v0.2.0 - Unity 6 (source + demo) 2.2 MB
Door System v0.1.0 (legacy) 394 kB

Leave a comment

Log in with itch.io to leave a comment.