Commit 9d07eed1 authored by liujiangnan's avatar liujiangnan

feat

parent a47ffd65
...@@ -235,7 +235,8 @@ export abstract class middleLayerBase extends cc.Component { ...@@ -235,7 +235,8 @@ export abstract class middleLayerBase extends cc.Component {
} }
checkRotateScreen(oldSceneName: string, newSceneName: string) { checkRotateScreen(oldSceneName: string, newSceneName: string) {
const sceneNameList = ["cc_mz_link_write_03", "NJ_game_select", "OP11", "OP12", "cc_mz_link_write_01", "cc_mz_link_write_02", "OP_18"]; // const sceneNameList = ["cc_mz_link_write_03", "NJ_game_select", "OP11", "OP12", "cc_mz_link_write_01", "cc_mz_link_write_02", "OP_18"];
const sceneNameList = [];
if (sceneNameList.includes(oldSceneName) || sceneNameList.includes(newSceneName)) { if (sceneNameList.includes(oldSceneName) || sceneNameList.includes(newSceneName)) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
if (sceneNameList.includes(newSceneName)) { if (sceneNameList.includes(newSceneName)) {
......
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