Skip to content

Commit

Permalink
fix: change namespace of PrefabStageUtility in Unity 2021.2 (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
laicasaane authored Dec 29, 2021
1 parent c1c3b2e commit e287dc9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Editor/AddressableImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
using System.IO;
using System.Text.RegularExpressions;
using UnityEditor.AddressableAssets.Settings.GroupSchemas;

#if UNITY_2021_2_OR_NEWER
using UnityEditor.SceneManagement;
#else
using UnityEditor.Experimental.SceneManagement;
#endif

public class AddressableImporter : AssetPostprocessor
{
Expand Down

0 comments on commit e287dc9

Please sign in to comment.