Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
511
void TextRender::OnEnable()
512
{
513
// Base
514
Actor::OnEnable();
515
516
if (_isDirty)
517
{
518
UpdateLayout();
519
}
520
GetSceneRendering()->AddActor(this, _sceneRenderingKey);
521
}
522
523
void TextRender::OnDisable()
524
{
Callers
nothing calls this directly
Calls
2
OnEnable
Function · 0.85
AddActor
Method · 0.45
Tested by
no test coverage detected