Disabled Important Stats Widget to Use New Book UI
This commit is contained in:
parent
94f45d99c3
commit
fe54fcb90b
@ -48,9 +48,9 @@ void ATempCharacter::BeginPlay()
|
||||
CrossHairWidget->SetVisibility(ESlateVisibility::Visible);
|
||||
CrossHairWidget->AddToViewport();
|
||||
|
||||
ImportantStatsWidget = CreateWidget<UUserWidget>(GetWorld(), ImportantStatsSub);
|
||||
ImportantStatsWidget->SetVisibility(ESlateVisibility::Visible);
|
||||
ImportantStatsWidget->AddToViewport();
|
||||
// ImportantStatsWidget = CreateWidget<UUserWidget>(GetWorld(), ImportantStatsSub);
|
||||
// ImportantStatsWidget->SetVisibility(ESlateVisibility::Visible);
|
||||
// ImportantStatsWidget->AddToViewport();
|
||||
|
||||
MainMenuWidget = CreateWidget<UUserWidget>(GetWorld(), MainMenuSub);
|
||||
MainMenuWidget->SetVisibility(ESlateVisibility::Hidden);
|
||||
|
@ -56,7 +56,7 @@ void ATurnBaseCombatV2::StartCombat(AActor* Enemy)
|
||||
HUD->AddToViewport();
|
||||
EnemyActor = Enemy;
|
||||
|
||||
Cast<ATempCharacter>(PlayerActor)->ImportantStatsWidget->SetVisibility(ESlateVisibility::Hidden);
|
||||
//Cast<ATempCharacter>(PlayerActor)->ImportantStatsWidget->SetVisibility(ESlateVisibility::Hidden);
|
||||
|
||||
ProbertiumResource = 10;
|
||||
EisResource = 10;
|
||||
@ -97,7 +97,7 @@ void ATurnBaseCombatV2::EndCombat()
|
||||
{
|
||||
StatusEffect->OnExpiry(PlayerActor);
|
||||
}
|
||||
Cast<ATempCharacter>(PlayerActor)->ImportantStatsWidget->SetVisibility(ESlateVisibility::Visible);
|
||||
//Cast<ATempCharacter>(PlayerActor)->ImportantStatsWidget->SetVisibility(ESlateVisibility::Visible);
|
||||
|
||||
HUD->RemoveFromParent();
|
||||
APawn* PlayerPawn = Cast<APawn>(GetWorld()->GetFirstPlayerController()->GetPawn());
|
||||
|
Loading…
Reference in New Issue
Block a user