APlayerCharacter *PlayerController = Cast<APlayerCharacter>(Controller);
if (PlayerController)
{
ULocalPlayer::GetSubsystem<UEnhancedInputLocalPlayerSubsystem>(PlayerController->GetLocalPlayer()); //<--- this one
}
}
over at my header file, i’ve already
#include "Engine/LocalPlayer.h"
#include "EnhancedInputComponent.h"
#include "EnhancedInputSubsystems.h"
and even on my EnhancedInput to my Project.Build.cs file:
PublicDependencyModuleNames.AddRange(new[]
{
...,
"EnhancedInput"
});
Any reason why? I have 0 clue as to why my Rider didnt detect GetLocalPlayer()) ?