From 9966b8ec43809e9a0390b88e20fcbe02e895f087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=93=AE?= <834207172@qq.com> Date: Tue, 17 Jun 2025 10:58:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0scene=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Runtime/PlayerSettings/DomainConfig.cs | 33 ++++++------------- Assets/00.StaryEvo/package.json | 2 +- 2 files changed, 11 insertions(+), 24 deletions(-) diff --git a/Assets/00.StaryEvo/Runtime/PlayerSettings/DomainConfig.cs b/Assets/00.StaryEvo/Runtime/PlayerSettings/DomainConfig.cs index 4fd2439..c83dc6b 100644 --- a/Assets/00.StaryEvo/Runtime/PlayerSettings/DomainConfig.cs +++ b/Assets/00.StaryEvo/Runtime/PlayerSettings/DomainConfig.cs @@ -24,6 +24,9 @@ namespace Stary.Evo [Sirenix.OdinInspector.ReadOnly] public string className; public LoadResType loadResType; + + + [Sirenix.OdinInspector.ReadOnly] [ShowIf("loadResType", LoadResType.Prefab)] /// @@ -33,34 +36,18 @@ namespace Stary.Evo [ShowIf("loadResType", LoadResType.Scene)] public string mainScene; - - - // [ShowIfGroup("loadResType", LoadResType.Prefab)] - // public PonitPrefabType ponitPrefabType; - - // [ShowIfGroup("loadResType", LoadResType.Prefab)] - // [ShowIf("ponitPrefabType", PonitPrefabType.Plural)] - // [OnCollectionChanged("OnPointConfDichChanged")] - // public Dictionary PonitConfDic = new Dictionary(); - - - // private void OnPointConfDichChanged(CollectionChangeInfo info, object value) - // { - // Debug.Log("Received callback BEFORE CHANGE with the following info: " + info + - // ", and the following collection instance: " + value); - // } - - + [ShowIf("loadResType", LoadResType.Scene)] + public LoadSceneMode loadSceneMode; public enum LoadResType { Prefab, Scene } - // public enum PonitPrefabType - // { - // Single, - // Plural - // } + public enum LoadSceneMode + { + Single, + Additive, + } } } \ No newline at end of file diff --git a/Assets/00.StaryEvo/package.json b/Assets/00.StaryEvo/package.json index cf09475..7d600a2 100644 --- a/Assets/00.StaryEvo/package.json +++ b/Assets/00.StaryEvo/package.json @@ -1,6 +1,6 @@ { "name": "com.staryevo.main", - "version": "1.2.16", + "version": "1.2.17", "displayName": "00.StaryEvo", "description": "This is an Framework package(后台服务器版本,端口9527)", "unity": "2021.3",