Version: 2022.1

ObjectChangeKind.DestroyGameObjectHierarchy

切换到手册

描述

A change of this type indicates that a GameObject and the entire hierarchy below it has been destroyed. This happens for example when Undo.DestroyObjectImmediate is used with an GameObject.