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

Method OnEnable

Source/Engine/UI/TextRender.cpp:511–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511void TextRender::OnEnable()
512{
513 // Base
514 Actor::OnEnable();
515
516 if (_isDirty)
517 {
518 UpdateLayout();
519 }
520 GetSceneRendering()->AddActor(this, _sceneRenderingKey);
521}
522
523void TextRender::OnDisable()
524{

Callers

nothing calls this directly

Calls 2

OnEnableFunction · 0.85
AddActorMethod · 0.45

Tested by

no test coverage detected