Hi, Im new to unity.
I could not find any help on my problem.
Let’s say: I call Destroy(myObject, 5);
Then after 2 second I don’t want myObject to be destroyed…
Is there any way to stop that process ?
Hi, Im new to unity.
I could not find any help on my problem.
Let’s say: I call Destroy(myObject, 5);
Then after 2 second I don’t want myObject to be destroyed…
Is there any way to stop that process ?
Use Invoke (+ CancelInvoke) or coroutines instead.
–Eric