[Update] Change Target Unity Version (UNITY_2018_1_OR_NEWER -> UNITY_2017_1_OR_NEWER)

This commit is contained in:
karukaru
2018-07-23 05:50:10 +09:00
parent b732639de3
commit 1daf171a1c
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
using System;
using System.Collections;
using System.Collections.Generic;
#if (NET_4_6 && UNITY_2018_1_OR_NEWER)
#if (NET_4_6 && UNITY_2017_1_OR_NEWER)
using System.Threading.Tasks;
#endif
@@ -184,7 +184,7 @@ namespace UniTask
TaskChain.Schedule(schedulable.GetRoot(), onError);
}
#if (NET_4_6 && UNITY_2018_1_OR_NEWER)
#if (NET_4_6 && UNITY_2017_1_OR_NEWER)
public static Task<T> ToTask<T>(this Schedulable<T> schedulable)
{
return ToTask(schedulable, Scheduler.MainThread);