C# Class ShellShock.CameraShake

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: GREEDYHD/ShellShock

Public Properties

Property Type Description
shakeIntesity float
shakeTimer float

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
shakeCamera ( float shakePower, float shakeDuration ) : void

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

shakeCamera() public method

public shakeCamera ( float shakePower, float shakeDuration ) : void
shakePower float
shakeDuration float
return void

Property Details

shakeIntesity public_oe property

public float shakeIntesity
return float

shakeTimer public_oe property

public float shakeTimer
return float