diff --git a/Assets/Scripts/Earthquake.cs b/Assets/Scripts/Earthquake.cs index 1fe03f4..d79a7f0 100644 --- a/Assets/Scripts/Earthquake.cs +++ b/Assets/Scripts/Earthquake.cs @@ -57,7 +57,13 @@ public class Earthquake : MonoBehaviour { { isExploding = true; StartCoroutine(Explode()); - Instantiate(ExplosionParticle); + Instantiate(ExplosionParticle); + var camera = GameObject.Find("Main Camera"); + if (camera) + { + var shaker = camera.GetComponent(); + if (shaker) shaker.shakeTimeAmount = 2.0f; + } } IEnumerator Explode()