mirror of
https://github.com/Ed94/Cog.git
synced 2026-08-02 20:58:15 +00:00
Fix usage of raw pointers on UProperties
This commit is contained in:
@@ -125,8 +125,8 @@ public:
|
|||||||
FColor ImpactNormalColor = FColor::Cyan;
|
FColor ImpactNormalColor = FColor::Cyan;
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere)
|
UPROPERTY(EditAnywhere)
|
||||||
USceneComponent* StartComponent = nullptr;
|
TObjectPtr<USceneComponent> StartComponent;
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere)
|
UPROPERTY(EditAnywhere)
|
||||||
USceneComponent* EndComponent = nullptr;
|
TObjectPtr<USceneComponent> EndComponent;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -134,10 +134,10 @@ protected:
|
|||||||
static FString ResetLayoutCommand;
|
static FString ResetLayoutCommand;
|
||||||
|
|
||||||
UPROPERTY()
|
UPROPERTY()
|
||||||
mutable TArray<UCogCommonConfig*> Configs;
|
mutable TArray<TObjectPtr<UCogCommonConfig>> Configs;
|
||||||
|
|
||||||
UPROPERTY()
|
UPROPERTY()
|
||||||
mutable TArray<const UObject*> Assets;
|
mutable TArray<TObjectPtr<const UObject>> Assets;
|
||||||
|
|
||||||
UPROPERTY(Config)
|
UPROPERTY(Config)
|
||||||
bool bShowMainMenu = false;
|
bool bShowMainMenu = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user