From cdc3b68c19faee0c36f6c2338d2cf32f2652aea6 Mon Sep 17 00:00:00 2001 From: geondo55 <102933884+geondo55@users.noreply.github.com> Date: Thu, 27 Mar 2025 09:42:16 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=8C=EB=93=9C=20=ED=94=84=EB=A1=9C?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20editor?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20=EC=A0=84=EC=B2=98=EB=A6=AC=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/AGVMapEditor.cs | 2 ++ Assets/AGVNodeEditor.cs | 2 ++ Assets/Scripts/Studio/AssetTool/RenderObjectHandler.cs | 1 - .../Studio/AssetTool/TwinObjectPreprocessingHelper.cs | 4 ++-- Assets/Scripts/Studio/Machine/AGV/AGV.cs | 1 - Assets/Scripts/Studio/Machine/StackerCrane/StackerCrane.cs | 1 - Assets/Settings/Build Profiles/New Windows Profile.asset | 6 ++++-- 7 files changed, 10 insertions(+), 7 deletions(-) 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'