25 lines
406 B
C++
25 lines
406 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
#include "MingGameInstance.h"
|
|
|
|
|
|
void UMingGameInstance::Init()
|
|
{
|
|
Super::Init();
|
|
|
|
}
|
|
|
|
void UMingGameInstance::OnStart()
|
|
{
|
|
Super::OnStart();
|
|
M_JsEnvManager = MakeShared<FMCJsEnvManager>(FMCJsEnvManager());
|
|
M_JsEnvManager->Init(this);
|
|
}
|
|
|
|
void UMingGameInstance::Shutdown()
|
|
{
|
|
M_JsEnvManager->Release();
|
|
Super::Shutdown();
|
|
}
|