private void CreateInterface() { new OptionsController(() => { ScenePassageController.instance.LoadScene <MainMenuController> ((a) => { instance.Destroy(); a(); }); }, null, false, -1.5f); new GUIImage("Textures/SelectLevel/Interface/RightBar", null, null, 10 + 541 / 4f, 10 + 315 / 4f, 541 / 2f, 315 / 2f, -3f, true); new GUIButton("Textures/SelectLevel/Interface/HellStation", null, null, 44 + 180 / 4f, 28 + 315 / 4f, 180 / 2f, 180 / 2f, -2.5f, true , (b) => { Settings.levelType = Settings.LevelType.Endless; LevelController.level = 4; ScenePassageController.instance.LoadScene <GameController> ((a) => { Destroy(); a(); }); }, (b) => { b += "Pushed"; }, (b) => { b -= "Pushed"; } ); new GUIButton("Textures/SelectLevel/Interface/Achievments", null, null, 44 + 112 + 180 / 4f, 28 + 315 / 4f, 180 / 2f, 180 / 2f, -2.5f, true , (b) => { ScenePassageController.instance.LoadScene <AchievementController> ((a) => { Destroy(); a(); }); }, (b) => { b += "Pushed"; }, (b) => { b -= "Pushed"; } ); new GUIImage("Textures/SelectLevel/Interface/LeftBar", 10 + 541 / 4f, null, null, 10 + 315 / 4f, 541 / 2f, 315 / 2f, -3f, true); new GUIButton("Textures/SelectLevel/Interface/Upgrades", 44 + 180 / 4f, null, null, 28 + 315 / 4f, 180 / 2f, 180 / 2f, -2.5f, true , (b) => { ScenePassageController.instance.LoadScene <UpgradeController> ((a) => { Destroy(); a(); }); }, (b) => { b += "Pushed"; }, (b) => { b -= "Pushed"; } ); new GUIButton("Textures/SelectLevel/Interface/Inventory", 44 + 112 + 180 / 4f, null, null, 28 + 315 / 4f, 180 / 2f, 180 / 2f, -2.5f, true , (b) => { ScenePassageController.instance.LoadScene <InventoryController> ((a) => { Destroy(); a(); }); }, (b) => { b += "Pushed"; }, (b) => { b -= "Pushed"; } ); new GUIImage("Textures/SelectLevel/Interface/Stars", 10 + 322 / 4f, 10 + 137 / 4f, null, null, 322 / 2f, 137 / 2f, -3f, true); new GUIImage("Textures/SelectLevel/Interface/StarsBar", 10 + 18 + 322 / 4f, 8 + 137 / 4f, null, null, 135 / 2f, 76 / 2f, -2.5f, true); new GUIImage("Textures/SelectLevel/Interface/" + (Settings.stars / 100) % 10, 10 + 18 - 37 / 2f + 322 / 4f, 8 + 137 / 4f, null, null , 34 / 2f, 60 / 2f, -2.5f, true); new GUIImage("Textures/SelectLevel/Interface/" + (Settings.stars / 10) % 10, 10 + 18 + 322 / 4f, 8 + 137 / 4f, null, null , 34 / 2f, 60 / 2f, -2.5f, true); new GUIImage("Textures/SelectLevel/Interface/" + (Settings.stars / 1) % 10, 10 + 18 + 37 / 2f + 322 / 4f, 8 + 137 / 4f, null, null , 34 / 2f, 60 / 2f, -2.5f, true); new GUIImage("Textures/SelectLevel/Interface/Diamonds", 180 + 322 / 4f, 10 + 137 / 4f, null, null, 416 / 2f, 136 / 2f, -3f, true); new GUIImage("Textures/SelectLevel/Interface/DiamondsBar", 180 + 5 + 322 / 4f, 8 + 137 / 4f, null, null, 173 / 2f, 76 / 2f, -2.5f, true); new GUIImage("Textures/SelectLevel/Interface/" + (Settings.diamonds / 1000) % 10, 180 + 5 - 1.5f * 37 / 2f + 322 / 4f, 8 + 137 / 4f, null, null , 34 / 2f, 60 / 2f, -2.5f, true); new GUIImage("Textures/SelectLevel/Interface/" + (Settings.diamonds / 100) % 10, 180 + 5 - 0.5f * 37 / 2f + 322 / 4f, 8 + 137 / 4f, null, null , 34 / 2f, 60 / 2f, -2.5f, true); new GUIImage("Textures/SelectLevel/Interface/" + (Settings.diamonds / 10) % 10, 180 + 5 + 0.5f * 37 / 2f + 322 / 4f, 8 + 137 / 4f, null, null , 34 / 2f, 60 / 2f, -2.5f, true); new GUIImage("Textures/SelectLevel/Interface/" + (Settings.diamonds / 1) % 10, 180 + 5 + 1.5f * 37 / 2f + 322 / 4f, 8 + 137 / 4f, null, null , 34 / 2f, 60 / 2f, -2.5f, true); new GUIButton("Textures/SelectLevel/Interface/Plus", 180 + 63 + 322 / 4f, 8 + 137 / 4f, null, null, 65 / 2f, 66 / 2f, -2.5f, true , (b) => { new BankMenu(() => { }, () => { new SlideController(1920 / 100f * Settings.FhdToHD, 1080 / 100f * Settings.FhdToHD, SlideController.Mode.SlideAndZoom, 3); } ); }, (b) => { b += "Pushed"; }, (b) => { b -= "Pushed"; } ); }