CreatePlayable(PlayableGraph, GameObject)
Implement this method to have your asset inject playables into the given graph.
阅读时间1 分钟最后更新于 1 个月前
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. |