Skip to content

Instantly share code, notes, and snippets.

reunono / CinemachineCameraShaker.cs
Last active Apr 13, 2020
Cinemachine camera shake
View CinemachineCameraShaker.cs
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Add this component to your Cinemachine Virtual Camera to have it shake when calling its ShakeCamera methods.
/// </summary>
public class CinemachineCameraShaker : MonoBehaviour