Interactible.cpp 619 B

123456789101112131415161718192021222324252627282930
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2. #include "Interactible.h"
  3. #include "Interaction.h"
  4. // Sets default values for this component's properties
  5. UInteractible::UInteractible()
  6. {
  7. // Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features
  8. // off to improve performance if you don't need them.
  9. PrimaryComponentTick.bCanEverTick = false;
  10. // ...
  11. }
  12. // Called when the game starts
  13. void UInteractible::BeginPlay()
  14. {
  15. Super::BeginPlay();
  16. // ...
  17. }
  18. void UInteractible::Interact()
  19. {
  20. // Interaction->Interact();
  21. }