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

Function ComponentTypeSetFinalFn

engine/gameobject/src/gameobject/component.cpp:111–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109void ComponentTypeSetDestroyFn(HComponentType type, ComponentDestroy fn) { type->m_DestroyFunction = fn; }
110void ComponentTypeSetInitFn(HComponentType type, ComponentInit fn) { type->m_InitFunction = fn; }
111void ComponentTypeSetFinalFn(HComponentType type, ComponentFinal fn) { type->m_FinalFunction = fn; }
112void ComponentTypeSetAddToUpdateFn(HComponentType type, ComponentAddToUpdate fn) { type->m_AddToUpdateFunction = fn; }
113void ComponentTypeSetGetFn(HComponentType type, ComponentGet fn) { type->m_GetFunction = fn; }
114void ComponentTypeSetRenderFn(HComponentType type, ComponentsRender fn) { type->m_RenderFunction = fn; }

Callers 2

CompScriptcInitFunction · 0.85
CompGuiTypeCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected