1
Support / Re: UILayoutContainerSizer reset layout
« on: November 08, 2013, 04:48:26 pm »
Thanks, I'll work around that then.
You might have missed my second question:
Is there a way to add an event so when someone clicks on the button, it will call a function with a specific parameter based on the id of that button?
Something like:
onClick += loadLevel(levelID);
Right now I can add an event for a function without parameter. Is there a way to do it for functions with parameters?
You might have missed my second question:
Is there a way to add an event so when someone clicks on the button, it will call a function with a specific parameter based on the id of that button?
Something like:
onClick += loadLevel(levelID);
Right now I can add an event for a function without parameter. Is there a way to do it for functions with parameters?