---
title: Create(string, Type, string, int)
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/intchannel/create
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/intchannel/create.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:04:17.641Z
locale: en-us
---

# Create(string, Type, string, int)

> Create an IntChannel 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 IntChannel Create(string path, Type type, string attributeName, int 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.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Default int value.

### Returns

| Type                                                                         | Description            |
| ---------------------------------------------------------------------------- | ---------------------- |
| [IntChannel](/engine/7000.0/script-reference/unity/animations/intchannel.md) | Returns an IntChannel. |
