how to reference a separate class in C++ Only
I want to use strictly code and i want to find the player in the pickup class i know GetWorld()->GetFirstPlayerController() works but only for the base character not my custom one.
asked Feb 03 '16 at 03:01 AM in C++ Programming
If you already have a reference to the ASkullCharacter stored, you could get a reference to its controller like this:
The "if" is there to ensure that the cast succeeded, otherwise you'll be making references to a null pointer which isn't a good idea.
answered Feb 04 '16 at 03:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here