Advertisement
Guest User

ATrap.cpp

a guest
Oct 21st, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.60 KB | None | 0 0
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2.  
  3.  
  4. #include "ATrap.h"
  5.  
  6. // Sets default values
  7. AATrap::AATrap()
  8. {
  9.     // Set this actor to call Tick() every frame.  You can turn this off to improve performance if you don't need it.
  10.     PrimaryActorTick.bCanEverTick = true;
  11.  
  12. }
  13.  
  14. // Called when the game starts or when spawned
  15. void AATrap::BeginPlay()
  16. {
  17.     Super::BeginPlay();
  18.    
  19. }
  20.  
  21. // Called every frame
  22. void AATrap::Tick(float DeltaTime)
  23. {
  24.     Super::Tick(DeltaTime);
  25.  
  26. }
  27.  
  28. // Have tried with and without this ReactToTrigger
  29. bool AATrap::ReactToTrigger() const
  30. {
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement