diff --git a/Assets/AGVMapEditor.cs b/Assets/AGVMapEditor.cs index cd10cf16..0c04999e 100644 --- a/Assets/AGVMapEditor.cs +++ b/Assets/AGVMapEditor.cs @@ -6,6 +6,7 @@ using XED.VirtualFactory; namespace XED.EditorUtil { +#if UNITY_EDITOR [CustomEditor(typeof(AGVMap))] public class AGVMapEditor : Editor { @@ -60,4 +61,5 @@ namespace XED.EditorUtil } } } +#endif } \ No newline at end of file diff --git a/Assets/AGVNodeEditor.cs b/Assets/AGVNodeEditor.cs index 1ddabd02..1e734c52 100644 --- a/Assets/AGVNodeEditor.cs +++ b/Assets/AGVNodeEditor.cs @@ -5,6 +5,7 @@ namespace XED.EditorUtil using UnityEditor; using UnityEngine; using XED.VirtualFactory; +#if UNITY_EDITOR [CustomEditor(typeof(AGVNode))] public class AGVNodeEditor : Editor { @@ -31,4 +32,5 @@ namespace XED.EditorUtil Selection.activeGameObject = copy.gameObject; } } +#endif } \ No newline at end of file diff --git a/Assets/Scripts/Studio/AssetTool/RenderObjectHandler.cs b/Assets/Scripts/Studio/AssetTool/RenderObjectHandler.cs index b9ccd8b5..545ee4b9 100644 --- a/Assets/Scripts/Studio/AssetTool/RenderObjectHandler.cs +++ b/Assets/Scripts/Studio/AssetTool/RenderObjectHandler.cs @@ -1,4 +1,3 @@ -using Microsoft.Unity.VisualStudio.Editor; using System; using System.Collections.Generic; using System.Linq; diff --git a/Assets/Scripts/Studio/AssetTool/TwinObjectPreprocessingHelper.cs b/Assets/Scripts/Studio/AssetTool/TwinObjectPreprocessingHelper.cs index 4b50a547..599fee8f 100644 --- a/Assets/Scripts/Studio/AssetTool/TwinObjectPreprocessingHelper.cs +++ b/Assets/Scripts/Studio/AssetTool/TwinObjectPreprocessingHelper.cs @@ -14,6 +14,7 @@ namespace XED { static List twinContainerList = new(); +#if UNITY_EDITOR [MenuItem("Tools/TwinObjectsSetting")] public static void TwinObjectsSetting() { @@ -21,7 +22,6 @@ namespace XED } - //TODO : °æ·Î¸¦ ÇϵåÄÚµù ÇÏ´Â ¹æ½Ä ÀÌ¿ÜÀÇ ´Ù¸¥ ¹æ½Ä Ȱ¿ë, Prefab ÀÇ À̸§ ÆÄ½ÌÀ» ÀÌ¿ëÇÑ ¹æ½Ä Ȱ¿ë(PRF_Robot01_Robot) static void AutomateTwinObjectSetup() { @@ -115,6 +115,6 @@ namespace XED transparentTexture.Apply(); return transparentTexture; } - +#endif } } diff --git a/Assets/Scripts/Studio/Machine/AGV/AGV.cs b/Assets/Scripts/Studio/Machine/AGV/AGV.cs index d6a09446..9bb8c43f 100644 --- a/Assets/Scripts/Studio/Machine/AGV/AGV.cs +++ b/Assets/Scripts/Studio/Machine/AGV/AGV.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using UnityEditor.VersionControl; using UnityEngine; namespace XED.VirtualFactory diff --git a/Assets/Scripts/Studio/Machine/StackerCrane/StackerCrane.cs b/Assets/Scripts/Studio/Machine/StackerCrane/StackerCrane.cs index 90394568..32573547 100644 --- a/Assets/Scripts/Studio/Machine/StackerCrane/StackerCrane.cs +++ b/Assets/Scripts/Studio/Machine/StackerCrane/StackerCrane.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using UnityEditor.Localization.Plugins.XLIFF.V12; using UnityEngine; using XRLib; diff --git a/Assets/Settings/Build Profiles/New Windows Profile.asset b/Assets/Settings/Build Profiles/New Windows Profile.asset index d71ff0cb..f361cef1 100644 --- a/Assets/Settings/Build Profiles/New Windows Profile.asset +++ b/Assets/Settings/Build Profiles/New Windows Profile.asset @@ -19,7 +19,9 @@ MonoBehaviour: m_PlatformBuildProfile: rid: 4833515164744024360 m_OverrideGlobalSceneList: 1 - m_Scenes: [] + m_Scenes: + - m_enabled: 1 + m_path: Assets/Scenes/0.22.7.unity m_ScriptingDefines: [] m_PlayerSettingsYaml: m_Settings: @@ -40,7 +42,7 @@ MonoBehaviour: - line: '| cursorHotspot: {x: 0, y: 0}' - line: '| m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}' - - line: '| m_ShowUnitySplashScreen: 1' + - line: '| m_ShowUnitySplashScreen: 0' - line: '| m_ShowUnitySplashLogo: 1' - line: '| m_SplashScreenOverlayOpacity: 1' - line: '| m_SplashScreenAnimation: 1'