diff --git a/UnityTransport/Editor/LRMInspector.cs b/UnityTransport/Editor/LRMInspector.cs index df63971..856dd16 100644 --- a/UnityTransport/Editor/LRMInspector.cs +++ b/UnityTransport/Editor/LRMInspector.cs @@ -10,6 +10,7 @@ using Mirror.SimpleWeb; using System; using kcp2k; +#if UNITY_EDITOR namespace LightReflectiveMirror { [CustomEditor(typeof(LightReflectiveMirrorTransport))] @@ -249,4 +250,5 @@ namespace LightReflectiveMirror } } } -} \ No newline at end of file +} +#endif