结构体的编写
摘要:USTRUCT(BlueprintType) struct FClientDataStruct { GENERATED_USTRUCT_BODY() //目标职业 UPROPERTY(EditAnywhere, BlueprintReadWrite) ESTPlayerJob TargetJob;
阅读全文
接口的使用
摘要:.h // This class does not need to be modified. UINTERFACE(MinimalAPI, Blueprintable) class UStepInterface : public UInterface { GENERATED_BODY() }; /*
阅读全文
获取子系统
摘要:UStepSystemSubsystem* StepSystemSubsystem = UGameplayStatics::GetGameInstance(this)->GetSubsystem<UStepSystemSubsystem>();
阅读全文