ui基本完毕,修了一大把的bug
This commit is contained in:
@@ -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)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user