private IEnumerator ChangeToDay() { day.SetActive(true); night.SetActive(false); yield return(new WaitForSecondsRealtime(timeToSwitchTimes)); soundManager.ChangeMusic(); StartCoroutine(ChangeToNight()); }