| 490 | } |
| 491 | |
| 492 | void Camera::OnDisable() |
| 493 | { |
| 494 | #if USE_EDITOR |
| 495 | GetSceneRendering()->RemoveActor(this, _sceneRenderingKey); |
| 496 | #endif |
| 497 | Cameras.Remove(this); |
| 498 | if (CutSceneCamera == this) |
| 499 | CutSceneCamera = nullptr; |
| 500 | |
| 501 | // Base |
| 502 | Actor::OnDisable(); |
| 503 | } |
| 504 | |
| 505 | void Camera::OnTransformChanged() |
| 506 | { |
nothing calls this directly
no test coverage detected