# Create(string, Object, Type)

> Creates a PlayableBinding that contains information representing a ScriptPlayableOutput.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Playables](/engine/6000.6/script-reference/unityengine/playables.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static PlayableBinding Create(string name, Object key, Type type)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the ScriptPlayableOutput.**** (\[Object]\(/engine/6000.6/script-reference/unityengine/object)): A reference to a [Object](/engine/6000.6/script-reference/unityengine/object.md) that acts as a key for this binding.**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The type of object that will be bound to the [ScriptPlayableOutput](/engine/6000.6/script-reference/unityengine/playables/scriptplayableoutput.md).

### Returns

| Type                                                                                        | Description                                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [PlayableBinding](/engine/6000.6/script-reference/unityengine/playables/playablebinding.md) | Returns a [PlayableBinding](/engine/6000.6/script-reference/unityengine/playables/playablebinding.md) that contains information that is used to create a [ScriptPlayableOutput](/engine/6000.6/script-reference/unityengine/playables/scriptplayableoutput.md). |

### Examples

```csharp
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;

public class CustomPlayableAsset : PlayableAsset
{
    public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
    {
        return Playable.Create(graph);
    }

    public override IEnumerable<PlayableBinding> outputs
    {
        get { yield return ScriptPlayableBinding.Create("ScriptPlayableOutput", this, typeof(Renderer)); }
    }
}
```
