7heIVIaze 75c36782a9 Implemented dialogue system and dialogue UI prototype
Implemented Dialogue System using dialogue Component and Interface, make Dialogue UI Prototype, and change the data type of the characters to be displayed in the UI in source code
2025-05-01 12:23:10 +09:00

23 lines
730 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#include "HYSaveGameActor.h"
#include "HYPlayerCharacController.h"
AHYSaveGameActor::AHYSaveGameActor()
{
SavepointMesh = CreateDefaultSubobject<UStaticMeshComponent>("SavepointMesh");
RootComponent = Cast<USceneComponent>(SavepointMesh);
Super::Name = NSLOCTEXT("HYSaveGameActor", "InteractionName", "Haetae statue");
Super::Action = NSLOCTEXT("HYSaveGameActor", "InteractionAction", "touch");
}
void AHYSaveGameActor::Interact_Implementation(APlayerController* Controller)
{
Super::Interact_Implementation(Controller);
AHYPlayerCharacController* IController = Cast<AHYPlayerCharacController>(Controller);
IController->SaveGameplay();
}