I will have an “inventory” widget with a lot of buttons, 50 buttons+,
instead of manuallly place 50 event “On Clicked (BTN_01)…”
can i have 1 event general evnet (on click button), and then ask , if is BTN_01 , do this, if BTN_02 do this…?
I am little lost,
maybe i can use Event dispatchers? how?
maybe i can place custom widget inside the inventory and , let the child-widget talk to the parent? how?