diff --git a/Source/UnrealFightingEngine/Input/FEPlayerController.h b/Source/UnrealFightingEngine/Input/FEPlayerController.h index ee6d711..d946da7 100644 --- a/Source/UnrealFightingEngine/Input/FEPlayerController.h +++ b/Source/UnrealFightingEngine/Input/FEPlayerController.h @@ -30,6 +30,10 @@ public: // End of APlayerController interface protected: + /** MappingContext */ + UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UFE|Input", meta = (AllowPrivateAccess = "true")) + class UInputMappingContext* DefaultMappingContext; + /** Input Buffer component */ UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "UFE|Input", meta = (AllowPrivateAccess = "true")) UFEInputBufferComponent* InputBuffer; diff --git a/Source/UnrealFightingEngine/UnrealFightingEngine.Build.cs b/Source/UnrealFightingEngine/UnrealFightingEngine.Build.cs index 49e3e54..29ab61e 100644 --- a/Source/UnrealFightingEngine/UnrealFightingEngine.Build.cs +++ b/Source/UnrealFightingEngine/UnrealFightingEngine.Build.cs @@ -1,4 +1,4 @@ -// Some copyright should be here... +// Unreal Fighting Engine by Kevin Poretti using UnrealBuildTool; @@ -26,6 +26,7 @@ public class UnrealFightingEngine : ModuleRules new string[] { "Core", + "EnhancedInput", // ... add other public dependencies that you statically link with here ... } ); @@ -36,8 +37,6 @@ public class UnrealFightingEngine : ModuleRules { "CoreUObject", "Engine", - "Slate", - "SlateCore", // ... add private dependencies that you statically link with here ... } ); diff --git a/UnrealFightingEngine.uplugin b/UnrealFightingEngine.uplugin index 0b3ea6d..67b6d89 100644 --- a/UnrealFightingEngine.uplugin +++ b/UnrealFightingEngine.uplugin @@ -20,5 +20,11 @@ "Type": "Runtime", "LoadingPhase": "PreLoadingScreen" } + ], + "Plugins": [ + { + "Name": "EnhancedInput", + "Enabled": true + } ] } \ No newline at end of file