private void OnHover() { switch (Argument) { case "Cleric": infoPopup.LoadHeroInformation(2); break; case "Druid": infoPopup.LoadHeroInformation(3); break; case "Monk": infoPopup.LoadHeroInformation(4); break; case "Ranger": infoPopup.LoadHeroInformation(5); break; case "Rogue": infoPopup.LoadHeroInformation(0); break; case "Warrior": infoPopup.LoadHeroInformation(1); break; case "Wizard": infoPopup.LoadHeroInformation(6); break; // case "Ready": // break; // case "Minimize": // break; case "Tavern": infoPopup.LoadTavernInformation(); break; default: Debug.Log("No proper target found"); break; } }