Hi there.
I want to create a pointer to a custom made subclass from PlayerController named CharaPlayerController from my custom character class.
Here’s the code I’m trying to use from my character class:
ACharaPlayerController* const PC = CastChecked<ACharaPlayerController>(Controller);
However, the compiler says that “ACharaPlayerController” does not exist. (The definition. The part inside CastChecked gives no problem.)
So, what am I doing wrong?
Thanks in advance for the answers!