void UpdateUI_LapNumber() { if (shipUI != null) { shipUI.SetLapDisplay(playerShip.GetCurrLap() + 1, numberOfLaps); } }
void UpdateUI_LapNumber() { //If we have a ShipUI reference, update it if (shipUI != null) { shipUI.SetLapDisplay(currentLap + 1, numberOfLaps); } }