IEnumerator showImp() { yield return(null); yield return(null); yield return(null); CBArcher.showImp(); }
void Awake() { if (instance != null) { Destroy(gameObject); // чтобы не дублировались экземпляры showImp(); // При повторном выходе на главный экран } else { instance = this; DontDestroyOnLoad(gameObject); } }
void showMore() { CBArcher.showMore(); }
void Start() { CBArcher.showImp(); ShowMenu(); }