Skip to content

Commit 748c8af

Browse files
committed
Moved conditional compilation block
1 parent ade6bd9 commit 748c8af

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

com.unity.netcode.gameobjects/Editor/HiddenScriptEditor.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
using Unity.Netcode.Components;
2-
#if UNITY_UNET_PRESENT
3-
using Unity.Netcode.Transports.UNET;
4-
#endif
52
using Unity.Netcode.Transports.UTP;
63
using UnityEditor;
74
using UnityEngine;
@@ -28,6 +25,8 @@ public override void OnInspectorGUI()
2825
}
2926
}
3027
#if UNITY_UNET_PRESENT
28+
using Unity.Netcode.Transports.UNET;
29+
3130
/// <summary>
3231
/// Internal use. Hides the script field for UNetTransport.
3332
/// </summary>

0 commit comments

Comments
 (0)