增加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

@@ -24,6 +24,9 @@ namespace Stary.Evo
[Sirenix.OdinInspector.ReadOnly] public string className;
public LoadResType loadResType;
[Sirenix.OdinInspector.ReadOnly] [ShowIf("loadResType", LoadResType.Prefab)]
/// <summary>
@@ -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<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);
// }
[ShowIf("loadResType", LoadResType.Scene)]
public LoadSceneMode loadSceneMode;
public enum LoadResType
{
Prefab,
Scene
}
// public enum PonitPrefabType
// {
// Single,
// Plural
// }
public enum LoadSceneMode
{
Single,
Additive,
}
}
}

View File

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