Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateAssetObjectEventArgs

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

Definition

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

CreateAssetObjectEventArgs(GUID, EntityId, Scene)

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

Parameters

guid

GUID
The GUID of the new asset.

entityId


scene

The Scene that contains the new asset.

CreateAssetObjectEventArgs(GUID, int, Scene)

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

Parameters

guid

GUID
The GUID of the new asset.

instanceId

The instance ID of the modified asset.

scene

The Scene that contains the new asset.