Exemplo 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();
        }
Exemplo n.º 2
0
 private static void CrystalHeartClicked(string buttonName)
 {
     BindableFunctions.ToggleCrystalHeart();
 }
Exemplo n.º 3
0
 private static void AutoClicked(string buttonName)
 {
     BindableFunctions.ToggleEnemyAutoScan();
 }
Exemplo n.º 4
0
 private static void CollisionClicked(string buttonName)
 {
     BindableFunctions.ToggleEnemyCollision();
 }
Exemplo n.º 5
0
 private static void SaveDataClicked(string buttonName)
 {
     BindableFunctions.SaveDGData();
 }
Exemplo n.º 6
0
 private static void FlowerClicked(string buttonName)
 {
     BindableFunctions.ToggleXunFlower();
 }
Exemplo n.º 7
0
 private static void LoveKeyClicked(string buttonName)
 {
     BindableFunctions.ToggleLoveKey();
 }
Exemplo n.º 8
0
 private static void MapQuillClicked(string buttonName)
 {
     BindableFunctions.ToggleMapQuill();
 }
Exemplo n.º 9
0
 private static void SoulTyrantClicked(string buttonName)
 {
     BindableFunctions.ToggleSoulTyrant();
 }
Exemplo n.º 10
0
 private static void FailedChampClicked(string buttonName)
 {
     BindableFunctions.ToggleFailedChamp();
 }
Exemplo n.º 11
0
 private static void RespawnBossClicked(string buttonName)
 {
     BindableFunctions.RespawnBoss();
 }
Exemplo n.º 12
0
 private static void CycloneSlashClicked(string buttonName)
 {
     BindableFunctions.ToggleCycloneSlash();
 }
Exemplo n.º 13
0
 private static void GreatSlashClicked(string buttonName)
 {
     BindableFunctions.ToggleGreatSlash();
 }
Exemplo n.º 14
0
 private static void DreamGateClicked(string buttonName)
 {
     BindableFunctions.ToggleDreamGate();
 }
Exemplo n.º 15
0
 private static void IsmasTearClicked(string buttonName)
 {
     BindableFunctions.ToggleIsmasTear();
 }
Exemplo n.º 16
0
 private static void LanternClicked(string buttonName)
 {
     BindableFunctions.ToggleLantern();
 }
Exemplo n.º 17
0
 private static void TramPassClicked(string buttonName)
 {
     BindableFunctions.ToggleTramPass();
 }
Exemplo n.º 18
0
 private static void LostKinClicked(string buttonName)
 {
     BindableFunctions.ToggleLostKin();
 }
Exemplo n.º 19
0
 private static void ElegantKeyClicked(string buttonName)
 {
     BindableFunctions.ToggleElegantKey();
 }
Exemplo n.º 20
0
 private static void NKGrimmClicked(string buttonName)
 {
     BindableFunctions.ToggleNKGrimm();
 }
Exemplo n.º 21
0
 private static void KingsbrandClicked(string buttonName)
 {
     BindableFunctions.ToggleKingsbrand();
 }
Exemplo n.º 22
0
 private static void PaleOreClicked(string buttonName)
 {
     BindableFunctions.GivePaleOre();
 }
Exemplo n.º 23
0
 private static void ReadDataClicked(string buttonName)
 {
     BindableFunctions.ReadDGData();
 }
Exemplo n.º 24
0
 private static void SimpleKeyClicked(string buttonName)
 {
     BindableFunctions.GiveSimpleKey();
 }
Exemplo n.º 25
0
 private static void AddItemClicked(string buttonName)
 {
     BindableFunctions.AddDGPosition();
 }
Exemplo n.º 26
0
 private static void RancidEggClicked(string buttonName)
 {
     BindableFunctions.GiveRancidEgg();
 }
Exemplo n.º 27
0
 private static void HPBarsClicked(string buttonName)
 {
     BindableFunctions.ToggleEnemyHPBars();
 }
Exemplo n.º 28
0
 private static void GeoClicked(string buttonName)
 {
     BindableFunctions.GiveGeo();
 }
Exemplo n.º 29
0
 private static void ScanClicked(string buttonName)
 {
     BindableFunctions.EnemyScan();
 }
Exemplo n.º 30
0
 private static void EssenceClicked(string buttonName)
 {
     BindableFunctions.GiveEssence();
 }