Tutorials

Unity2D Camera Shake with Code

Simple Camera Shake This is the controller I use to shake the camera in Unity2d. It’s very easy to use! First make a C# script called CameraShake. Add this to your Main Camera and you’re ready to shake! Example: Code Details We declare two variables. instance gives us to access the script anywhere in project Unity2D Camera Shake with Code