Include enhanced input

This commit is contained in:
Kevin Poretti 2023-06-10 13:57:51 -04:00
parent ecd8b1ca3c
commit 0265ce246c
3 changed files with 12 additions and 3 deletions

View File

@ -30,6 +30,10 @@ public:
// End of APlayerController interface // End of APlayerController interface
protected: protected:
/** MappingContext */
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UFE|Input", meta = (AllowPrivateAccess = "true"))
class UInputMappingContext* DefaultMappingContext;
/** Input Buffer component */ /** Input Buffer component */
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "UFE|Input", meta = (AllowPrivateAccess = "true")) UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "UFE|Input", meta = (AllowPrivateAccess = "true"))
UFEInputBufferComponent* InputBuffer; UFEInputBufferComponent* InputBuffer;

View File

@ -1,4 +1,4 @@
// Some copyright should be here... // Unreal Fighting Engine by Kevin Poretti
using UnrealBuildTool; using UnrealBuildTool;
@ -26,6 +26,7 @@ public class UnrealFightingEngine : ModuleRules
new string[] new string[]
{ {
"Core", "Core",
"EnhancedInput",
// ... add other public dependencies that you statically link with here ... // ... add other public dependencies that you statically link with here ...
} }
); );
@ -36,8 +37,6 @@ public class UnrealFightingEngine : ModuleRules
{ {
"CoreUObject", "CoreUObject",
"Engine", "Engine",
"Slate",
"SlateCore",
// ... add private dependencies that you statically link with here ... // ... add private dependencies that you statically link with here ...
} }
); );

View File

@ -20,5 +20,11 @@
"Type": "Runtime", "Type": "Runtime",
"LoadingPhase": "PreLoadingScreen" "LoadingPhase": "PreLoadingScreen"
} }
],
"Plugins": [
{
"Name": "EnhancedInput",
"Enabled": true
}
] ]
} }