refactor(editor): 脚手架改用 GroundNavigator,移除寻路库引用与导航面放置工具
This commit is contained in:
@@ -15,7 +15,6 @@ using BaseGames.UI.Splash;
|
||||
using BaseGames.World;
|
||||
using BaseGames.World.Map;
|
||||
using BaseGames.World.Streaming;
|
||||
using PathBerserker2d;
|
||||
using Unity.Cinemachine;
|
||||
using UnityEditor;
|
||||
using UnityEditor.SceneManagement;
|
||||
@@ -764,10 +763,6 @@ namespace BaseGames.Editor
|
||||
groundRb.bodyType = RigidbodyType2D.Static;
|
||||
GetOrAddComponent<CompositeCollider2D>(groundTileGo);
|
||||
|
||||
// NavSurface for PathBerserker2d
|
||||
GameObject navGo = GetOrCreateChild(envGroup, "NavSurface").gameObject;
|
||||
GetOrAddComponent<NavSurface>(navGo);
|
||||
|
||||
// ── [Transitions] ──────────────────────────────────────────────
|
||||
GetOrCreateChild(root.transform, "[Transitions]");
|
||||
|
||||
@@ -813,7 +808,7 @@ namespace BaseGames.Editor
|
||||
else
|
||||
report.Add($"MapRoomDataSO 已存在({roomSoPath}),请确认其 RoomId / Exits 与场景保持同步。");
|
||||
report.Add("绑定 LensConfig SO 后单击 Inspector 中「从可视区域更新限位区域」计算正确的 BoxCollider。");
|
||||
report.Add("使用 Tile Palette 在 Ground Tilemap 上绘制地形,然后在 NavSurface Inspector 中点击 Bake。");
|
||||
report.Add("使用 Tile Palette 在 Ground Tilemap 上绘制地形。");
|
||||
report.Add("[Transitions] 子节点下使用 BaseGames/Scene/Place/Room Transition 添加过渡点。");
|
||||
|
||||
MarkDirtyAndLog("Game Room 脚手架", root, report);
|
||||
|
||||
Reference in New Issue
Block a user