Download

How to add component to custom asset?

Hi, I am trying to make a plugin, now i can create the custom asset and it’s editor, including the tabs like
BlueprintEditor, but i don’t know how to add component to my custom asset. I found the function to add component in BlueprintEditor is the AddNewComponent function in SSCSEditor class, But i can’t make it works. Is there anyone has some ideas or some code examples? Thank you for your help!!!