使用 PlayableGraph 管理Playable 的创建和销毁。
PlayableGraph 也是不同系统之间的连接,通过实现IPlayableOutput 的结构体。例如,AnimationPlayableOutput 或AudioPlayableOutput。
| 连接 | 连接两个 Playable 实例。 |
| 销毁 | 销毁图。 |
| 销毁输出 | 销毁 PlayableOutput。 |
| 销毁 Playable | 销毁 Playable。 |
| 销毁子图 | 递归地销毁 Playable 及其所有输入。 |
| 断开连接 | 断开 Playable 的连接。连接决定 PlayableGraph 的拓扑结构及其评估方式。 |
| 评估 | 评估图中所有 PlayableOutputs,并更新图中所有连接的 Playables。 |
| 获取编辑器名称 | 返回 PlayableGraph 的名称。 |
| 获取输出 | 获取图中指定索引处的 PlayableOutput。 |
| 获取按类型输出 | 获取图中指定索引处请求类型的 PlayableOutput。 |
| 获取输出数量 | 返回图中 PlayableOutput 的数量。 |
| 获取按类型输出数量 | 获取图中请求类型的 PlayableOutput 的数量。 |
| 获取 Playable 数量 | 返回图拥有的 Playable 数量。 |
| 获取解析器 | 返回图用于解析 ExposedReferences 的表。 |
| 获取根 Playable | 返回指定索引处没有输出连接的 Playable。 |
| 获取根 Playable 数量 | 返回图拥有的没有连接输出的 Playable 数量。 |
| 获取时间更新模式 | 返回播放时时间增量的方式。 |
| 已完成 | 指示图已完成其操作。 |
| 正在播放 | 指示图当前正在运行。 |
| 有效 | 如果 PlayableGraph 已使用 PlayableGraph.CreateGraph 正确构建并且没有被删除,则返回 true。 |
| 播放 | 播放图。 |
| 设置解析器 | 更改图用于解析 ExposedReferences 的表。 |
| 设置时间更新模式 | 更改播放时时间增量的方式。 |
| 停止 | 停止图(如果正在播放)。 |
| 创建 | 创建 PlayableGraph。 |