void AShooterPlayerController::ShowInGameMenu() { AShooterHUD* ShooterHUD = GetShooterHUD(); if(ShooterIngameMenu.IsValid() && !ShooterIngameMenu->GetIsGameMenuUp() && (ShooterHUD->IsMatchOver() == false)) { ShooterIngameMenu->ToggleGameMenu(); } }
void AShooterPlayerController::OnToggleScoreboard() { AShooterHUD* ShooterHUD = GetShooterHUD(); if(ShooterHUD && ( ShooterHUD->IsMatchOver() == false )) { ShooterHUD->ToggleScoreboard(); } }
void AShooterPlayerController::OnConditionalCloseScoreboard() { AShooterHUD* ShooterHUD = GetShooterHUD(); if(ShooterHUD && ( ShooterHUD->IsMatchOver() == false )) { ShooterHUD->ConditionalCloseScoreboard(); } }
void AShooterPlayerController::OnHideScoreboard() { AShooterHUD* ShooterHUD = GetShooterHUD(); // If have a valid match and the match is over - hide the scoreboard if( (ShooterHUD != NULL ) && ( ShooterHUD->IsMatchOver() == false ) ) { ShooterHUD->ShowScoreboard(false); } }