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
- 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
Constructor | Description |
|---|---|
| ChangeGameObjectStructureEventArgs(UnityEngine.EntityId,UnityEngine.SceneManagement.Scene) | Constructs a new instance. |
Properties
Property | Description |
|---|---|
| entityId | The EntityId of the GameObject that has been changed. |
| scene | The Scene containing the GameObject that has been changed. |