R
R
Roman Kashatnov2020-03-10 23:37:24
Unity
Roman Kashatnov, 2020-03-10 23:37:24

How to change the tag in the unit through the code, not immediately, but after a while?

There is a code:

if (other.gameObject.tag == "ZeroPlatform")
{

other.transform.tag = "Platform" ;

}


you need the platform to change the tag not immediately, but after a couple of seconds

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question