Add rank, friends, fishing, and camp treasure with T2 studio models and skill presentation.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-10-21 23:01:31 +08:00
co-authored by Cursor
parent 89e0fa246f
commit 079313fb06
677 changed files with 395371 additions and 9692 deletions
+18
View File
@@ -0,0 +1,18 @@
using System;
using System.IO;
using AIGame.EditorTools;
using UnityEditor;
public static class BuildFishing
{
public static string Build()
{
if (EditorApplication.isPlaying) throw new Exception("Build the fishing page in Edit Mode");
string repo = Directory.GetParent(UnityEngine.Application.dataPath).Parent.FullName;
if (string.IsNullOrEmpty(JsonUIPrefabBuilder.BuildFromJsonFile(Path.Combine(repo, "Doc/UIPrefabCreater/UI_PrototypeFishing.json")))) throw new Exception("Fishing prefab failed");
if (string.IsNullOrEmpty(JsonUIPrefabBuilder.BuildFromJsonFile(Path.Combine(repo, "Doc/UIPrefabCreater/UI_PrototypeChallenges.json")))) throw new Exception("Challenge entry failed");
SetupUiBundleCollector.Setup();
AssetDatabase.SaveAssets();
return "Built the fishing page";
}
}