| 204 | } |
| 205 | |
| 206 | void VideoPlayer::OnEnable() |
| 207 | { |
| 208 | #if USE_EDITOR |
| 209 | GetSceneRendering()->AddViewportIcon(this); |
| 210 | #endif |
| 211 | |
| 212 | Actor::OnEnable(); |
| 213 | } |
| 214 | |
| 215 | void VideoPlayer::OnDisable() |
| 216 | { |
nothing calls this directly
no test coverage detected