unity pause coroutine
Code Example - unity pause coroutine
while (isPaused)
{
yield return null;
}
unity how to wait for seconds without coroutine
void CallMe() {
// Invoke("MethodName", Delay seconds as float);
Invoke("CallMeWithWait", 1f);
}
void CallMeWithWait() {
// Do something
}