CogSample: Add properties to test inspector TSet and TMap

This commit is contained in:
Arnaud Jamin
2025-02-08 00:29:26 -05:00
parent 157d8bae84
commit a5cd84be7f
+9 -1
View File
@@ -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") };
};