Add prototype gameplay loop with character/battlefield assets and server game APIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-10-20 18:50:00 +08:00
co-authored by Cursor
parent 79369e4473
commit 6c64210331
833 changed files with 998079 additions and 1042 deletions
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.IO;
using AIGame.EditorTools;
using UnityEditor;
using UnityEngine;
public static class BuildMail
{
public static string Build()
{
if (EditorApplication.isPlaying) throw new Exception("Build mail in Edit Mode");
string repo = Directory.GetParent(Application.dataPath).Parent.FullName;
if (string.IsNullOrEmpty(JsonUIPrefabBuilder.BuildFromJsonFile(Path.Combine(repo, "Doc/UIPrefabCreater/UI_PrototypeMail.json")))) throw new Exception("Mail prefab failed");
SetupUiBundleCollector.Setup(); AssetDatabase.SaveAssets();
return "Built Candy mail list, paged rows, scrollable details and claim buttons from JSON.";
}
}