Method CreatePlayable
CreatePlayable(PlayableGraph, GameObject)
Creates the root of a Playable subgraph to play the audio clip.
Declaration
public override Playable CreatePlayable(PlayableGraph graph, GameObject go)
Parameters
| Type | Name | Description |
|---|---|---|
| PlayableGraph | graph | PlayableGraph that will own the playable |
| GameObject | go | The GameObject that triggered the graph build |
Returns
| Type | Description |
|---|---|
| Playable | The root playable of the subgraph |