Hi, I have FunctionA() and FunctionB().
FunctionA has a coroutine inside of it that gets called. It's a for loop with a yield return new WaitForSeconds() at the end of each loop. During each loop, FunctionB is as such GameObject[] objs = FunctionB(). FunctionB has another coroutine inside of it using a for loop.
How can I wait for FunctionB to complete before continuing with the rest of the loop within FunctionA?