Advertisement
Guest User

ReactToTriggerInterface.h

a guest
Oct 21st, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.77 KB | None | 0 0
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2.  
  3. #pragma once
  4.  
  5. #include "CoreMinimal.h"
  6. #include "UObject/Interface.h"
  7. #include "ReactToTriggerInterface.generated.h"
  8.  
  9. // This class does not need to be modified.
  10. UINTERFACE(MinimalAPI)
  11. class UReactToTriggerInterface : public UInterface
  12. {
  13.     GENERATED_BODY()
  14. };
  15.  
  16. /**
  17.  *
  18.  */
  19. class SPACEPROJECT_API IReactToTriggerInterface
  20. {
  21.     GENERATED_BODY()
  22.  
  23.     // Add interface functions to this class. This is the class that will be inherited to implement this interface.
  24. public:
  25.     /** React to a trigger volume activating this object. Return true if the reaction succeeds. */
  26.     UFUNCTION(BlueprintCallable, BlueprintImplementableEvent, Category = "Trigger Reaction")
  27.         bool ReactToTrigger() const;
  28. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement