idkdidkdid

This commit is contained in:
magn9775
2024-04-26 14:34:38 +02:00
parent 46aa4a627a
commit b8fb13876e
4 changed files with 18 additions and 6 deletions

View File

@@ -13,7 +13,6 @@ public class WinScript : MonoBehaviour
public GameObject[] Garages;
private GameObject currentGarage;
private string playercar = "";
void Start()
{
@@ -77,6 +76,9 @@ public class WinScript : MonoBehaviour
MainText2.text = "Time: ";
for (var i = 0; i < leaderboard.Count; i++){
MainText.text += "\n" + (i+1) + "." + leaderboard[i];
if (time[i] == "0"){
MainText2.text += "\n(DNF)";
}
MainText2.text += "\n(" + time[i] + ")";
}
currentGarage.transform.eulerAngles += Vector3.up * 0.7f;