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.
- #pragma once
- #include "CoreMinimal.h"
- #include "UObject/Interface.h"
- #include "ReactToTriggerInterface.generated.h"
- // This class does not need to be modified.
- UINTERFACE(MinimalAPI)
- class UReactToTriggerInterface : public UInterface
- {
- GENERATED_BODY()
- };
- /**
- *
- */
- class SPACEPROJECT_API IReactToTriggerInterface
- {
- GENERATED_BODY()
- // Add interface functions to this class. This is the class that will be inherited to implement this interface.
- public:
- /** React to a trigger volume activating this object. Return true if the reaction succeeds. */
- UFUNCTION(BlueprintCallable, BlueprintImplementableEvent, Category = "Trigger Reaction")
- bool ReactToTrigger() const;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement