// Refresh the UI with the current stats. private void UpdateScoreUI() { Score.text = mScore + ""; Coins.text = PlayerSettings.GetCoins() + ""; Shields.text = PlayerSettings.GetShields() + ""; Restarts.text = PlayerSettings.GetRestarts() + ""; }