mirror of
https://github.com/Ed94/Cog.git
synced 2026-06-13 00:01:37 -07:00
CogSample: Add properties to test inspector TSet and TMap
This commit is contained in:
@@ -282,7 +282,7 @@ public:
|
||||
|
||||
UFUNCTION(BlueprintCallable, BlueprintPure=false)
|
||||
bool GetMontage(FName MontageName, UAnimMontage*& Montage, bool bPrintWarning) const;
|
||||
|
||||
|
||||
protected:
|
||||
friend class ACogSamplePlayerController;
|
||||
|
||||
@@ -389,5 +389,13 @@ protected:
|
||||
|
||||
bool bIsAiming = false;
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
// Inspector Map Set Test
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
UPROPERTY(EditAnywhere, Category="Inspector Test")
|
||||
TMap<FString, FVector> MapTest = { { FString("A"), FVector(1, 2, 3) }, { FString("B"), FVector(4, 5, 6) } };
|
||||
|
||||
UPROPERTY(EditAnywhere, Category="Inspector Test")
|
||||
TSet<FString> SetTest = { FString("A"), FString("B") };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user