Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
InteractableInterface.h
이 파일의 문서화 페이지로 가기
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 "InteractableInterface.generated.h"
8
12
13
14// This class does not need to be modified.
15UINTERFACE()
16class UInteractableInterface : public UInterface
17{
18 GENERATED_BODY()
19};
20
21
26{
27 GENERATED_BODY()
28
29public:
30 friend class UInteractionChannel;
31
32public:
33 virtual UInteractionChannel* Interact(AActor* Caller);
34
35public:
37 UFUNCTION(BlueprintNativeEvent, Category = "Interaction")
38 void OnInteractionFocusEntered(AActor* Caller);
39
41 UFUNCTION(BlueprintNativeEvent, Category = "Interaction")
42 void OnInteractionFocusExited(AActor* Caller);
43
44protected:
45 UFUNCTION()
46 virtual void OnBeginInteraction(const AActor* Caller);
47
48 UFUNCTION()
49 virtual void OnEndInteraction(const AActor* Caller);
50};
Definition CharacterBase.h:21
Definition InteractableInterface.h:26
Definition InteractabilityComponent.h:15
Definition InteractableInterface.h:17
Definition InteractionChannel.h:21