Skip to content

Commit

Permalink
Fix import differences between 2019 and 2020
Browse files Browse the repository at this point in the history
  • Loading branch information
andybak committed Jan 19, 2023
1 parent ff1e0f1 commit d8411df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb1Importer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
5 changes: 5 additions & 0 deletions UnitySDK/Assets/TiltBrush/Scripts/Editor/Glb2Importer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit d8411df

Please sign in to comment.