Version: 2023.2
LanguageEnglish
  • C#

HierarchyNodeTypeHandlerBase.ChangesPending

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 ChangesPending();

Returns

bool true if changes are pending, false otherwise.

Description

Callback that determines if pending changes from a registered node type handler need to be applied to the hierarchy. 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.