Camera Settings

Each camera shake is configured by a Camera Shake object.

Creating a new camera shake

  1. To add a new camera shake setting you do the following: Right-click anywhere in the Project and select Create/Essentials/Camera/Shake.

  2. Now you can edit the camera shake however you want. Each property has a tooltip if you hover the property name for a couple of seconds.

  3. To call the camera shake you simply expose a camera shake object in the inspector and call it with:

    [SerializeField] private CameraShake shake; // expose in the inspector
    
    CameraShakeController.DoShake(shake); // call the shake

Last updated