// Token: 0x06000126 RID: 294 RVA: 0x0000BC78 File Offset: 0x00009E78 public void setsizeChange() { if (!this.isRun) { Screen.orientation = ScreenOrientation.LandscapeLeft; Application.runInBackground = true; Application.targetFrameRate = 30; base.useGUILayout = false; Main.isCompactDevice = Main.detectCompactDevice(); if (Main.main == null) { Main.main = this; } this.isRun = true; ScaleGUI.initScaleGUI(); if (Main.isPC) { Main.IMEI = SystemInfo.deviceUniqueIdentifier; } else { Main.IMEI = this.GetMacAddress(); } Main.isPC = true; if (Main.isPC) { Screen.fullScreen = false; } if (Main.isWindowsPhone) { Main.typeClient = 6; } if (Main.isPC) { Main.typeClient = 4; } if (Main.IphoneVersionApp) { Main.typeClient = 5; } if (iPhoneSettings.generation == iPhoneGeneration.iPodTouch4Gen) { Main.isIpod = true; } if (iPhoneSettings.generation == iPhoneGeneration.iPhone4) { Main.isIphone4 = true; } Main.g = new mGraphics(); Main.midlet = new GameMidlet(); TileMap.loadBg(); Paint.loadbg(); PopUp.loadBg(); GameScr.loadBg(); InfoMe.gI().loadCharId(); Panel.loadBg(); Menu.loadBg(); Key.mapKeyPC(); SoundMn.gI().loadSound(TileMap.mapID); Main.g.CreateLineMaterial(); } }