mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-07 19:38:13 -05:00
[Update] Change Target Unity Version (UNITY_2018_1_OR_NEWER -> UNITY_2017_1_OR_NEWER)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user