This commit is contained in:
2026-08-26 17:54:28 +08:00
parent 392a45b05d
commit 5613ae428b
7 changed files with 76 additions and 20 deletions
@@ -130,6 +130,11 @@ public class MonsterControl_BossBase : MonsterContral
// 避免 UpdateYZMovement 里 _yzPrefix 为空导致鱼阵 Boss 不移动
SetYzPrefix(yzID);
// ⭐ Boss朝向:不随路线切线旋转,按路线编号奇偶翻转X轴
// (单数路线=左→右保持预制体正向,双数路线=右→左翻转X轴为负)
if (isMove && IsRouteFlipBoss)
ApplyBossRouteFlip(pathId);
// ⭐ 创建视频处理:配置了 createVideoClip 时通过 GameMainPanel 的播放器播放
// 播放期间 OnMoveUpdata 会跳过移动,视频结束后才开始走路线
_createVideoDuration = 0f;