文档

Unity Engine

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

Definition

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

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