C# Class MainCameraController, Left4Bread

Inheritance: MonoBehaviour, ICamera
Show file Open project: andresg6/Left4Bread Class Usage Examples

Public Properties

Property Type Description
decrementFactor float
incrementFactor float
randomIntensity float
shakeLeft float
shakeScale float

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
addScreenShake ( float shakeAmount ) : void

Private Methods

Method Description
applyScreenShake ( ) : void
undoScreenShake ( ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

addScreenShake() public method

public addScreenShake ( float shakeAmount ) : void
shakeAmount float
return void

Property Details

decrementFactor public property

public float decrementFactor
return float

incrementFactor public property

public float incrementFactor
return float

randomIntensity public property

public float randomIntensity
return float

shakeLeft public property

public float shakeLeft
return float

shakeScale public property

public float shakeScale
return float