Answer the question
In order to leave comments, you need to log in
Is it possible to make the actions in OnTriggerEnter happen every frame?
if (other.tag == "Defolt(Blue)")
{
defoltCar.SetActive(false);
defoltCarBlue.SetActive(true);
Taxi.SetActive(false);
Police.SetActive(false);
Sport.SetActive(false);
if (EorShopSCene.defoltbluecar == true)
{
Buytxt.text = "Select";
} else if(EorShopSCene.defoltbluecar == false)
{
Buytxt.text = "Buy: 15";
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question