增加scene标签
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user