From d8411df8e2ab4444d0394f6ae6db594de0523587 Mon Sep 17 00:00:00 2001 From: Andy Baker Date: Thu, 19 Jan 2023 10:45:26 +0000 Subject: [PATCH] Fix import differences between 2019 and 2020 --- UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb1Importer.cs | 5 +++++ UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb2Importer.cs | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb1Importer.cs b/UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb1Importer.cs index c64fe6d5..b2b5c91f 100644 --- a/UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb1Importer.cs +++ b/UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb1Importer.cs @@ -20,7 +20,12 @@ using UnityEngine; using UnityEditor; + +#if UNITY_2020_1_OR_NEWER +using UnityEditor.AssetImporters; +#else using UnityEditor.Experimental.AssetImporters; +#endif namespace TiltBrushToolkit { diff --git a/UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb2Importer.cs b/UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb2Importer.cs index b03f1b36..58ceafcd 100644 --- a/UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb2Importer.cs +++ b/UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb2Importer.cs @@ -20,7 +20,12 @@ using UnityEngine; using UnityEditor; + +#if UNITY_2020_1_OR_NEWER +using UnityEditor.AssetImporters; +#else using UnityEditor.Experimental.AssetImporters; +#endif namespace TiltBrushToolkit {