Commit 835e078a authored by liujiaxin's avatar liujiaxin

feat: change image & position

parent b7c52902
......@@ -88,7 +88,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
} else if (cc.sys.isNative && cc.sys.os == cc.sys.OS_WINDOWS) {
console.log('汪汪汪')
} else {
throw ('非源生环境');
console.warn('非源生环境');
}
}
initSize() {
......@@ -184,6 +184,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
} else {
console.log("callOcMethod('getEngineInfo') error" + success);
}
if (!cc.sys.isNative) {
// @ts-ignores
window.air.getEngineInfoCallback(true)
}
}
initBg() {
// const bgNode = cc.find('Canvas/MainScene/SpaceView/bg');
......@@ -544,7 +548,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const operationMachine = createMachine(operationState);
this.gameMachineService = interpret(operationMachine).onTransition((state) => {
// console.log(1, state);
console.log(1, state);
});
}
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 291,
"height": 324,
"width": 282,
"height": 300,
"platformSettings": {},
"subMetas": {
"letter_sos": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment