private IEnumerator WaitForNextIteration() { SystemController.UpdateSystems(); do { yield return(new WaitForSeconds(.01f)); } while (SystemController.IsProcessing()); ProducePhase(); }