模块(项目)名_API
#pragma once
#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "TEST.generated.h"
UCLASS()
class MYGame_API UTEST : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintCallable, Category ="TEST")
static void TestFun();
};
大约 4 分钟