mihai9323 / Jocoi

0 stars 0 forks source link

Camera Shake #52

Closed mihai9323 closed 9 years ago

mihai9323 commented 9 years ago

Make a script that is applied to the camera. The script will shake the camera based on an AnimationCurve. There should also be a public float that defines the amount of time the camera will shake.

This code will be used for the earthquake between stage 1 and 2.

The shake will start when the public function StartShake() is called on the script.