When I start a Coroutine like this
StartCoroutine(MyCoroutine());
Is there any way to stop it again? And if not, what is the point of the Coroutine-Class?
edit
MyCoroutine has parameters, so it actually looks like this:
StartCoroutine(MyCoroutine(a, b, c));
And I might have multiple instances of the Coroutine running simultaniously.
The only solution I could come up with is to dynamically add empty MonoBehaviors to the GameObject and run each Coroutine in that behavior. But that seems very dirty to me (I did not yet actually try this).
Also I wonder what the point of the Coroutine-Class is.