From 725b2fdc35b4e6b37ffc32714f41059486269292 Mon Sep 17 00:00:00 2001 From: "Ram.Type-0" Date: Tue, 1 Sep 2020 21:25:43 +0900 Subject: [PATCH] Format comment --- .../Plugins/UniTask/Runtime/EnumeratorAsyncExtensions.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/UniTask/Assets/Plugins/UniTask/Runtime/EnumeratorAsyncExtensions.cs b/src/UniTask/Assets/Plugins/UniTask/Runtime/EnumeratorAsyncExtensions.cs index e9951fc..3d018a3 100644 --- a/src/UniTask/Assets/Plugins/UniTask/Runtime/EnumeratorAsyncExtensions.cs +++ b/src/UniTask/Assets/Plugins/UniTask/Runtime/EnumeratorAsyncExtensions.cs @@ -164,8 +164,9 @@ namespace Cysharp.Threading.Tasks } else if (current is CustomYieldInstruction cyi) { + //https://github.com/Unity-Technologies/UnityCsReference/blob/master/Runtime/Export/Scripting/CustomYieldInstruction.cs // WWW, WaitForSecondsRealtime - while (cyi.keepWaiting)//https://github.com/Unity-Technologies/UnityCsReference/blob/4fc5eb0fb2c7f5fb09f990fc99f162c8d06d9570/Runtime/Export/Scripting/CustomYieldInstruction.cs + while (cyi.keepWaiting)//Use keepWaiting instead of MoveNext to avoid virtual call { yield return null; }