Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fill out your copyright notice in the Description page of Project Settings.
- #include "ATrap.h"
- // Sets default values
- AATrap::AATrap()
- {
- // Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
- PrimaryActorTick.bCanEverTick = true;
- }
- // Called when the game starts or when spawned
- void AATrap::BeginPlay()
- {
- Super::BeginPlay();
- }
- // Called every frame
- void AATrap::Tick(float DeltaTime)
- {
- Super::Tick(DeltaTime);
- }
- // Have tried with and without this ReactToTrigger
- bool AATrap::ReactToTrigger() const
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement