DoorInteractable
Last updated
Last updated
Inherits from , since you can interact with the door.
openInteractionText: Text to display for interaction if the door is closed. ( Generally "Open" )
closeInteractionText: Text to display for interaction if the door is opened. ( Generally "Close" )
lockedInteractionText: Text to display for interaction if the door is Locked. ( Generally "Locked" )
isLocked: Whether the door should be locked.
doorPivot: The pivot point for the door
offsetPosition: "The Vector3 to add to the door on opened ( Introduced in 1.3 )
openedDoorRotation: How much you want to rotate the door in degrees
speed: rotation speed
openDoorSFX
closeDoorSFX
lockedDoorSFX
Lock( )
Locks the door so it cannot be opened
UnLock( )
Unlocks the door so it can be opened
ToggleLock( )
If Locked, unlocks it.
If Unlocked, locks it.