Door Customisation

This will explain the elements of the Door Interactable script so you can be better how to use and customise it

Interactable Type

Door / Drawer (Doors can be used for chests and other door types which open on different axis)

Door Transform

Add the door object that will move, as this script could be added to objects other than the door itself

Door Opening Settings

Choose the Rotation axis, angle, speed and which was a door should open

Sound Delay Settings

Set the delays for each sound effect, in case you want them to play quicker or slower than the original sound

Plank Settings

  • Choose whether you want to block the door with planks or not.

  • Plank count (Make sure to add these to the door object yourself and see instructions for more)

  • The text that should appear when trying to open the door if planks are still on top

Lock Settings

  • Choose whether the door will need a key and should be locked.

  • Set the text that will display for locked and unlock states

  • Add a door locked sound

Unlock Settings

Remove key after use, add the key scriptable you will need to unlock the door and the unlock sound

Spawning Items

You can spawn items within the drawer and you can check out the page on spawnings items if you wish

Last updated