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 "HitInterface.generated.h"
- // This class does not need to be modified.
- UINTERFACE(MinimalAPI)
- class UHitInterface : public UInterface
- {
- GENERATED_BODY()
- };
- /**
- *
- */
- class SLASH_API IHitInterface
- {
- GENERATED_BODY()
- // Add interface functions to this class. This is the class that will be inherited to implement this interface.
- public:
- UFUNCTION(BlueprintNativeEvent)
- void GetHit(const FVector& ImpactPoint);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement