C# Class CameraShake, UrsaMajor

Inheritance: MonoBehaviour
Show file Open project: BJarv/UrsaMajor Class Usage Examples

Public Properties

Property Type Description
altShakeAmount float
shakeAmount float
shakeTime float
test bool

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
bumpIt ( float intensity = 2f, float time = .1f ) : void
stopAllShake ( ) : void
trainBumpIt ( ) : void

Private Methods

Method Description
altShakeOff ( float time ) : IEnumerator
shakeOff ( float time ) : IEnumerator
trainShake ( ) : IEnumerator

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

bumpIt() public method

public bumpIt ( float intensity = 2f, float time = .1f ) : void
intensity float
time float
return void

stopAllShake() public method

public stopAllShake ( ) : void
return void

trainBumpIt() public method

public trainBumpIt ( ) : void
return void

Property Details

altShakeAmount public property

public float altShakeAmount
return float

shakeAmount public property

public float shakeAmount
return float

shakeTime public property

public float shakeTime
return float

test public property

public bool test
return bool