Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FlaxEngine/FlaxEngine
/ OnEnable
Method
OnEnable
Source/Engine/Foliage/Foliage.cpp:1533–1539 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1531
}
1532
1533
void Foliage::OnEnable()
1534
{
1535
GetSceneRendering()->AddActor(this, _sceneRenderingKey);
1536
1537
// Base
1538
Actor::OnEnable();
1539
}
1540
1541
void Foliage::OnDisable()
1542
{
Callers
nothing calls this directly
Calls
2
OnEnable
Function · 0.85
AddActor
Method · 0.45
Tested by
no test coverage detected