Exemple #1
0
 void  Update()
 {
     if (Application.loadedLevel == 1 && ArrayGrid == 4)
     {
         LoadingScreen.LoadingScreenOn = true;
         loadingScript.ChooseImg();
         WaitTimeLevel2();
     }
     if (Application.loadedLevel == 2 && ArrayGrid == 9)
     {
         LoadingScreen.LoadingScreenOn = true;
         loadingScript.ChooseImg();
         WaitTimeLevel3();
     }
     if (Application.loadedLevel == 3 && ArrayGrid == 14)
     {
         LoadingScreen.LoadingScreenOn = true;
         loadingScript.ChooseImg();
         WaitTimeLevel4();
     }
 }