15 lines
372 B
C++
Executable file
15 lines
372 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "BehaviorTree/BTDecorator.h"
|
|
#include "BTDecorator_RandomChance.generated.h"
|
|
|
|
UCLASS(Blueprintable)
|
|
class UBTDecorator_RandomChance : public UBTDecorator {
|
|
GENERATED_BODY()
|
|
public:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
float Chance;
|
|
|
|
UBTDecorator_RandomChance();
|
|
};
|
|
|