private IEnumerator WaitForFutureToComplete(IFuture inFuture) { Debug.Log("Future is running!"); yield return(inFuture); if (inFuture.IsComplete()) { Debug.Log("Future is complete!"); } else if (inFuture.IsFailed()) { Debug.Log("Future has failed!"); } }