In the object inherits UAssetActionUtility
, there is a member function which is marked as “UFUNCTION(CallInEditor)
”. The member function should appears in menu options when right-clicking on a group of assets in the content browser, like in 5.0:
However, this would not be okay in 5.4. Very appreciate if anyone could help me.
The header file is:
#include "CoreMinimal.h"
#include "AssetActionUtility.h"
#include "UAssetTools.generated.h"
/**
*
*/
UCLASS()
class MICOANIMTOOLS_API UAssetTools : public UAssetActionUtility
{
GENERATED_BODY()
public:
UFUNCTION(CallInEditor)
void TestFunc();
};
The build.cs is:
PublicDependencyModuleNames.AddRange(
new string[]
{
"Core", "Blutility"
// ... add other public dependencies that you statically link with here ...
}
);