Test UPROPERTY Specifiers

This commit is contained in:
강민제 2025-04-13 22:45:26 +09:00
parent 2eb7d0b0ff
commit 42ad5e0fe7

View File

@ -18,6 +18,15 @@ public:
UPROPERTY(VisibleAnywhere)
int32 VisibleAnywhereInt = 12;
UPROPERTY(EditAnywhere)
int32 EditAnywhereInt = 22;
UPROPERTY(VisibleInstanceOnly)
int32 VisibleInstanceOnlyInt = 11;
UPROPERTY(EditAnywhere)
FString TestString = "Test String";
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;