ドキュメント

Unity Engine

Unity Engine

DestroyGameObjectHierarchyEventArgs

Constructs a new instance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor

DestroyGameObjectHierarchyEventArgs(int, Scene)

Constructs a new instance.
public DestroyGameObjectHierarchyEventArgs(int instanceId, Scene scene)

Parameters

instanceId

The instance ID of the GameObject that has been destroyed.

scene

The Scene containing the GameObject that has been destroyed.

DestroyGameObjectHierarchyEventArgs(int, int, Scene)

Constructs a new instance.
public DestroyGameObjectHierarchyEventArgs(int instanceId, int parentInstanceId, Scene scene)

Parameters

instanceId

The instance ID of the GameObject that has been destroyed.

parentInstanceId

The instance ID for the parent GameObject of the GameObject that has been destroyed.

scene

The Scene containing the GameObject that has been destroyed.