Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/sluaunreal
/ CloseLuaState
Method
CloseLuaState
Source/democpp/MyGameInstance.cpp:67–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
65
}
66
67
void UMyGameInstance::CloseLuaState()
68
{
69
if (state)
70
{
71
state->close();
72
delete state;
73
state = nullptr;
74
}
75
76
}
77
78
void UMyGameInstance::Init()
79
{
Callers
nothing calls this directly
Calls
1
close
Method · 0.80
Tested by
no test coverage detected