------------------------------------- AtmosphereInit::OnComponentRemoved Remove respectively
| 36 | // Remove respectively |
| 37 | // |
| 38 | void AtmosphereInit::OnComponentRemoved(EcsController& controller, AtmosphereComponent& component, T_EntityId const entity) |
| 39 | { |
| 40 | UNUSED(controller); |
| 41 | UNUSED(entity); |
| 42 | |
| 43 | if (component.m_RenderId != core::INVALID_SLOT_ID) |
| 44 | { |
| 45 | UnifiedScene::Instance().GetRenderScene().RemoveAtmosphere(component.m_RenderId); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | |
| 50 | } // namespace fw |
nothing calls this directly
no test coverage detected