Test UPROPERTY Specifiers
This commit is contained in:
parent
2eb7d0b0ff
commit
42ad5e0fe7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user