Skip to content

Commit

Permalink
Moved conditional compilation block
Browse files Browse the repository at this point in the history
  • Loading branch information
michalChrobot committed Feb 17, 2025
1 parent ade6bd9 commit 748c8af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions com.unity.netcode.gameobjects/Editor/HiddenScriptEditor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Unity.Netcode.Components;
#if UNITY_UNET_PRESENT
using Unity.Netcode.Transports.UNET;
#endif
using Unity.Netcode.Transports.UTP;
using UnityEditor;
using UnityEngine;
Expand All @@ -28,6 +25,8 @@ public override void OnInspectorGUI()
}
}
#if UNITY_UNET_PRESENT
using Unity.Netcode.Transports.UNET;

/// <summary>
/// Internal use. Hides the script field for UNetTransport.
/// </summary>
Expand Down

0 comments on commit 748c8af

Please sign in to comment.