Ejemplo n.º 1
0
 void Start()
 {
     fadeInBlack = true;
     loadNext.StartLoadingNextScene();
     randomSpawner.StartSpawning();
     fade.FadeOutBlack();
 }
Ejemplo n.º 2
0
 // Update is called once per frame
 void Update()
 {
     if (Time.timeSinceLevelLoad > 11f && showOnce)
     {
         fade.FadeInBlack();
         showOnce = false;
     }
     if (Time.timeSinceLevelLoad > 18f && !showOnce)
     {
         fade.FadeOutBlack();
         showOnce = true;
     }
 }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     fadeInFlag = true;
     fade.FadeOutBlack();
 }