Navigation
API > API/Plugins > API/Plugins/InteractableInterface > API/Plugins/InteractableInterface/UInteractionTargetComponent
Description
Called when this target is interacted with. Implement any state changes or gameplay affects you want this interaction to have here
| Name | BP_BeginInteraction |
| Type | function |
| Header File | /Engine/Plugins/Experimental/InteractionInterface/Source/InteractableInterface/Public/InteractionTargetComponent.h |
| Include Path | #include "InteractionTargetComponent.h" |
| Source | /Engine/Plugins/Experimental/InteractionInterface/Source/InteractableInterface/Private/InteractionTargetComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Interactions",
Meta=(DisplayName="Begin Interaction", AutoCreateRefTerm="Context"))
void BP_BeginInteraction
(
const FInteractionContext & Context
)
Parameters
| Name | Remarks |
|---|---|
| Context | The context of this interaction. This is customizable for your game by adding additional context types. |