public void OnArmorProfileSelect() { //Load the armor profile if "New Profile" is not selected if (armorProfileDropdown.captionText.text == newProfileString) { Debug.Log("New profile selected!"); diceRoller.ClearArmorAction(); } else { Debug.Log("Selected profile " + armorProfileDropdown.captionText.text + " - should be index " + (armorProfileDropdown.value - ARMOR_PROFILE_OFFSET)); diceRoller.SelectArmorProfle(profileManager.armorProfileList[armorProfileDropdown.value - ARMOR_PROFILE_OFFSET]); } }