Adds level prefabs, theme assets, audio, extensions, and deployment scripts for the Unity WebGL migration. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
297 B
JavaScript
11 lines
297 B
JavaScript
'use strict';
|
||
|
||
/** 编辑器 ▶ 预览:注入 data/levels-database.json(不打包进 resources) */
|
||
exports.methods = {
|
||
apply(json) {
|
||
if (typeof window !== 'undefined' && json && typeof json === 'object') {
|
||
window.__tfrhLevelsDatabaseJson = json;
|
||
}
|
||
},
|
||
};
|