21 lines
610 B
C++
Executable file
21 lines
610 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "DebrisActorComponent.h"
|
|
#include "RandRange.h"
|
|
#include "DebrisProbabilityComponent.generated.h"
|
|
|
|
UCLASS(Blueprintable, ClassGroup=Custom, meta=(BlueprintSpawnableComponent))
|
|
class UDebrisProbabilityComponent : public UDebrisActorComponent {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FRandRange ProbabilityRange;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
bool IsProbabilityShared;
|
|
|
|
public:
|
|
UDebrisProbabilityComponent();
|
|
};
|
|
|