Adds level prefabs, theme assets, audio, extensions, and deployment scripts for the Unity WebGL migration. Co-authored-by: Cursor <cursoragent@cursor.com>
59 lines
1.5 KiB
JSON
59 lines
1.5 KiB
JSON
{
|
||
"package_version": 2,
|
||
"name": "game-controller-inspector",
|
||
"version": "3.3.0",
|
||
"description": "GameController 调试按钮 + AppBootstrap SwitchLevel",
|
||
"author": "tfrh",
|
||
"editor": ">=3.8.0",
|
||
"main": "./dist/main.js",
|
||
"scene-script": "./dist/scene-script.js",
|
||
"contributions": {
|
||
"inspector": {
|
||
"footer": {
|
||
"node": {
|
||
"AppBootstrap": "./dist/footer.js",
|
||
"c0468XFPX1InLN14gtZ5PLf": "./dist/footer.js",
|
||
"GameController": "./dist/game-controller-footer.js",
|
||
"8940aPSKJhGKKIBE/qKnFm7": "./dist/game-controller-footer.js"
|
||
}
|
||
}
|
||
},
|
||
"menu": [
|
||
{
|
||
"path": "扩展",
|
||
"label": "SwitchLevel(当前选中 AppRoot)",
|
||
"message": "switch-level"
|
||
},
|
||
{
|
||
"path": "扩展/游戏调试",
|
||
"label": "Player 前进 1 格",
|
||
"message": "debug-move-fwd"
|
||
},
|
||
{
|
||
"path": "扩展/游戏调试",
|
||
"label": "Player 跳跃",
|
||
"message": "debug-jump"
|
||
},
|
||
{
|
||
"path": "扩展/游戏调试",
|
||
"label": "Player 获取坐标",
|
||
"message": "debug-player-info"
|
||
}
|
||
],
|
||
"messages": {
|
||
"switch-level": {
|
||
"methods": ["switchLevelOnSelection"]
|
||
},
|
||
"debug-move-fwd": {
|
||
"methods": ["debugMoveOnSelection"]
|
||
},
|
||
"debug-jump": {
|
||
"methods": ["debugJumpOnSelection"]
|
||
},
|
||
"debug-player-info": {
|
||
"methods": ["debugPlayerInfoOnSelection"]
|
||
}
|
||
}
|
||
}
|
||
}
|