# IntegrateChanges(HierarchyCommandList)

> Callback that determines if changes from an update need to be integrated into the hierarchy. IntegrateChanges is called after HierarchyNodeTypeHandlerBase.ChangesPending returns true. When the hierarchy is updated, ChangesPending is called on all registered node ype handlers. If they return true, then IntegrateChanges is called on them. If they return false, then IntegrateChanges is not called on them.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Hierarchy](/engine/6000.6/script-reference/unity/hierarchy.md)
* **Assembly:** UnityEngine.HierarchyCoreModule

> **Warning:**
>
> **Removed.** IntegrateChanges is obsolete, it is replaced by adding commands into the hierarchy node type handler's CommandList.

```csharp
protected virtual bool IntegrateChanges(HierarchyCommandList cmdList)
```

### Parameters

**** (\[HierarchyCommandList]\(/engine/6000.6/script-reference/unity/hierarchy/hierarchycommandlist)): A hierarchy command list that can modify the hierarchy.

### Returns

| Type                                                          | Description                                                                                                                    |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if more invocations are needed to complete integrating changes, and `false` if the handler is done integrating changes. |
