MCPcopy Create free account
hub / github.com/defold/defold / FinalizeInstance

Function FinalizeInstance

engine/script/src/script.cpp:1273–1287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1271 }
1272
1273 void FinalizeInstance(HScriptWorld script_world)
1274 {
1275 if (script_world == 0x0)
1276 {
1277 return;
1278 }
1279 HContext context = GetScriptWorldContext(script_world);
1280 for (HScriptExtension* l = context->m_ScriptExtensions.Begin(); l != context->m_ScriptExtensions.End(); ++l)
1281 {
1282 if ((*l)->FinalizeScriptInstance != 0x0)
1283 {
1284 (*l)->FinalizeScriptInstance(script_world);
1285 }
1286 }
1287 }
1288
1289 bool SetInstanceContextValue(lua_State* L)
1290 {

Callers 5

DeleteScriptInstanceFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
DeleteSceneFunction · 0.85

Calls 3

GetScriptWorldContextFunction · 0.85
BeginMethod · 0.45
EndMethod · 0.45

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68