Files
ChildHood/Source/ChildHood/Variant_SideScrolling/Interfaces/SideScrollingInteractable.h
T
DESKTOP-2K5TJI4\admin 05b1e1bd95 config: 初始化UE5项目文件与C++源码
- ChildHood.uproject + Config/ 引擎配置
- Source/ 含第三人称模板、战斗/平台/横版变体
- .vsconfig Visual Studio依赖配置
2026-06-01 18:26:28 +08:00

32 lines
646 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "SideScrollingInteractable.generated.h"
/**
*
*/
UINTERFACE(MinimalAPI, NotBlueprintable)
class USideScrollingInteractable : public UInterface
{
GENERATED_BODY()
};
/**
* Simple interface to allow Actors to interact without having knowledge of their internal implementation.
*/
class ISideScrollingInteractable
{
GENERATED_BODY()
public:
/** Triggers an interaction by the provided Actor */
UFUNCTION(BlueprintCallable, Category="Interactable")
virtual void Interaction(AActor* Interactor) = 0;
};