Add hot-update boot pipeline, UI bundles/atlas assets, and design docs.
Ignore AIClient/Library and AIClient/HybridCLRData permanently; include HybridCLR/YooAsset project setup and UI tooling. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using System.IO;
|
||||
using AIGame.EditorTools;
|
||||
|
||||
public static class UIGenRebuildConfirm
|
||||
{
|
||||
public static string Run()
|
||||
{
|
||||
string json = Path.Combine(JsonUIPrefabBuilder.ResolveDefaultJsonRoot(), "UI_ConfirmDialog.json");
|
||||
string output = JsonUIPrefabBuilder.BuildFromJsonFile(json);
|
||||
return string.IsNullOrEmpty(output) ? "FAILED" : output;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System.Text;
|
||||
using TMPro;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
public static class UIGenVerifyFont
|
||||
{
|
||||
public static string Run()
|
||||
{
|
||||
var go = AssetDatabase.LoadAssetAtPath<GameObject>("Assets/Bundles/UI/Prefab/UI_ConfirmDialog.prefab");
|
||||
if (go == null) return "NO_PREFAB";
|
||||
var tmps = go.GetComponentsInChildren<TextMeshProUGUI>(true);
|
||||
var sb = new StringBuilder();
|
||||
sb.Append("count=").Append(tmps.Length).Append(';');
|
||||
foreach (var t in tmps)
|
||||
{
|
||||
sb.Append(t.name).Append('=');
|
||||
sb.Append(t.font != null ? t.font.name : "null").Append(';');
|
||||
}
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user