增加scene标签

This commit is contained in:
2025-06-17 10:58:37 +08:00
parent 4472d1081c
commit 9966b8ec43
2 changed files with 11 additions and 24 deletions

View File

@@ -25,6 +25,9 @@ namespace Stary.Evo
public LoadResType loadResType; public LoadResType loadResType;
[Sirenix.OdinInspector.ReadOnly] [ShowIf("loadResType", LoadResType.Prefab)] [Sirenix.OdinInspector.ReadOnly] [ShowIf("loadResType", LoadResType.Prefab)]
/// <summary> /// <summary>
/// 入口预制体 /// 入口预制体
@@ -33,34 +36,18 @@ namespace Stary.Evo
[ShowIf("loadResType", LoadResType.Scene)] [ShowIf("loadResType", LoadResType.Scene)]
public string mainScene; public string mainScene;
[ShowIf("loadResType", LoadResType.Scene)]
public LoadSceneMode loadSceneMode;
// [ShowIfGroup("loadResType", LoadResType.Prefab)]
// public PonitPrefabType ponitPrefabType;
// [ShowIfGroup("loadResType", LoadResType.Prefab)]
// [ShowIf("ponitPrefabType", PonitPrefabType.Plural)]
// [OnCollectionChanged("OnPointConfDichChanged")]
// public Dictionary<string, string> PonitConfDic = new Dictionary<string, string>();
// private void OnPointConfDichChanged(CollectionChangeInfo info, object value)
// {
// Debug.Log("Received callback BEFORE CHANGE with the following info: " + info +
// ", and the following collection instance: " + value);
// }
public enum LoadResType public enum LoadResType
{ {
Prefab, Prefab,
Scene Scene
} }
// public enum PonitPrefabType public enum LoadSceneMode
// { {
// Single, Single,
// Plural Additive,
// } }
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "com.staryevo.main", "name": "com.staryevo.main",
"version": "1.2.16", "version": "1.2.17",
"displayName": "00.StaryEvo", "displayName": "00.StaryEvo",
"description": "This is an Framework package(后台服务器版本端口9527)", "description": "This is an Framework package(后台服务器版本端口9527)",
"unity": "2021.3", "unity": "2021.3",