We are told to create a coroutine called firingCoroutine and then define it as StartCoroutine(FireContinuesly()); and then stop it with StopCoroutine(firingCoroutine);
My question is why not write FireContinuesly as we did before in the first if statement and then stop it the same way with StopCoroutine(FireContinuesly()); ?
And what exactly activates the firingCoroutine in the first place? We define it in the if statement but that’s not the same as calling it no? And we didn’t write it as
firingCoroutine.StartCoroutine(FireContinuesly()); because that wouldn’t work since it’s not a class with a method to call.
if we only define it in the if statement then it should not work. What am I forgetting?..