This commit is contained in:
2026-09-11 14:25:06 +08:00
parent e948b2a11a
commit 97d6fc93f8
12 changed files with 477 additions and 94 deletions
@@ -130,6 +130,10 @@ public class MonsterControl_BossBase : MonsterContral
// 避免 UpdateYZMovement 里 _yzPrefix 为空导致鱼阵 Boss 不移动
SetYzPrefix(yzID);
// ⭐ 缓存路线编号(Boss 未调 base.Init,lastMoveLineId 需单独保存,
// ApplyFacingDirection 的双数路线镜像 routeFlipMirror 按它判定奇偶)
lastMoveLineId = pathId;
// ⭐ Boss朝向:不随路线切线旋转,按路线编号奇偶翻转X轴
// (单数路线=左→右保持预制体正向,双数路线=右→左翻转X轴为负)
if (isMove && IsRouteFlipBoss)