Array of Delegates
Why is it not possible to make an array of delegates? And if it isn't, then why is it possible to do anyway? I couldn't find any source about it, but I don't see a reason why it couldn't be done thisway. Or if it is intended then how could an array of delegates be used?
Feature request part: It would be nice to store this as a variable also, since I'd use this array somewhere else too. Don't delegates work like the references? That I could pass around and it would still point at the very same event?
asked Nov 02 '16 at 03:55 PM in Bug Reports
I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further considerations. I have also provided a link to the public tracker. Please feel free to use the link provided for future updates. Thank you for your time and information.
Make it a great day
answered Nov 02 '16 at 06:31 PM
Rudy Q ♦♦ STAFF
While this does look like an interesting bug, I'm not sure why you would create an array of delegates.
Your example would work just fine if you take the custom event "ClickCard0" and connect it straight to the "BindEventOnClicked".
Every single card in that array, would trigger the ClickCard event binding and do that PrintString.
answered Nov 02 '16 at 04:18 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here