[Fix] Refactor project

This commit is contained in:
2026-03-02 12:49:12 +07:00
parent f65976796d
commit f52131f755
44 changed files with 449 additions and 404 deletions
@@ -19,13 +19,13 @@ namespace YachtDice.Modifiers.Editor
return;
}
int errorCount = 0;
int warnCount = 0;
var errorCount = 0;
var warnCount = 0;
var usedIds = new Dictionary<string, string>(); // id -> asset path
for (int i = 0; i < guids.Length; i++)
foreach (var t in guids)
{
string path = AssetDatabase.GUIDToAssetPath(guids[i]);
var path = AssetDatabase.GUIDToAssetPath(t);
var def = AssetDatabase.LoadAssetAtPath<ModifierDefinition>(path);
if (def == null)