C# Class DoorControlShock, UnderworldExporter

Inheritance: MonoBehaviour
Mostra file Open project: hankmorgan/UnderworldExporter

Public Properties

Property Type Description
DoorBusy bool
DoorSpriteIndex int
KeyIndex int
NoOfFrames int
bc BoxCollider
locked bool

Public Methods

Method Description
Activate ( ) : void
CloseDoor ( ) : void
LockDoor ( ) : void
OnMouseDown ( ) : void
OpenDoor ( ) : void
Start ( ) : void
ToggleDoor ( ) : void
ToggleLock ( ) : void
UnlockDoor ( ) : void
setSprite ( int index ) : void

Private Methods

Method Description
AddDoorCollision ( ) : void
AnimateDoorClose ( float traveltime ) : IEnumerator
AnimateDoorOpen ( float traveltime ) : IEnumerator
RemoveDoorCollision ( ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

CloseDoor() public method

public CloseDoor ( ) : void
return void

LockDoor() public method

public LockDoor ( ) : void
return void

OnMouseDown() public method

public OnMouseDown ( ) : void
return void

OpenDoor() public method

public OpenDoor ( ) : void
return void

Start() public method

public Start ( ) : void
return void

ToggleDoor() public method

public ToggleDoor ( ) : void
return void

ToggleLock() public method

public ToggleLock ( ) : void
return void

UnlockDoor() public method

public UnlockDoor ( ) : void
return void

setSprite() public method

public setSprite ( int index ) : void
index int
return void

Property Details

DoorBusy public_oe property

public bool DoorBusy
return bool

DoorSpriteIndex public_oe property

public int DoorSpriteIndex
return int

KeyIndex public_oe property

public int KeyIndex
return int

NoOfFrames public_oe property

public int NoOfFrames
return int

bc public_oe property

public BoxCollider bc
return BoxCollider

locked public_oe property

public bool locked
return bool