public void PauseGame() { if (generateType == GenerateType.Auto) { collection.Pause(); StopAllCoroutines(); } }