Skip to content

Commit

Permalink
fix: wrapping NetworkIdentityIdGenerator in #if editor
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen committed Nov 7, 2021
1 parent 15ef03d commit f058f7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Assets/Mirage/Runtime/NetworkIdentityIdGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#if UNITY_EDITOR
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using UnityEngine;
using Mirage.Logging;


#if UNITY_EDITOR

using UnityEditor;

#if UNITY_2021_2_OR_NEWER
Expand All @@ -14,8 +15,6 @@
using UnityEditor.Experimental.SceneManagement;
#endif

#endif

namespace Mirage
{
internal static class NetworkIdentityIdGenerator
Expand Down Expand Up @@ -280,3 +279,4 @@ public void ClearSceneId()
}
}
}
#endif

0 comments on commit f058f7f

Please sign in to comment.