Hello,
From my understanding, any GetWorld() will return nullptr within a UObject.
How would I go about overriding this function to get my world?
I have tried just using the TObjectIterator Method but I can’t seem to get that to work.
static APlayerController* GetAQubePC()
{
TObjectIterator<APlayerController> Itr;
if (!Itr) return NULL;
return *Itr;
}
Any help would be appreciated!
Thanks,
Cody