IEnumerator Start_Async() { CoroutineLoadTest rTest = new CoroutineLoadTest(); yield return(CoroutineManager.Instance.Start(rTest.Loading("Test1"))); yield return(CoroutineManager.Instance.Start(rTest.Loading("Test2"))); Debug.Log("Done."); }
IEnumerator Start_Async() { CoroutineLoadTest rTest = new CoroutineLoadTest(); yield return(this.StartCoroutine(rTest.Loading("Test1"))); yield return(this.StartCoroutine(rTest.Loading("Test2"))); Debug.Log("Done."); }
private async Task Start_Async() { CoroutineLoadTest rTest = new CoroutineLoadTest(); Debug.Log(await rTest.Loading("Test1")); Debug.Log(await rTest.Loading("Test2")); Debug.Log(await rTest.GetValueExampleAsync()); Debug.Log("Done."); }