Version: 2023.1
言語: 日本語

DestroyGameObjectHierarchyEventArgs

struct in UnityEditor

マニュアルに切り替える

説明

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.

変数

instanceIdThe instance ID of the GameObject that has been destroyed.
parentInstanceIdThe instance ID for the parent GameObject of the GameObject that has been destroyed.
sceneThe scene containing the GameObject that has been destroyed.

コンストラクタ

DestroyGameObjectHierarchyEventArgsConstructs a new instance.