Ejemplo n.º 1
0
 void Update()
 {
     if (nombreDeJoueursSurLeBouton > 0)
     {
         if (activeTimer.GetComponent <Timer>().TimeUp())
         {
             daylight.Toggle();
             Destroy(gameObject);
         }
     }
 }