drgame-cc 1.0.36 → 1.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-templates/web-mobile/jz-jdt-3.png +0 -0
- package/build-templates/web-mobile/jz-jdt-4.png +0 -0
- package/build-templates/web-mobile/logo.png +0 -0
- package/drscript/PlatformAdapter.ts +6 -0
- package/drscript/interface/ILobbyBridge.ts +5 -0
- package/package.json +1 -1
- package/build-templates/web-mobile/16+.png +0 -0
- package/build-templates/web-mobile/splash.png +0 -0
- package/build-templates/web-mobile/splash_en.png +0 -0
- package/build-templates/web-mobile/src/hls.min.js +0 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -223,4 +223,10 @@ export class PlatformAdapter {
|
|
|
223
223
|
public static get isCocos() {
|
|
224
224
|
return window['cc'] != undefined;
|
|
225
225
|
}
|
|
226
|
+
|
|
227
|
+
/** 退出游戏 */
|
|
228
|
+
public static exitGame() {
|
|
229
|
+
let bridge: ILobbyBridge = cc.director.getScene().getComponentInChildren('LobbyBridge');
|
|
230
|
+
bridge && bridge.exitGame();
|
|
231
|
+
}
|
|
226
232
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|