diff --git a/Runtime/AlicizaX.Entry.Runtime.asmdef b/Runtime/AlicizaX.Entry.Runtime.asmdef index b3c7b3d..b19c97f 100644 --- a/Runtime/AlicizaX.Entry.Runtime.asmdef +++ b/Runtime/AlicizaX.Entry.Runtime.asmdef @@ -22,6 +22,12 @@ "precompiledReferences": [], "autoReferenced": true, "defineConstraints": [], - "versionDefines": [], + "versionDefines": [ + { + "name": "com.alicizax.unity.network", + "expression": "", + "define": "ALICIZAX_NETWORK" + } + ], "noEngineReferences": false } \ No newline at end of file diff --git a/Runtime/GameApp.Network.cs b/Runtime/GameApp.Network.cs index 9292671..5252304 100644 --- a/Runtime/GameApp.Network.cs +++ b/Runtime/GameApp.Network.cs @@ -1,4 +1,4 @@ - +#if ALICIZAX_NETWORK using AlicizaX.Network.Runtime; using AlicizaX; @@ -22,3 +22,5 @@ public static partial class GameApp internal static INetworkModule _network; } + +#endif