Exemplo n.º 1
0
 void Update()
 {
     if (!completed && active)
     {
         if ((use_barion && barion_activated) && (use_cosmo && cosmo_activated) && (use_nyx && nyx_activated))
         {
             completed = true;
             if (manager)
             {
                 manager.NextCheckPoint(); //Go to next checkpoint
             }
         }
     }
 }