Editor Utility Widget, is there a way to create an asset selector button?

I am working on a editor Utility widget, and i need to select an animation using the tipical asset seletor box you found everywhere in the editor.

Is there a way to create such selector boxes in the widget? i need to select an animation, for example.

Thanks a lot.

2 Likes

I found a way to do it, Using the “Details View” and “Single Property View” controls.

1 Like

Hi, how do you get the value of SinglePropertyView? For example, you put a animation sequence/montage into the slot, but the “OnPropertyChanged” event only gives the property name, not the value.

You can get it from the Property that you already assigned to the SinglePropertyView! OnPropertyChanged will give you the chance to check if it is not empty