IEnumerator GoToMaingame() { yield return(new WaitForSeconds(3)); UIGame.SetActive(true); UILoader.SetActive(false); }
void Start() { //initialize UILoader.SetActive(true); }