文档

Unity Engine

Unity Engine

DestroyGameObjectHierarchyEventArgs

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

Definition

  • Type: Struct
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public struct DestroyGameObjectHierarchyEventArgs

Constructors

Properties

Property

Description

entityIdThe EntityId of the GameObject that has been destroyed.
parentEntityIdThe EntityId for the parent GameObject of the GameObject that has been destroyed.
sceneThe scene containing the GameObject that has been destroyed.