I have the following code...
StartCoroutine(GetSuggestions()); IEnumerator GetSuggestions() { longExecutionFunction(); // this takes a long time yield return null; } How can I use a coroutine to keep the main program flow going? Currently when it reaches longExecutionFunction(); the program stops for a few seconds. I'd like it if the whole program would keep working while this is going on. How can I do this?