MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnDisable

Method OnDisable

Source/Engine/Video/VideoPlayer.cpp:215–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void 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
227void VideoPlayer::OnTransformChanged()
228{

Callers

nothing calls this directly

Calls 3

StopFunction · 0.50
OnDisableFunction · 0.50
Player_DestroyMethod · 0.45

Tested by

no test coverage detected