I've got the start of it easily enough, adding to the enum and:
void OnHover(bool isOver)
{
if (openOn == OpenOn.Hover && isOver)
Show();
else if (openOn == OpenOn.Hover && !isOver)
Close();
}
But the problem is once you try to go over the options it closes... so how would I make it detect being over the popup options as well, and only closing if the mouse is off both the original button and the dropdown's background? I imagine it involves adding a collider to the background sprite and some other reference to see if it's hovered over as well, but I'm not sure how that'd work since I don't think it'd call the UIPopUp.cs OnHover method?