Fix usage of raw pointers on UProperties
This commit is contained in:
1 parent
d7f0742170
commit
a24deacce3
2 files changed
+4
-4
No files matched your search
@@ -125,8 +125,8 @@ public:
|
||||
FColor ImpactNormalColor = FColor::Cyan;
|
||||
|
||||
UPROPERTY(EditAnywhere)
|
||||
USceneComponent* StartComponent = nullptr;
|
||||
TObjectPtr<USceneComponent> StartComponent;
|
||||
|
||||
UPROPERTY(EditAnywhere)
|
||||
USceneComponent* EndComponent = nullptr;
|
||||
TObjectPtr<USceneComponent> EndComponent;
|
||||
};
|
||||
@@ -134,10 +134,10 @@ protected:
|
||||
static FString ResetLayoutCommand;
|
||||
|
||||
UPROPERTY()
|
||||
mutable TArray<UCogCommonConfig*> Configs;
|
||||
mutable TArray<TObjectPtr<UCogCommonConfig>> Configs;
|
||||
|
||||
UPROPERTY()
|
||||
mutable TArray<const UObject*> Assets;
|
||||
mutable TArray<TObjectPtr<const UObject>> Assets;
|
||||
|
||||
UPROPERTY(Config)
|
||||
bool bShowMainMenu = false;
|
||||
|
||||
Reference in new issue
Block a user