I’m wondering how to use custom buttons created using widget blueprints in Verse, since in the Assets Digest it’s class is of a widget
, so the OnClick() method is not implemented. I tried casting like so:
if(z:= button[btn]):
z.OnClick().Subscribe(test)
But it doesn’t work. I also tried using the button
and button_slot
classes, like so:
y: button = button{
Slot:= button_slot{
Widget:= btn
}
}
y.OnClick().Subscribe(test)
Can anyone tell if it’s possible and how? (P.S.: casting button_loud, button_regular and button_quiet doesn’t work as well.)