I add a callback function with no parameter to the “On Click()” list of a Button. Now I want to get the reference of the Button object in the callback function (Because the Button will be added many times dynamically at runtime and I want to know which one I am clicking). So, how should I do?
I’ve been bothered by this problem for a week, and can’t find any solution in the Unity Manual or Google (Maybe because my English is poor…). Please help me, thank you very much~