Files
cocos/extensions/game-controller-inspector/package.json
刘宇飞 d393302388 Complete Cocos Creator port with level bundles, themes, and tooling.
Adds level prefabs, theme assets, audio, extensions, and deployment scripts for the Unity WebGL migration.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 15:30:58 +08:00

59 lines
1.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"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"]
}
}
}
}