Hi all!
I am facing a strange problem now :
I’ve created new FirstPersonShooter project (one of templates given). I want to stop the game after clicking on “p” (InputAction Pause).
As a result, in FirstPersonCharacter (parent class - Character) i want to call function Stop from another blueprint called BP_PC (parent class - PlayerController), that will stop the game.
I try to cast player controller to BP_PC with player controller as parent but somehow it doesn’t work (always comes “cast failed”). May someone please explain why is it so?
Casting to another blueprint in FirstPersonCharacter
Function Stop in BP_PC