public void DestroyLanguageSelect() { if (this.SelectLanguage != null) { this.DestroyHud(); foreach (GameObject gameObject in this.UI) { gameObject.RemoveFromScene = true; } this.SelectLanguage = null; } }