As Title , I have a Coroutine function and use StartCoroutine to run.
Now I want to stop itself when finished statement in Coroutine.
How to do it?
Thanks in advance.
As Title , I have a Coroutine function and use StartCoroutine to run.
Now I want to stop itself when finished statement in Coroutine.
How to do it?
Thanks in advance.
Just use
yield break;
Try this