Creating a Simple Camera Shake When the Player Takes Damage in Unity.

Christopher Adams
Level Up Coding
Published in
2 min readSep 12, 2022

--

Overview:

Today we are going to create a camera shake effect when the player takes damage.

Camera Shake:

We need to create a new script and attach it to the main camera.

  1. Inside the new script, we need to create some variables. We need a float for the shaking time. a…

--

--

Just following my dreams. Here I will document my skills and what I've learned. Hope you enjoy.