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

Method UnregisterObjectHierarchy

Source/Engine/Level/Actor.cpp:1455–1470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1453}
1454
1455void Actor::UnregisterObjectHierarchy()
1456{
1457 if (IsRegistered())
1458 UnregisterObject();
1459
1460 for (int32 i = 0; i < Scripts.Count(); i++)
1461 {
1462 if (Scripts[i]->IsRegistered())
1463 Scripts[i]->UnregisterObject();
1464 }
1465
1466 for (int32 i = 0; i < Children.Count(); i++)
1467 {
1468 Children[i]->UnregisterObjectHierarchy();
1469 }
1470}
1471
1472void Actor::InitializeHierarchy()
1473{

Callers

nothing calls this directly

Calls 2

CountMethod · 0.45
UnregisterObjectMethod · 0.45

Tested by

no test coverage detected