Skip to main content

Door Script in C#

Door script

This is a Door script derived from petey's Chest.cs script cut down and re-commented with some minor changes. Hope you find it useful :)

Door Open - Close Script

This is the door script it is set up as a unity package I tested it and worked to open the door Press E and R to close. They can be changed and if you have more then one house all doors open because I could not figure out the layermask any problems let me know. The worst free stuff ever but at least it is free