I’m trying to create my own type of asset following this tutorial: Adding New Asset Types to UE4 | gmpreussner
Everything is working fine except for the Asset type actions. I just want to assign a custom color and category to my asset type but I’m really confused about how the FAssetTypeActions_Base is supposed to work.
Do I just have to define the class of my custom asset in the GetSupportedClass function so that the editor can automatically use the asset type action or am I missing something?
Here’s the code of my GopScriptActions.cpp:
And here’s the code of my GopScriptActions.h: