From 1daf171a1c8cf90e963b4eeacab0e8fb808b332b Mon Sep 17 00:00:00 2001 From: karukaru Date: Mon, 23 Jul 2018 05:50:10 +0900 Subject: [PATCH] [Update] Change Target Unity Version (UNITY_2018_1_OR_NEWER -> UNITY_2017_1_OR_NEWER) --- Scripts/Format/VRMImporter.cs | 4 ++-- Scripts/UniTask/Schedulable.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Scripts/Format/VRMImporter.cs b/Scripts/Format/VRMImporter.cs index 34a86b32a..ee70dd364 100644 --- a/Scripts/Format/VRMImporter.cs +++ b/Scripts/Format/VRMImporter.cs @@ -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 LoadVrmAsync(string path) { diff --git a/Scripts/UniTask/Schedulable.cs b/Scripts/UniTask/Schedulable.cs index 3dab6552b..db8f498ec 100644 --- a/Scripts/UniTask/Schedulable.cs +++ b/Scripts/UniTask/Schedulable.cs @@ -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 ToTask(this Schedulable schedulable) { return ToTask(schedulable, Scheduler.MainThread);