UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (AllowPrivateAccess = “true”))
static UBoxComponent* Blue_Box;
Unrecognized type ‘static’ - type must be a UCLASS, USTRUCT or UENUM
i need to use “static”, becouse without it there is an error E0245
What is EO245?
Does this component member need to be private? If you change the scope to public, remove the meta property and static keyword, does it compile?
zeaf
(Zeaf)
3
You cannot have static uproperties
Why does it need to be static?