Add Trigger Volume, and some UPROPERTIES

This commit is contained in:
Tyrel Souza 2018-02-19 13:58:18 -05:00
parent 122bd96a81
commit 750ec49b72
3 changed files with 8 additions and 1 deletions

Binary file not shown.

View File

@ -4,6 +4,8 @@
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "Engine/TriggerVolume.h"
#include "OpenDoor.generated.h"
@ -24,6 +26,11 @@ public:
// Called every frame
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
private:
UPROPERTY(VisibleAnywhere)
float OpenAngle = 90.f;
UPROPERTY(EditAnywhere)
ATriggerVolume* PressurePlate;
};