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",