Version: 2021.1
言語: 日本語

ChangeGameObjectStructureEventArgs

struct in UnityEditor

マニュアルに切り替える

説明

A change of this type indicates that the structure of a GameObject has changed. This happens when a component is added to or removed from the GameObject using Undo.AddComponent or Undo.DestroyObjectImmediate.

Note that multiple changes to the structure (e.g. multiple components added) may be represented by a single event.

変数

instanceIdThe instance ID of the GameObject that has been changed.
sceneThe Scene containing the GameObject that has been changed.

コンストラクタ

ChangeGameObjectStructureEventArgsConstructs a new instance.