Skip to content

Commit

Permalink
fix: fixing defines for Unity2021.2 (#977)
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen committed Nov 7, 2021
1 parent 22e7dcd commit 15ffa5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Assets/Mirage/Runtime/NetworkIdentityIdGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@
#if UNITY_EDITOR
using UnityEditor;

#if UNITY_2018_3_OR_NEWER
#if UNITY_2021_2_OR_NEWER
using UnityEditor.SceneManagement;
#elif UNITY_2018_3_OR_NEWER
using UnityEditor.Experimental.SceneManagement;
#endif

#endif

namespace Mirage
Expand Down

0 comments on commit 15ffa5b

Please sign in to comment.