Activating object functions with buttons
So in C# I have a custom class that has a generic function within it and I want this function to be activated via button press, my problem is that I have multiple buttons and I want each individual button press to activate the function for a different object of the class and not just the function of the class itself, is it possible to activate specific object functions like this or is there a better way to go about this? Thank you!
Comment
Your answer
Follow this Question
Related Questions
Unity 2D Spawn on trigger 0 Answers
Easy! move on the -x axis 2d game 0 Answers
How can I create a bullet hell roguelike game? 1 Answer
Easy Short kill score script not working 0 Answers
Spriter Pro to Unity - save animations to a folder? 1 Answer