private void OnDisable() { CoroutinesHandler coroutinesHandler = CoroutinesHandler.Get(); if (coroutinesHandler != null) { coroutinesHandler.KillCoroutine(moveOutOfScreenCoroutine); } }
private void OnDisable() { isShuttingDown = true; CoroutinesHandler coroutinesHandler = CoroutinesHandler.Get(); if (coroutinesHandler != null) { coroutinesHandler.KillCoroutine(cloudMovingCoroutine); } }