IEnumerator FakeDeathCoroutine() { for (int i = 0; i < 3; i++) { SoundManager.Instance.PlaySFX(flashSound); flash.gameObject.SetActive(true); yield return(new WaitForSeconds(0.15f)); flash.gameObject.SetActive(false); yield return(new WaitForSeconds(0.15f)); } background1.speedChange(0); background2.speedChange(0); yield return(new WaitForSeconds(0.5f)); dragunController.VibrateDragun(); }