diff --git a/src/UniTask/Assets/Plugins/UniTask/Runtime/EnumeratorAsyncExtensions.cs b/src/UniTask/Assets/Plugins/UniTask/Runtime/EnumeratorAsyncExtensions.cs index 3d018a3..c324f14 100644 --- a/src/UniTask/Assets/Plugins/UniTask/Runtime/EnumeratorAsyncExtensions.cs +++ b/src/UniTask/Assets/Plugins/UniTask/Runtime/EnumeratorAsyncExtensions.cs @@ -164,9 +164,8 @@ 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)//Use keepWaiting instead of MoveNext to avoid virtual call + while (cyi.keepWaiting) { yield return null; }