I’m making a custom content builder for my game framework.
so I need to get current selected asset in editor’s content panel.
How can I do this?
Thanks.
I’m making a custom content builder for my game framework.
so I need to get current selected asset in editor’s content panel.
How can I do this?
Thanks.
FContentBrowserModule& ContentBrowserModule = FModuleManager::LoadModuleChecked<FContentBrowserModule>("ContentBrowser");
ContentBrowserModule.GetOnAssetSelectionChanged().AddRaw(this, &MyPlugin::OnContentBrowserAssetSelectionChanged);
Cheers!