I am trying to clean the code a little. I have many situations in which I have a button (Widget) and it’s conected to a blueprint actor to do something. And this conecction I have done it like this:
I would like to delete all “Get all actors of class” nodes. I found a solution, with a public variable, but It doesn’t work with widgets. (I can’t set the actor). Look this post:
Any idea how can I resolve that connections?