Esempio n. 1
0
        //TODO: Remove all these pointless functions, call BindableFunctions.whatever directly

        private static void HideMenuClicked(string buttonName)
        {
            Text text = CanvasUtil.CreateTextPanel(GUIController.Instance.canvas, "", 27, TextAnchor.MiddleCenter,
                                                   new CanvasUtil.RectData(
                                                       new Vector2(0, 50),
                                                       new Vector2(0, 45),
                                                       new Vector2(0, 0),
                                                       new Vector2(1, 0),
                                                       new Vector2(0.5f, 0.5f))).GetComponent <Text>();

            text.font     = CanvasUtil.TrajanBold;
            text.text     = $"Press {Enum.GetName(typeof(KeyCode), DebugMod.settings.binds["Toggle All UI"])} to unhide the menu!";
            text.fontSize = 42;
            text.CrossFadeAlpha(1f, 0f, false);
            text.CrossFadeAlpha(0f, 6f, false);
            BindableFunctions.ToggleAllPanels();
        }
Esempio n. 2
0
 private static void CrystalHeartClicked(string buttonName)
 {
     BindableFunctions.ToggleCrystalHeart();
 }
Esempio n. 3
0
 private static void AutoClicked(string buttonName)
 {
     BindableFunctions.ToggleEnemyAutoScan();
 }
Esempio n. 4
0
 private static void CollisionClicked(string buttonName)
 {
     BindableFunctions.ToggleEnemyCollision();
 }
Esempio n. 5
0
 private static void SaveDataClicked(string buttonName)
 {
     BindableFunctions.SaveDGData();
 }
Esempio n. 6
0
 private static void FlowerClicked(string buttonName)
 {
     BindableFunctions.ToggleXunFlower();
 }
Esempio n. 7
0
 private static void LoveKeyClicked(string buttonName)
 {
     BindableFunctions.ToggleLoveKey();
 }
Esempio n. 8
0
 private static void MapQuillClicked(string buttonName)
 {
     BindableFunctions.ToggleMapQuill();
 }
Esempio n. 9
0
 private static void SoulTyrantClicked(string buttonName)
 {
     BindableFunctions.ToggleSoulTyrant();
 }
Esempio n. 10
0
 private static void FailedChampClicked(string buttonName)
 {
     BindableFunctions.ToggleFailedChamp();
 }
Esempio n. 11
0
 private static void RespawnBossClicked(string buttonName)
 {
     BindableFunctions.RespawnBoss();
 }
Esempio n. 12
0
 private static void CycloneSlashClicked(string buttonName)
 {
     BindableFunctions.ToggleCycloneSlash();
 }
Esempio n. 13
0
 private static void GreatSlashClicked(string buttonName)
 {
     BindableFunctions.ToggleGreatSlash();
 }
Esempio n. 14
0
 private static void DreamGateClicked(string buttonName)
 {
     BindableFunctions.ToggleDreamGate();
 }
Esempio n. 15
0
 private static void IsmasTearClicked(string buttonName)
 {
     BindableFunctions.ToggleIsmasTear();
 }
Esempio n. 16
0
 private static void LanternClicked(string buttonName)
 {
     BindableFunctions.ToggleLantern();
 }
Esempio n. 17
0
 private static void TramPassClicked(string buttonName)
 {
     BindableFunctions.ToggleTramPass();
 }
Esempio n. 18
0
 private static void LostKinClicked(string buttonName)
 {
     BindableFunctions.ToggleLostKin();
 }
Esempio n. 19
0
 private static void ElegantKeyClicked(string buttonName)
 {
     BindableFunctions.ToggleElegantKey();
 }
Esempio n. 20
0
 private static void NKGrimmClicked(string buttonName)
 {
     BindableFunctions.ToggleNKGrimm();
 }
Esempio n. 21
0
 private static void KingsbrandClicked(string buttonName)
 {
     BindableFunctions.ToggleKingsbrand();
 }
Esempio n. 22
0
 private static void PaleOreClicked(string buttonName)
 {
     BindableFunctions.GivePaleOre();
 }
Esempio n. 23
0
 private static void ReadDataClicked(string buttonName)
 {
     BindableFunctions.ReadDGData();
 }
Esempio n. 24
0
 private static void SimpleKeyClicked(string buttonName)
 {
     BindableFunctions.GiveSimpleKey();
 }
Esempio n. 25
0
 private static void AddItemClicked(string buttonName)
 {
     BindableFunctions.AddDGPosition();
 }
Esempio n. 26
0
 private static void RancidEggClicked(string buttonName)
 {
     BindableFunctions.GiveRancidEgg();
 }
Esempio n. 27
0
 private static void HPBarsClicked(string buttonName)
 {
     BindableFunctions.ToggleEnemyHPBars();
 }
Esempio n. 28
0
 private static void GeoClicked(string buttonName)
 {
     BindableFunctions.GiveGeo();
 }
Esempio n. 29
0
 private static void ScanClicked(string buttonName)
 {
     BindableFunctions.EnemyScan();
 }
Esempio n. 30
0
 private static void EssenceClicked(string buttonName)
 {
     BindableFunctions.GiveEssence();
 }