Skip to content

Commit 9882d04

Browse files
committed
Removal of UNITY_UNET_PRESENT define
1 parent 251d38d commit 9882d04

File tree

15 files changed

+1
-474
lines changed

15 files changed

+1
-474
lines changed

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#if COM_UNITY_MODULES_ANIMATION || COM_UNITY_MODULES_PHYSICS || COM_UNITY_MODULES_PHYSICS2D
22
using Unity.Netcode.Components;
33
#endif
4-
#if UNITY_UNET_PRESENT
5-
using Unity.Netcode.Transports.UNET;
6-
#endif
74
using Unity.Netcode.Transports.UTP;
85
using UnityEditor;
96
using UnityEngine;
@@ -29,16 +26,6 @@ public override void OnInspectorGUI()
2926
EditorGUI.EndChangeCheck();
3027
}
3128
}
32-
#if UNITY_UNET_PRESENT
33-
/// <summary>
34-
/// Internal use. Hides the script field for UNetTransport.
35-
/// </summary>
36-
[CustomEditor(typeof(UNetTransport), true)]
37-
public class UNetTransportEditor : HiddenScriptEditor
38-
{
39-
40-
}
41-
#endif
4229

4330
/// <summary>
4431
/// Internal use. Hides the script field for UnityTransport.

com.unity.netcode.gameobjects/Editor/Unity.Netcode.Editor.asmdef

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@
2424
"expression": "",
2525
"define": "MULTIPLAYER_TOOLS"
2626
},
27-
{
28-
"name": "Unity",
29-
"expression": "(0,2022.2.0a5)",
30-
"define": "UNITY_UNET_PRESENT"
31-
},
3227
{
3328
"name": "com.unity.modules.animation",
3429
"expression": "",

com.unity.netcode.gameobjects/Runtime/Transports/UNET/UNetTransport.cs

Lines changed: 0 additions & 308 deletions
This file was deleted.

com.unity.netcode.gameobjects/Runtime/Transports/UNET/UNetTransport.cs.meta

Lines changed: 0 additions & 11 deletions
This file was deleted.

com.unity.netcode.gameobjects/Runtime/Unity.Netcode.Runtime.asmdef

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@
2828
"expression": "",
2929
"define": "MULTIPLAYER_TOOLS"
3030
},
31-
{
32-
"name": "Unity",
33-
"expression": "(0,2022.2.0a5)",
34-
"define": "UNITY_UNET_PRESENT"
35-
},
3631
{
3732
"name": "Unity",
3833
"expression": "2023",

0 commit comments

Comments
 (0)