同步主站 Cocos 当前工程:关卡资源、运行脚本与打包工具。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-12 14:40:34 +08:00
parent ae75fce80b
commit fac515a669
5609 changed files with 27744634 additions and 5653 deletions

View File

@@ -28,7 +28,10 @@ export class VehicleController extends Movement {
/** 不调用 super.start(),避免 component.start 晚于 LevelInit 绑定后再次用 spawn 方向刷贴图 */
start() {
this.syncCommittedCellFromPosition();
if (!this.getCommittedCell()) {
this.syncCommittedCellFromPosition();
this.markDrawOrderDirty();
}
if (this.player) {
this.syncFacingFromRider();
}