Potential fix for merchant system UI
** POTENTIALLY FIXED NEED TO TEST**
This commit is contained in:
parent
4d45fff004
commit
093825dc0d
@ -219,6 +219,11 @@ void ATempCharacter::InputDisabler()
|
||||
{
|
||||
PlayerCharacter->DisableInput(GetWorld()->GetFirstPlayerController());
|
||||
}
|
||||
//TURNING OFF CROSSHAIR
|
||||
|
||||
CrossHairWidget->SetVisibility(ESlateVisibility::Hidden);
|
||||
ImportantStatsWidget->SetVisibility(ESlateVisibility::Hidden);
|
||||
|
||||
//Set to UI Mode Only
|
||||
APlayerController* PlayerController = GetWorld()->GetFirstPlayerController();
|
||||
PlayerController->SetInputMode(FInputModeUIOnly());
|
||||
|
@ -37,8 +37,6 @@ public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Inventory, meta = (AllowPrivateAccess = "true"))
|
||||
class UInventoryComponent* Inventory; //Using the InventoryComponent class
|
||||
|
||||
//UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Widgets")
|
||||
//UUserWidget* ItemSelectorWidget;
|
||||
|
||||
// Called to bind functionality to input
|
||||
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
|
||||
|
Loading…
Reference in New Issue
Block a user