C# Class DoorLock, dreams

Inheritance: MonoBehaviour
Show file Open project: mprofGamesDev-Dreams/dreams Class Usage Examples

Public Properties

Property Type Description
DoorLocked bool
KeyName string
OpenDistance float
OpenSpeed float
PlayerHasKey bool

Public Methods

Method Description
Start ( ) : void
UnlockDoor ( ) : void
Update ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

UnlockDoor() public method

public UnlockDoor ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

DoorLocked public property

public bool DoorLocked
return bool

KeyName public property

public string KeyName
return string

OpenDistance public property

public float OpenDistance
return float

OpenSpeed public property

public float OpenSpeed
return float

PlayerHasKey public property

public bool PlayerHasKey
return bool