Files
cocos4/templates/wechatprogram/app.js
T
mmyduckx 38c0ed4f95 add wechatprogram platform support (#14580)
* add wechatprogram platform support
2023-03-15 14:13:24 +08:00

30 lines
654 B
JavaScript
Executable File

// app.js
App({
GameGlobal: {
screencanvas: undefined,
canvas: undefined,
System: undefined,
Image: undefined,
cc: undefined,
CocosEngine: undefined,
ccwindow: undefined,
fsUtils: undefined,
document: undefined,
requestAnimationFrame: undefined,
cancelAnimationFrame: undefined,
Image: undefined,
ImageBitmap: undefined,
XMLHttpRequest: undefined,
WebSocket: undefined,
DOMParser: undefined,
WebAssembly: undefined,
WXWebAssembly: undefined,
_touchStart: undefined,
_touchMove: undefined,
_touchEnd: undefined,
_touchCancel: undefined,
},
onLaunch() {
},
})