Skip to content

Instantly share code, notes, and snippets.

@sephirot47
Created June 17, 2015 20:51
Show Gist options
  • Save sephirot47/b88e0b4cac49b6826249 to your computer and use it in GitHub Desktop.
Save sephirot47/b88e0b4cac49b6826249 to your computer and use it in GitHub Desktop.
UE4 Get HUD from anywhere
//Supose we are inside a Component ACTOR OF THE COMP.
AREMHUD *hud = Cast<AREMHUD>(UGameplayStatics::GetPlayerController( this->GetOwner(), 0)->GetHUD());
//Custom HUD class: AREMHUD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment