I'm trying to make a set of buttons that call the same function but with a different argument value. I saw that back in 2012, someone had the same problem here:
http://www.tasharen.com/forum/index.php?topic=2353.0and never solved it. I can see that if I add a button and put in a method that takes parameters, the button inspector shows an "Arg 0" field, but that seems to want me to drag in a gameobject. I want to be able to pass a string or int, for instance, not a gameobject.
I know I can make different methods that just differ in what value they pass on, and then attach each button to one of these methods, but I was wondering if there was a neater solution?