노출된 변수 편집
This commit is contained in:
parent
0a1f05cd1c
commit
5ed115899d
BIN
Content/Blueprints/Pawns/BP_PawnTank.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Pawns/BP_PawnTank.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Maps/Main.umap
(Stored with Git LFS)
BIN
Content/Maps/Main.umap
(Stored with Git LFS)
Binary file not shown.
@ -15,18 +15,27 @@ public:
|
|||||||
// Sets default values for this pawn's properties
|
// Sets default values for this pawn's properties
|
||||||
ABasePawn();
|
ABasePawn();
|
||||||
|
|
||||||
UPROPERTY(VisibleAnywhere)
|
UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
|
||||||
int32 VisibleAnywhereInt = 12;
|
int32 VisibleAnywhereInt = 12;
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere)
|
UPROPERTY(EditAnywhere, BlueprintReadOnly)
|
||||||
int32 EditAnywhereInt = 22;
|
int32 EditAnywhereInt = 22;
|
||||||
|
|
||||||
UPROPERTY(VisibleInstanceOnly)
|
UPROPERTY(VisibleInstanceOnly)
|
||||||
int32 VisibleInstanceOnlyInt = 11;
|
int32 VisibleInstanceOnlyInt = 11;
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere)
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||||
FString TestString = "Hello World";
|
FString TestString = "Hello World";
|
||||||
|
|
||||||
|
UPROPERTY(VisibleDefaultsOnly)
|
||||||
|
int32 VisibleDefaultOnlyInt = 5;
|
||||||
|
|
||||||
|
UPROPERTY(EditDefaultsOnly)
|
||||||
|
int32 EditDefaultOnlyInt = 9;
|
||||||
|
|
||||||
|
UPROPERTY(EditInstanceOnly)
|
||||||
|
int32 EditInstanceOnlyInt = 14;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Called when the game starts or when spawned
|
// Called when the game starts or when spawned
|
||||||
virtual void BeginPlay() override;
|
virtual void BeginPlay() override;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user