Exemplo n.º 1
0
 void HitHazard(Hazard haz)
 {
     if (TimeSince(respawnTime) > 2f)
     {
         TryExplode();
         haz.WasHit();
     }
 }