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

Method OnEnable

Source/Engine/Video/VideoPlayer.cpp:206–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

OnEnableFunction · 0.85

Tested by

no test coverage detected