public IEnumerator ShakeCamera(float time, float intensity) { shaker.SetSpeed(intensity); yield return(StartCoroutine(shaker.ShakeObject(time))); }