mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-10-02 07:42:25 -05:00
[Update] Change Target Unity Version (UNITY_2018_1_OR_NEWER -> UNITY_2017_1_OR_NEWER)
This commit is contained in:
@@ -6,7 +6,7 @@ using UniGLTF;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using UniTask;
|
||||
#if (NET_4_6 && UNITY_2018_1_OR_NEWER)
|
||||
#if (NET_4_6 && UNITY_2017_1_OR_NEWER)
|
||||
using System.Threading.Tasks;
|
||||
#endif
|
||||
|
||||
@@ -485,7 +485,7 @@ namespace VRM
|
||||
yield return null;
|
||||
}
|
||||
|
||||
#if (NET_4_6 && UNITY_2018_1_OR_NEWER)
|
||||
#if (NET_4_6 && UNITY_2017_1_OR_NEWER)
|
||||
|
||||
public static Task<GameObject> LoadVrmAsync(string path)
|
||||
{
|
||||
|
||||
@@ -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