---
title: Create(string, Type, string, EntityId)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/entityidchannel/create
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/entityidchannel/create.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:01:06.938Z
locale: en-us
---

# Create(string, Type, string, EntityId)

> Creates an EntityIdChannel from a transform path, a component type and an attribute name.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

```csharp
[ExcludeFromBurstCompatTesting("Takes managed string")]
public static EntityIdChannel Create(string path, Type type, string attributeName, EntityId defaultValue)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The transform path to the object to animate.**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The type of the object to animate.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the property to animate on the object.**** (\[EntityId]\(/engine/7000.0/script-reference/unityengine/entityid)): The `EntityId` that the channel holds when no clip animates it.

### Returns

| Type                                                                                   | Description                                                                            |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [EntityIdChannel](/engine/7000.0/script-reference/unity/animations/entityidchannel.md) | The new channel, with an identifier computed from `path`, `type`, and `attributeName`. |
