Improved ShopAOE logic and made blueprint prototype
This commit is contained in:
@ -1,8 +1,20 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
#include "HYShopNPCActor.h"
|
||||
#include "Blueprint/UserWidget.h"
|
||||
|
||||
void AHYShopNPCActor::Interact_Implementation(APlayerController* Controller)
|
||||
{
|
||||
Super::Interact_Implementation(Controller);
|
||||
|
||||
//if (ShopWidget)
|
||||
//{
|
||||
// ShopWidget->RemoveFromParent();
|
||||
// ShopWidget = nullptr;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// ShopWidget = CreateWidget<UUserWidget>(Controller, ShopWidgetClass);
|
||||
// ShopWidget->AddToViewport();
|
||||
//}
|
||||
}
|
Reference in New Issue
Block a user