March 2019
Intermediate to advanced
708 pages
17h 9m
English
/** * UCLASS macro options sets this C++ class to be * Blueprintable within the UE4 Editor */UCLASS( Blueprintable )class CHAPTER_02_API UUserProfile : public UObject{ GENERATED_BODY()public: UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Stats) float Armor; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Stats) float HpMax;};
This can be done in the same way that we saw in the previous recipe, ...