# CreateAssetObjectEventArgs

> Constructs a new instance.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

## CreateAssetObjectEventArgs(GUID, EntityId, Scene)

Constructs a new instance.

```csharp
public CreateAssetObjectEventArgs(GUID guid, EntityId entityId, Scene scene)
```

### Parameters

**** (GUID): The GUID of the new asset.**** (\[EntityId]\(/engine/6000.5/script-reference/unityengine/entityid)): **** (\[Scene]\(/engine/6000.5/script-reference/unityengine/scenemanagement/scene)): The [Scene](/engine/6000.5/script-reference/unityeditor/searchservice/scene.md) 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.

```csharp
public CreateAssetObjectEventArgs(GUID guid, int instanceId, Scene scene)
```

### Parameters

**** (GUID): The GUID of the new asset.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The instance ID of the modified asset.**** (\[Scene]\(/engine/6000.5/script-reference/unityengine/scenemanagement/scene)): The [Scene](/engine/6000.5/script-reference/unityeditor/searchservice/scene.md) that contains the new asset.
