コード例 #1
0
ファイル: UIScripts.cs プロジェクト: alterrabr/random-route
 //Downloading path while loading screen is shown
 //After download the path scene will shown (call inside Download coroutine)
 public void PlayPath()
 {
     StartCoroutine(WebRequests.Download());
     generateMenu.SetActive(false);
     mainMenu.SetActive(false);
     loadingScreen.SetActive(true);
 }