MCPcopy Create free account
hub / github.com/Illation/ETEngine / OnComponentRemoved

Method OnComponentRemoved

Engine/source/EtFramework/Systems/PlanetInit.cpp:35–44  ·  view source on GitHub ↗

------------------------------------- PlanetInit::OnComponentRemoved Remove respectively

Source from the content-addressed store, hash-verified

33// Remove respectively
34//
35void PlanetInit::OnComponentRemoved(EcsController& controller, PlanetComponent& component, T_EntityId const entity)
36{
37 UNUSED(controller);
38 UNUSED(entity);
39
40 if (component.m_PlanetId != core::INVALID_SLOT_ID)
41 {
42 UnifiedScene::Instance().GetRenderScene().RemovePlanet(component.m_PlanetId);
43 }
44}
45
46
47} // namespace fw

Callers

nothing calls this directly

Calls 1

RemovePlanetMethod · 0.80

Tested by

no test coverage detected