------------------------------------- PlanetInit::OnComponentRemoved Remove respectively
| 33 | // Remove respectively |
| 34 | // |
| 35 | void 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 |
nothing calls this directly
no test coverage detected