文档

Unity Engine

Unity Engine

ChangesPending()

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule
警告
Deprecated. ChangesPending is obsolete, it is replaced by adding commands into the hierarchy node type handler's CommandList.
protected virtual bool ChangesPending()

Returns

Type

Description

bool
true
if changes are pending,
false
otherwise.