Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ChangeGameObjectStructureEventArgs

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.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

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

Constructors

Properties

Property

Description

entityIdThe EntityId of the GameObject that has been changed.
sceneThe Scene containing the GameObject that has been changed.