/// <summary> /// Retrieve car information upon user selection /// </summary> private void loadCar() { //update the image, name, size carImage.GetComponent <RawImage>().texture = Assets2D.getCarTexture(MyCarIndex); carName.GetComponent <Text>().text = Assets2D.getCarNames(MyCarIndex); TrunkSize = Assets2D.getTrunkSizes(MyCarIndex); //update 3D layout }
// Start is called before the first frame update void Start() { ActiveInstance = this; }