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

Function ReloadScript

engine/gameobject/src/gameobject/gameobject_script.cpp:2399–2403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2397 }
2398
2399 bool ReloadScript(HScript script, dmLuaDDF::LuaModule* lua_module)
2400 {
2401 script->m_LuaModule = lua_module;
2402 return LoadScript(script->m_LuaState, &lua_module->m_Source, script);
2403 }
2404
2405 void DeleteScript(HScript script)
2406 {

Callers 1

ResScriptRecreateFunction · 0.85

Calls 1

LoadScriptFunction · 0.85

Tested by

no test coverage detected