ドキュメント

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.