Version: 2023.2
LanguageEnglish
  • C#

HierarchyNodeTypeHandlerBase.IntegrateChanges

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

protected bool IntegrateChanges(Unity.Hierarchy.HierarchyCommandList cmdList);

Parameters

cmdList A hierarchy command list that can modify the hierarchy.

Returns

bool true if more invocations are needed to complete integrating changes, and false if the handler is done integrating changes.

Description

Callback that determines if changes from an update need to be integrated into the hierarchy. IntegrateChanges is called after 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.