Example #1
0
 void Update()
 {
     if (!player.IsPlayerDead() && !_winWall.HasWon())
     {
         CheckDistanceToPlayer();
     }
 }