car game choice of car

how to make the car so that I choose 1 of 2 and it appears on the scene????

1 Answer

1

Use GUI Buttons, and you can save a pref, and then spawn a car based on pref in the next scene...

http://unity3d.com/support/documentation/ScriptReference/PlayerPrefs.html

If it's on the same scene, do the:

if(button code){
   //spawn car 1.
}

else{
    //spawns car 2,
}

http://unity3d.com/support/documentation/Components/GUI%20Scripting%20Guide.html