add button to switch cars
hi , i have two scene in unity 1- menu ( has buttons names of cars ) UI buttons 2- game play ( map and cars )
i want to put all the cars in the scene (game play) and if i click (GMC car ) button in menu , GMC will begin to play then hidden the other cars
i'm beginner so plz explain more
Answer by KuR5 · Jun 11, 2016 at 06:53 AM
Hey,
Give ID to all the cars.
Save ID of the car that is selected from the scene 1
Now in scene 2, you can disable all cars but the car have selected from scene 1
I recommend you to instantiate selected car only rather than put all the cars in scene 2 and disable all non selected cars.
Let me know if you require more help on this.
i don't get the message . could u give me more details about what u have said ,and can u put some photo to explain what u have said