How to reference a separate class in C++ Only

Hello Skullzz098,

There are multiple ways to do this, but it would depend on when you need it inside of the pickup class. Do you need it when the player picks up this pickup? If so, you can take the reference to the character and get the PlayerController from that. There are other ways too, but I’ll need to know in what context you need the reference.