I’m making a race game and want to take my standing that shows in the inspector show on a text in the ui here is the code. using UnityEngine; using System.Collections; public class RaceManager : MonoBehaviour { public Car[] allCars; public Car[] carOrder; public void Start() { // set up the car objects carOrder = new Car[allCars.Length]; InvokeRepeating ("ManualUpdate", 0.5f, 0.5f); } // this gets called every frame public void ManualUpdate() { foreach (Car car in allCars) { carOrder[car.GetCarPosition(allCars) - 1] = car; } } }