master
neuecc 2021-02-25 22:13:14 +09:00
parent 7ac9853cf6
commit 841b6e85ae
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ namespace Cysharp.Threading.Tasks
#if UNITY_EDITOR #if UNITY_EDITOR
// force use Realtime. // force use Realtime.
if (!UnityEditor.EditorApplication.isPlaying) if (PlayerLoopHelper.IsMainThread && !UnityEditor.EditorApplication.isPlaying)
{ {
delayType = DelayType.Realtime; delayType = DelayType.Realtime;
} }