Skip to content

Instantly share code, notes, and snippets.

@saatvik1213
Created June 12, 2020 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saatvik1213/dfecab9b0fdc9104ec37f7b3a47d483e to your computer and use it in GitHub Desktop.
Save saatvik1213/dfecab9b0fdc9104ec37f7b3a47d483e to your computer and use it in GitHub Desktop.
void UMainMenu::SetMenuInterface(IMenuInterface* _MenuInterface)
{
this->MenuInterface =_MenuInterface;
}
void UMainMenu::HostServer()
{
UE_LOG(LogTemp, Warning, TEXT("Found class Hosting Server"));
if (MenuInterface != nullptr)
{
MenuInterface->Host();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment