更新
This commit is contained in:
@@ -64,6 +64,11 @@ namespace Continentis.Mods
|
||||
[ListDrawerSettings(ShowIndexLabels = false)]
|
||||
public List<string> equipmentDataIDList = new List<string>();
|
||||
|
||||
[BoxGroup("资产列表")]
|
||||
[LabelText("CombatNode Data ID 列表")]
|
||||
[ListDrawerSettings(ShowIndexLabels = false)]
|
||||
public List<string> combatDataIDList = new List<string>();
|
||||
|
||||
[BoxGroup("资产列表")]
|
||||
[LabelText("HUD Data ID 列表")]
|
||||
[ListDrawerSettings(ShowIndexLabels = false)]
|
||||
@@ -80,6 +85,7 @@ namespace Continentis.Mods
|
||||
SaveIDListToDatabase<CardData>(host, cardDataIDList);
|
||||
SaveIDListToDatabase<CharacterData>(host, characterDataIDList);
|
||||
SaveIDListToDatabase<EquipmentData>(host, equipmentDataIDList);
|
||||
SaveIDListToDatabase<CombatNodeData>(host, combatDataIDList);
|
||||
SaveIDListToDatabase<HUDData>(host, hudDataIDList);
|
||||
|
||||
// 加载此 Mod 的 EditorBaseCollection(含意图图标 Sprite 等运行时资源)
|
||||
@@ -137,6 +143,7 @@ namespace Continentis.Mods
|
||||
CollectAllCardData();
|
||||
CollectAllCharacterData();
|
||||
CollectAllEquipmentData();
|
||||
CollectAllCombatData();
|
||||
CollectAllHUDData();
|
||||
CollectAllLocalizations();
|
||||
CollectEditorBaseCollection();
|
||||
@@ -176,6 +183,14 @@ namespace Continentis.Mods
|
||||
EditorUtility.SetDirty(this);
|
||||
}
|
||||
|
||||
[FoldoutGroup("工具/分别收集")]
|
||||
[Button("收集 CombatNodeData")]
|
||||
private void CollectAllCombatData()
|
||||
{
|
||||
combatDataIDList = CollectData<CombatNodeData>();
|
||||
EditorUtility.SetDirty(this);
|
||||
}
|
||||
|
||||
[FoldoutGroup("工具/分别收集")]
|
||||
[Button("收集 HUDData")]
|
||||
private void CollectAllHUDData()
|
||||
|
||||
Reference in New Issue
Block a user