Method CreatePlayable
CreatePlayable(PlayableGraph, GameObject)
Creates the root of a Playable subgraph to control the contents of the game object.
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 |