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