CreatePlayable(PlayableGraph, GameObject)
Implement this method to have your asset inject playables into the given graph.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
public abstract Playable CreatePlayable(PlayableGraph graph, GameObject owner)
Parameters
The graph to inject playables into.
The game object which initiated the build.
Returns
Type | Description |
|---|---|
| Playable | The playable injected into the graph, or the root playable if multiple playables are injected. |