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:
@@ -5,4 +5,12 @@
|
||||
3. 项目设置中将 main 设为启动场景
|
||||
4. 点击播放即可
|
||||
|
||||
无需手动创建 GameController / Player,AppBootstrap 会自动搭建。
|
||||
在 AppRoot 上可同时挂 GameController、GameManager(也可由 AppBootstrap 自动添加)。
|
||||
预览运行时:
|
||||
1) 画面顶部有「切换关卡」按钮(最可靠);
|
||||
2) 选中 AppRoot:
|
||||
- 展开 GameController → 填 inputLevel(原生字段)
|
||||
- 展开 AppBootstrap → 预览 ▶ 后点底部 SwitchLevel
|
||||
或菜单:扩展 → SwitchLevel(当前选中 AppRoot)
|
||||
须启用 game-controller-inspector v3.1;改版本后请重启 Cocos 再刷新扩展。
|
||||
填写 inputLevel 后点按钮,勿再使用勾选框。
|
||||
|
||||
Reference in New Issue
Block a user