Skip to content

Instantly share code, notes, and snippets.

@sephirot47
Created June 17, 2015 20:51
Show Gist options
  • Select an option

  • Save sephirot47/b88e0b4cac49b6826249 to your computer and use it in GitHub Desktop.

Select an option

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
@siddharthchoudhary412-svg

Copy link
Copy Markdown

i want to build my own co pilot like vs code have

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment