fix
parent
7ac9853cf6
commit
841b6e85ae
|
@ -108,7 +108,7 @@ namespace Cysharp.Threading.Tasks
|
|||
|
||||
#if UNITY_EDITOR
|
||||
// force use Realtime.
|
||||
if (!UnityEditor.EditorApplication.isPlaying)
|
||||
if (PlayerLoopHelper.IsMainThread && !UnityEditor.EditorApplication.isPlaying)
|
||||
{
|
||||
delayType = DelayType.Realtime;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue