Custom Widget OnClicked Event?
I have a Custom Widget button, and I would like to have several of it in a menu interface. Kind of like a template for a ready-made button. I have rigged the animations and binded the text as a public variable to allow individual text editing for each of the buttons, however, I am not able to find the Event OnClicked or Event OnPressed or any of those for my custom button. Is there something I've done wrong? How can I somehow access an OnClicked Event for each individual button to perform separate functions when clicked?
asked Aug 10 '16 at 10:21 PM in Blueprint Scripting
There is a couple of different ways to do this and it is entirely up to you.
Option 1 ) Get a reference to your button template's button object, and bind in your parent widget.
Option 2 ) Expose an Event Dispatcher and call that event dispatcher inside your template widget, binding in your parent widget.
Hope this helps!
Follow this question
Once you sign in you will be able to subscribe for any updates here