From 94305ede3ee8ebea634ba24fba3f6f585c185d35 Mon Sep 17 00:00:00 2001 From: TORISOUP Date: Sun, 25 Nov 2018 00:56:19 +0900 Subject: [PATCH] follow 2018.3 --- Scripts/Format/VRMImporter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/Format/VRMImporter.cs b/Scripts/Format/VRMImporter.cs index 091cac2cb..8106386a6 100644 --- a/Scripts/Format/VRMImporter.cs +++ b/Scripts/Format/VRMImporter.cs @@ -2,7 +2,7 @@ using System.IO; using UniGLTF; using UnityEngine; -#if (NET_4_6 && UNITY_2017_1_OR_NEWER) +#if ((NET_4_6 || NET_STANDARD_2_0) && UNITY_2017_1_OR_NEWER) using System.Threading.Tasks; #endif @@ -82,7 +82,7 @@ namespace VRM } #endregion -#if (NET_4_6 && UNITY_2017_1_OR_NEWER) +#if ((NET_4_6 || NET_STANDARD_2_0) && UNITY_2017_1_OR_NEWER) [Obsolete("use VRMImporterContext.LoadAsync()")] public static Task LoadVrmAsync(string path, bool show = true)