I am new to UE4 game development, but I am try to achieve something simple, but not sure what the right method is.
I have multiple meshes in my level, each mesh is a different shape. I want to add an onClick event to each mesh that populates a variable indicating which shape was clicked.
The blueprint that handles the on click will be the same for each mesh. I know I can create a blueprint and add a mesh to it, but how can I create a “generic” blueprint and add it to any of my meshes? TIA for any suggestions.