ui基本完毕,修了一大把的bug

This commit is contained in:
FloatGaming
2026-07-13 02:28:39 +08:00
parent 1e20d73e90
commit fd22501f71
958 changed files with 378289 additions and 41038 deletions
+20
View File
@@ -0,0 +1,20 @@
using System;
using System.Linq;
using UnityEditor;
using UnityEngine;
public static class TempHeroLevelDump
{
[MenuItem("Tools/Temp/Dump Hero Levels")]
public static void Run()
{
var guids = AssetDatabase.FindAssets("t:AllyHero_SO", new[]{"Assets/Resources/so/ally"});
foreach (var g in guids.Take(12))
{
var path = AssetDatabase.GUIDToAssetPath(g);
var so = AssetDatabase.LoadAssetAtPath<AllyHero_SO>(path);
if (so == null) continue;
Debug.Log($"{so.ally_heroID} | {so.ally_heroName} | exp={so.ally_currentEXP} | unlockedTier={so.ally_growthUnlockedTierIndex} | display={so.GetDisplayLevelRatingKey()} | levelStats={(so.levelStats!=null?so.levelStats.Count:0)}");
}
}
}