Add placed actor persistence foundation
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "AgrarianShelterActor.generated.h"
|
||||
|
||||
class UBoxComponent;
|
||||
class UAgrarianPersistentActorComponent;
|
||||
class UStaticMeshComponent;
|
||||
|
||||
UCLASS(Blueprintable)
|
||||
@@ -23,6 +24,9 @@ public:
|
||||
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Agrarian|Shelter")
|
||||
TObjectPtr<UBoxComponent> ProtectionVolume;
|
||||
|
||||
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Agrarian|Shelter")
|
||||
TObjectPtr<UAgrarianPersistentActorComponent> PersistentActorComponent;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Agrarian|Shelter", meta = (ClampMin = "0", ClampMax = "1"))
|
||||
float WeatherProtection = 0.65f;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user