Adds level prefabs, theme assets, audio, extensions, and deployment scripts for the Unity WebGL migration. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
309 B
TypeScript
8 lines
309 B
TypeScript
/** 与 Unity / 主站 config.js BEGINNING_REAL_LVID 一致;首关 91601 */
|
||
export const LEVEL_ID_BASE = 91601;
|
||
|
||
/** 主站合法关卡 ID:从 BEGINNING_REAL_LVID(91601)起 */
|
||
export function isGameLevelId(levelID: number): boolean {
|
||
return Number.isFinite(levelID) && levelID >= LEVEL_ID_BASE;
|
||
}
|