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>
This commit is contained in:
@@ -1,16 +1,58 @@
|
||||
{
|
||||
"package_version": 2,
|
||||
"name": "game-controller-inspector",
|
||||
"version": "1.0.0",
|
||||
"description": "GameController Inspector 调试按钮(对齐 Unity TestGame2)",
|
||||
"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": {
|
||||
"section": {
|
||||
"footer": {
|
||||
"node": {
|
||||
"GameController": "./dist/inspector.js"
|
||||
"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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user