//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(); }
private static void CrystalHeartClicked(string buttonName) { BindableFunctions.ToggleCrystalHeart(); }
private static void AutoClicked(string buttonName) { BindableFunctions.ToggleEnemyAutoScan(); }
private static void CollisionClicked(string buttonName) { BindableFunctions.ToggleEnemyCollision(); }
private static void SaveDataClicked(string buttonName) { BindableFunctions.SaveDGData(); }
private static void FlowerClicked(string buttonName) { BindableFunctions.ToggleXunFlower(); }
private static void LoveKeyClicked(string buttonName) { BindableFunctions.ToggleLoveKey(); }
private static void MapQuillClicked(string buttonName) { BindableFunctions.ToggleMapQuill(); }
private static void SoulTyrantClicked(string buttonName) { BindableFunctions.ToggleSoulTyrant(); }
private static void FailedChampClicked(string buttonName) { BindableFunctions.ToggleFailedChamp(); }
private static void RespawnBossClicked(string buttonName) { BindableFunctions.RespawnBoss(); }
private static void CycloneSlashClicked(string buttonName) { BindableFunctions.ToggleCycloneSlash(); }
private static void GreatSlashClicked(string buttonName) { BindableFunctions.ToggleGreatSlash(); }
private static void DreamGateClicked(string buttonName) { BindableFunctions.ToggleDreamGate(); }
private static void IsmasTearClicked(string buttonName) { BindableFunctions.ToggleIsmasTear(); }
private static void LanternClicked(string buttonName) { BindableFunctions.ToggleLantern(); }
private static void TramPassClicked(string buttonName) { BindableFunctions.ToggleTramPass(); }
private static void LostKinClicked(string buttonName) { BindableFunctions.ToggleLostKin(); }
private static void ElegantKeyClicked(string buttonName) { BindableFunctions.ToggleElegantKey(); }
private static void NKGrimmClicked(string buttonName) { BindableFunctions.ToggleNKGrimm(); }
private static void KingsbrandClicked(string buttonName) { BindableFunctions.ToggleKingsbrand(); }
private static void PaleOreClicked(string buttonName) { BindableFunctions.GivePaleOre(); }
private static void ReadDataClicked(string buttonName) { BindableFunctions.ReadDGData(); }
private static void SimpleKeyClicked(string buttonName) { BindableFunctions.GiveSimpleKey(); }
private static void AddItemClicked(string buttonName) { BindableFunctions.AddDGPosition(); }
private static void RancidEggClicked(string buttonName) { BindableFunctions.GiveRancidEgg(); }
private static void HPBarsClicked(string buttonName) { BindableFunctions.ToggleEnemyHPBars(); }
private static void GeoClicked(string buttonName) { BindableFunctions.GiveGeo(); }
private static void ScanClicked(string buttonName) { BindableFunctions.EnemyScan(); }
private static void EssenceClicked(string buttonName) { BindableFunctions.GiveEssence(); }