Download

Combine Delegates with Data Assets?

Hi, I recently discovered the functionality of the Data Asset, and i decided to use is in my game.
I’m thinking about doing an unique class that interacts with my Character, and fill it with a Data Asset that contains info like static mesh, collider size ecc, but this actor has an interface that inherits a Interact() function, so a door will load a new level, and a crate will give a treasure content, yadda yadda yadda. but to do this i should do another class that inherits the Interactable actor, and i want to avoid that! i thought something like passing a delegate, or a way to fill the Interact() function, within the Data Asset, but i don’t know is that possible. Someone has any nice idea about this?