Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DestroyAssetObjectEventArgs

Constructs a new instance.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

DestroyAssetObjectEventArgs(GUID, EntityId, Scene)

Constructs a new instance.
public DestroyAssetObjectEventArgs(GUID guid, EntityId entityId, Scene scene)

Parameters

guid

GUID
The GUID of the removed asset.

entityId


scene

The Scene that contained the asset.

DestroyAssetObjectEventArgs(GUID, int, Scene)

Constructs a new instance.
Warning
Removed. DestroyAssetObjectEventArgs(GUID guid, int instanceId, Scene scene) is deprecated. Use DestroyAssetObjectEventArgs(GUID guid, EntityId entityId, Scene scene) instead.
public DestroyAssetObjectEventArgs(GUID guid, int instanceId, Scene scene)

Parameters

guid

GUID
The GUID of the removed asset.

instanceId

The instance ID of the modified asset.

scene

The Scene that contained the asset.