CamShake

Functions and Accessors | CamShake.cs

Trauma ( Float ) / Public

Controls the intensity of the shake.

instance ( CamShake )

Singleton Reference of CamShak

Shake(float amount, float _power, float _movementAmount, float _rotationAmount)

Shake the camera

  • amount: Camera Shake amount

  • power: power of the shake affecting speed.

  • movementamount: Determines the positional movement during the shake.

  • rotationAmount: Determines the rotational movement during the shake.

ShootShake(float amount)

Shake the camera for shots.

  • amount: Camera Shake amount

ExplosionShake(float distance)

Shake the camera for explosions.

  • distance: Distance from the explosion

Last updated