diff --git a/src/UniTask/Assets/Plugins/UniTask/Runtime/PlayerLoopHelper.cs b/src/UniTask/Assets/Plugins/UniTask/Runtime/PlayerLoopHelper.cs index a4bc3d2..aea1109 100644 --- a/src/UniTask/Assets/Plugins/UniTask/Runtime/PlayerLoopHelper.cs +++ b/src/UniTask/Assets/Plugins/UniTask/Runtime/PlayerLoopHelper.cs @@ -8,20 +8,16 @@ using System.Threading; #if UNITY_2019_3_OR_NEWER using UnityEngine.LowLevel; +using PlayerLoopType = UnityEngine.PlayerLoop; #else using UnityEngine.Experimental.LowLevel; +using PlayerLoopType = UnityEngine.Experimental.PlayerLoop; #endif #if UNITY_EDITOR using UnityEditor; #endif -#if UNITY_2019_4_OR_NEWER -using PlayerLoopType = UnityEngine.PlayerLoop; -#else -using PlayerLoopType = UnityEngine.Experimental.PlayerLoop; -#endif - namespace Cysharp.Threading.Tasks { public static class UniTaskLoopRunners