增加scene标签
This commit is contained in:
@@ -24,6 +24,9 @@ namespace Stary.Evo
|
|||||||
[Sirenix.OdinInspector.ReadOnly] public string className;
|
[Sirenix.OdinInspector.ReadOnly] public string className;
|
||||||
|
|
||||||
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,
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user