diff --git a/Assets/PerfectWorld/Scripts/Common/DebugRegistry.cs b/Assets/PerfectWorld/Scripts/Common/DebugRegistry.cs index 670c4d760a..0667f90e48 100644 --- a/Assets/PerfectWorld/Scripts/Common/DebugRegistry.cs +++ b/Assets/PerfectWorld/Scripts/Common/DebugRegistry.cs @@ -1,3 +1,4 @@ +#if UNITY_EDITOR using System.Collections.Generic; using UnityEditor; @@ -45,3 +46,4 @@ namespace BrewMonster } } +#endif diff --git a/Assets/PerfectWorld/Scripts/Common/Logger.cs b/Assets/PerfectWorld/Scripts/Common/Logger.cs index 693b6b21e0..11e092e00f 100644 --- a/Assets/PerfectWorld/Scripts/Common/Logger.cs +++ b/Assets/PerfectWorld/Scripts/Common/Logger.cs @@ -27,7 +27,7 @@ namespace BrewMonster } public static void LogMono(object source, string message) { -#if ENALBE_LOGGING +#if ENALBE_LOGGING && UNITY_EDITOR if (DebugRegistry.IsEnabled(source)) UnityEngine.Debug.LogError($"[{source}] {message}"); #endif diff --git a/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs b/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs index 90c5d03287..01439f3edb 100644 --- a/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs +++ b/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs @@ -1,4 +1,3 @@ -using Animancer; using BrewMonster; using BrewMonster.Managers; using CSNetwork; @@ -6,10 +5,7 @@ using CSNetwork.GPDataType; using ModelRenderer.Scripts.Common; using System; using System.Threading.Tasks; -using Unity.VisualScripting; using UnityEngine; -using static UnityEditor.PlayerSettings; -using static BrewMonster.CECHostPlayer; public class CECNPC : CECObject { diff --git a/Assets/PerfectWorld/Scripts/Network/CSNetwork/CSNetwork.csproj.meta b/Assets/PerfectWorld/Scripts/Network/CSNetwork/CSNetwork.csproj.meta new file mode 100644 index 0000000000..333a9b1482 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Network/CSNetwork/CSNetwork.csproj.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d0c06c588e2a6442488a3542551fb243 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: