| 1453 | } |
| 1454 | |
| 1455 | void 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 | |
| 1472 | void Actor::InitializeHierarchy() |
| 1473 | { |
nothing calls this directly
no test coverage detected