private IEnumerator ReloadScene() { while (isActiveAndEnabled) { yield return(new WaitForSeconds(5.0f)); SceneManager.LoadScene("SingletonScene"); LoggingUtils.ClearLog(); } }