How to use import option like content browser


#1

Hi guys,

i’m trying to write asset manager like content browser, now i’m putting an import menu item, like content browser
but the problem is when i click on import button ( in import option menu ) file dialog is opening but in the content browser, it imports the file that I right-clicked on

how can I do that like content browser ?

Capture