UPROPERTY(EditAnywhere)

Is there a way to apply “UPROPERTY(EditAnywhere)” on multiple objects?

So instead of this:

UPROPERTY(EditAnywhere)
int32 MyInt = 99;
UPROPERTY(EditAnywhere)
bool IsMoving;
UPROPERTY(EditAnywhere)
float PlatformValue;

Something like this:

UPROPERTY(EditAnywhere)
int32 MyInt = 99;
bool IsMoving;
float PlatformValue;

I get it is like a serializefield /public property , but it may make teh code a bit cleaner

It needs to be per property.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms