continuing to try to fix
This commit is contained in:
@@ -17,11 +17,12 @@ ADDIPlayerController::ADDIPlayerController()
|
||||
void ADDIPlayerController::SetupInputComponent()
|
||||
{
|
||||
Super::SetupInputComponent();
|
||||
|
||||
|
||||
if (UEnhancedInputLocalPlayerSubsystem* Subsystem = ULocalPlayer::GetSubsystem<UEnhancedInputLocalPlayerSubsystem>(GetLocalPlayer()))
|
||||
{
|
||||
for (UInputMappingContext* CurrentContext : DefaultMappingContexts)
|
||||
{
|
||||
GEngine->AddOnScreenDebugMessage(-1, 5, FColor::Cyan, "Controller Setup Character");
|
||||
Subsystem->AddMappingContext(CurrentContext, 0);
|
||||
}
|
||||
}
|
||||
@@ -30,7 +31,7 @@ void ADDIPlayerController::SetupInputComponent()
|
||||
void ADDIPlayerController::BeginPlay()
|
||||
{
|
||||
Super::BeginPlay();
|
||||
|
||||
GEngine->AddOnScreenDebugMessage(-1, 5, FColor::Green, this->GetName());
|
||||
// WeaponUI = CreateWidget<UDDIWeaponUI>(this, WeaponUIClass);
|
||||
// WeaponUI->AddToPlayerScreen(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user