Land Explorer in HomeCamp with boot loading, journal UI, and CDN publish tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-11-04 16:18:01 +08:00
co-authored by Cursor
parent 9eec364f30
commit 80678ec499
405 changed files with 48053 additions and 420302 deletions
+41
View File
@@ -0,0 +1,41 @@
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
public static class CheckPetFacing
{
public static string Run()
{
var paths = new[]
{
"Assets/Bundles/Characters/Animal/FireCat/FireCat_Companion.prefab",
"Assets/Bundles/Characters/Animal/RockBallStudio/RockBallStudio_Companion.prefab",
"Assets/Bundles/Characters/Animal/BudBud/BudBud_Companion.prefab"
};
var sb = new System.Text.StringBuilder();
foreach (var path in paths)
{
var go = AssetDatabase.LoadAssetAtPath<GameObject>(path);
if (go == null) continue;
var smr = go.GetComponentInChildren<SkinnedMeshRenderer>();
var anim = go.GetComponentInChildren<Animator>();
sb.AppendLine($"=== {go.name} ===");
if (smr != null)
{
var bounds = smr.localBounds;
sb.AppendLine($" SMR: {smr.name}, localBounds center={bounds.center}, size={bounds.size}");
if (smr.rootBone != null)
{
sb.AppendLine($" RootBone: {smr.rootBone.name}, localRot={smr.rootBone.localEulerAngles}, forward={smr.rootBone.forward}");
}
}
if (anim != null)
{
sb.AppendLine($" Animator on: {anim.gameObject.name}, rot={anim.transform.localEulerAngles}");
}
}
return sb.ToString();
}
}
#endif