Einführung eines modularen Interaktionssystems: - Hinzufügen der `IInteractable`- und `IInteractionLookupProvider`-Schnittstellen. - Implementierung der `UInteractionComponent` zur Steuerung von Interaktionen (Tippen, Halten, Kontextmenü). - Integration der `InteractionComponent` in `KingshearthLegacyCharacter`. - Hinzufügen des `InteractionContextMenuWidget` für UI-Interaktionen. - Änderungen an `PlayerHUDWidget`, um Interaktions-Widgets zu unterstützen. - Neue Assets und Konfigurationsänderungen für Kollisionen und Redirects. - Verbesserte Modularität und Benutzerfreundlichkeit durch klare Trennung von Logik und Darstellung.
59 lines
1.8 KiB
C#
59 lines
1.8 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class KingshearthLegacy : ModuleRules
|
|
{
|
|
public KingshearthLegacy(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
|
|
|
|
PublicDependencyModuleNames.AddRange(new string[] {
|
|
"Core",
|
|
"CoreUObject",
|
|
"Engine",
|
|
"InputCore",
|
|
"EnhancedInput",
|
|
"AIModule",
|
|
"StateTreeModule",
|
|
"GameplayStateTreeModule",
|
|
"UMG",
|
|
"Slate",
|
|
"GameplayAbilities",
|
|
"GameplayTags",
|
|
"GameplayTasks"
|
|
});
|
|
|
|
PrivateDependencyModuleNames.AddRange(new string[] { });
|
|
|
|
PublicIncludePaths.AddRange(new string[] {
|
|
"KingshearthLegacy",
|
|
"KingshearthLegacy/AttributeSets",
|
|
"KingshearthLegacy/GameplayEffects",
|
|
"KingshearthLegacy/Interaction",
|
|
"KingshearthLegacy/UI/Menu",
|
|
"KingshearthLegacy/Variant_Platforming",
|
|
"KingshearthLegacy/Variant_Platforming/Animation",
|
|
"KingshearthLegacy/Variant_Combat",
|
|
"KingshearthLegacy/Variant_Combat/AI",
|
|
"KingshearthLegacy/Variant_Combat/Animation",
|
|
"KingshearthLegacy/Variant_Combat/Gameplay",
|
|
"KingshearthLegacy/Variant_Combat/Interfaces",
|
|
"KingshearthLegacy/Variant_Combat/UI",
|
|
"KingshearthLegacy/Variant_SideScrolling",
|
|
"KingshearthLegacy/Variant_SideScrolling/AI",
|
|
"KingshearthLegacy/Variant_SideScrolling/Gameplay",
|
|
"KingshearthLegacy/Variant_SideScrolling/Interfaces",
|
|
"KingshearthLegacy/Variant_SideScrolling/UI"
|
|
});
|
|
|
|
// Uncomment if you are using Slate UI
|
|
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
|
|
|
|
// Uncomment if you are using online features
|
|
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
|
|
|
|
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
|
|
}
|
|
}
|