Signed-off-by: magn9775 <magnusd2005@gmail.com>

This commit is contained in:
magn9775
2024-04-26 13:30:35 +02:00
parent 2fe54fe26e
commit 8fd601650c
6 changed files with 55 additions and 163 deletions

View File

@@ -65,17 +65,18 @@ public class WinScript : MonoBehaviour
Garages[0].SetActive(true);
}
}
}
private void FixedUpdate() {
MainText.text = "Leaderboard: ";
MainText2.text = "Time: ";
for (var i = 0; i < leaderboard.Count; i++){
MainText.text += "\n" + (i+1) + "." + leaderboard[i];
MainText2.text += "\n(" + time[i] + ")";
}
}
private void FixedUpdate() {
currentGarage.transform.eulerAngles += Vector3.up * 0.7f;
//currentRotation = CurrentCar.transform.rotation;
}