| 213 | } |
| 214 | |
| 215 | void VideoPlayer::OnDisable() |
| 216 | { |
| 217 | Stop(); |
| 218 | if (_player.Backend) |
| 219 | _player.Backend->Player_Destroy(_player); |
| 220 | #if USE_EDITOR |
| 221 | GetSceneRendering()->RemoveViewportIcon(this); |
| 222 | #endif |
| 223 | |
| 224 | Actor::OnDisable(); |
| 225 | } |
| 226 | |
| 227 | void VideoPlayer::OnTransformChanged() |
| 228 | { |
nothing calls this directly
no test coverage detected