Beispiel #1
0
 private void TryLaunch()
 {
     if (this.CanLaunchNow)
     {
         ArchotechCountdown.InitiateCountdown(this);
     }
 }
Beispiel #2
0
 public static void ShipCountdownUpdate()
 {
     if (ArchotechCountdown.timeLeft > 0f)
     {
         ArchotechCountdown.timeLeft -= Time.deltaTime;
         if (ArchotechCountdown.timeLeft <= 0f)
         {
             ArchotechCountdown.CountdownEnded();
         }
     }
 }