Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
After a while, read this about coroutine, and about color, either turn it off or text.color.a alpha channel
Now I will throw the code, and I advise you to read the documentation.
You create a variable and IEnumerator IdleFarm or your name.
public GameObject названиетвоейпеременной;
IEnumerator IdleFarm()
{
// ждем
yield return new WaitForSeconds(время в секундах ( если число с плавающей точкой то в конце f) );
// теккст пропадает.
названиетвоейпеременной.SetActive(false);
}
StartCoroutine(IdleFarm());
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question