Beispiel #1
0
 private void Update()
 {
     if (gameManager.GetCurrentState() == STATEGAME.PLAYING)
     {
         if (CheckOverLap.DoOverlap(bird.GetCorners(), Utils.GetWorldCorners(rt)) == true)
         {
             gameManager.DoGameOver();
         }
     }
 }