I'm trying to use the same function for multiple UI buttons and when I press them I want the function to get the "Info" Panel which is a variable menu thingy stored in each of the buttons.
Issue is is that I have no idea how to reference the button that called the function without directly making reference to the specific individual buttons because that would be stinky, and also without making a new script to copy into each of the buttons because I also think that would be stinky and that I should try to avoid it (even though I'm bad at programming).
Any help would be appreciated! Thank you!