Property | Type | Description | |
---|---|---|---|
DoorBusy | bool | ||
DoorSpriteIndex | int | ||
KeyIndex | int | ||
NoOfFrames | int | ||
bc | BoxCollider | ||
locked | bool |
Method | Description | |
---|---|---|
Activate ( ) : void | ||
CloseDoor ( ) : void | ||
LockDoor ( ) : void | ||
OnMouseDown ( ) : void | ||
OpenDoor ( ) : void | ||
Start ( ) : void | ||
ToggleDoor ( ) : void | ||
ToggleLock ( ) : void | ||
UnlockDoor ( ) : void | ||
setSprite ( int index ) : void |
Method | Description | |
---|---|---|
AddDoorCollision ( ) : void | ||
AnimateDoorClose ( float traveltime ) : IEnumerator | ||
AnimateDoorOpen ( float traveltime ) : IEnumerator | ||
RemoveDoorCollision ( ) : void |