private void Start() { // Load the current car. ADDED CurrentCarToSpawn = PlayerPrefs.getInt("savedSelection", 0); // Since we are loading the last selection, we need to call our // instantiation method so it can activate the appropriate // GameObjects. InstantiateCar(); }
private void Start() { // Load the current car. ADDED CurrentCarToSpawn = PlayerPrefs.getInt("savedSelection", 0); InstantiateCar(); }