From ee6d14e4bd74b5f6fd574d969ec1322fa21c88f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=93=AE?= <834207172@qq.com> Date: Fri, 31 Oct 2025 15:36:54 +0800 Subject: [PATCH] 111 --- .../Runtime/ArtLoadAssetServer.cs | 17 ++++++++++++++++- Assets/00.BuildOriginality/package.json | 2 +- .../Resources/DeviceXEventPanel.prefab | 2 +- .../Runtime/EventHandler/DeviceXEventHandler.cs | 2 +- Assets/00.StaryEvoTools/package.json | 2 +- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/Assets/00.BuildOriginality/Runtime/ArtLoadAssetServer.cs b/Assets/00.BuildOriginality/Runtime/ArtLoadAssetServer.cs index 05ceb11..61fb875 100644 --- a/Assets/00.BuildOriginality/Runtime/ArtLoadAssetServer.cs +++ b/Assets/00.BuildOriginality/Runtime/ArtLoadAssetServer.cs @@ -24,6 +24,7 @@ namespace Stary.Evo ip = hotfixMainResDomain.hotfixMainResDomainEntity.ipconfig; } + /// /// 获取服务器全部作用域 /// @@ -66,7 +67,7 @@ namespace Stary.Evo var resDmainRequst = new ResProductRequst() { ProductName = Application.identifier, -#if UNITY_EDITOR +#if UNITY_EDITOR Platform = UnityEditor.EditorUserBuildSettings.activeBuildTarget.ToString() #else Platform = Application.platform.ToString() @@ -79,6 +80,20 @@ namespace Stary.Evo { List resDmainResponse = JsonConvert.DeserializeObject>(resDmainMessageEntity.data.ToString()); + ResDmainResponse mainDmainResponse = default; + for (int i = 0; i < resDmainResponse.Count; i++) + { + if (resDmainResponse[i].DomainName == "Main") + { + mainDmainResponse = resDmainResponse[i]; + } + } + + if (mainDmainResponse.DomainName == "Main") + { + resDmainResponse.Remove(mainDmainResponse); + } + return resDmainResponse; } diff --git a/Assets/00.BuildOriginality/package.json b/Assets/00.BuildOriginality/package.json index 74d392a..a6dbfb9 100644 --- a/Assets/00.BuildOriginality/package.json +++ b/Assets/00.BuildOriginality/package.json @@ -1,6 +1,6 @@ { "name": "com.staryevo.buildoriginality", - "version": "1.0.3", + "version": "1.0.4", "displayName": "00.StaryEvo.BuildOriginality", "description": "美术打包工具", "unity": "2021.3", diff --git a/Assets/00.StaryEvoTools/Resources/DeviceXEventPanel.prefab b/Assets/00.StaryEvoTools/Resources/DeviceXEventPanel.prefab index aeedaa8..d209d6d 100644 --- a/Assets/00.StaryEvoTools/Resources/DeviceXEventPanel.prefab +++ b/Assets/00.StaryEvoTools/Resources/DeviceXEventPanel.prefab @@ -249,7 +249,7 @@ RectTransform: m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: -0.095} - m_SizeDelta: {x: 32.34861, y: 5} + m_SizeDelta: {x: 20, y: 3} m_Pivot: {x: 0.5, y: 0.5} --- !u!223 &7581257579931840423 Canvas: diff --git a/Assets/00.StaryEvoTools/Runtime/EventHandler/DeviceXEventHandler.cs b/Assets/00.StaryEvoTools/Runtime/EventHandler/DeviceXEventHandler.cs index ccc223b..32f011b 100644 --- a/Assets/00.StaryEvoTools/Runtime/EventHandler/DeviceXEventHandler.cs +++ b/Assets/00.StaryEvoTools/Runtime/EventHandler/DeviceXEventHandler.cs @@ -52,7 +52,7 @@ public class DeviceXEventHandler : MonoBehaviour void Start() { StringEventSystem.Global.Register("X_Button", SetXbutton); - StringEventSystem.Global.Register("X_SetHierarchyType", SetHierarchyType); + StringEventSystem.Global.Register("X_ButtonHierarchyType", SetHierarchyType); } void OnDestroy() { diff --git a/Assets/00.StaryEvoTools/package.json b/Assets/00.StaryEvoTools/package.json index e182f88..d491c54 100644 --- a/Assets/00.StaryEvoTools/package.json +++ b/Assets/00.StaryEvoTools/package.json @@ -1,6 +1,6 @@ { "name": "com.staryevo.tools", - "version": "1.1.12", + "version": "1.1.13", "displayName": "00.StaryEvo.Tools", "description": "This is an Framework package(后台服务器版本,端口9527)", "unity": "2021.3",