Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine.Playables
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseThe PlayableGraph is used to manage Playable creation, destruction and connections.
It is also used to create the PlayableOutput which connects the PlayableGraph to different systems.
Connect | Connects two Playable instances. |
Destroy | Destroys the graph. |
DestroyOutput | Destroys the PlayableOutput. |
DestroyPlayable | Destroys the Playable. |
DestroySubgraph | Recursively destroys the given Playable and all children connected to its inputs. |
Disconnect | Disconnects Playable. The connections determine the topology of the PlayableGraph and how its is evaluated. |
Evaluate | Evaluates all the PlayableOutputs in the graph, and updates all the connected Playables in the graph. |
GetOutput | Get PlayableOutput at the given index in the graph. |
GetOutputByType | Get PlayableOutput of the requested type at the given index in the graph. |
GetOutputCount | Get the number of PlayableOutput in the graph. |
GetOutputCountByType | Get the number of PlayableOutput of the requested type in the graph. |
GetPlayableCount | Returns the number of Playable owned by the Graph. |
GetResolver | Returns the table used by the graph to resolve ExposedReferences. |
GetRootPlayable | Returns the Playable with no output connections at the given index. |
GetRootPlayableCount | Returns the number of Playable owned by the Graph that have no connected outputs. |
GetTimeUpdateMode | Returns how time is incremented when playing back. |
IsDone | Indicates that a graph has completed its operations. |
IsPlaying | Indicates that a graph is presently running. |
IsValid | Returns true if the PlayableGraph has been properly constructed using PlayableGraph.CreateGraph and is not deleted. |
Play | Plays the graph. |
SetResolver | Changes the table used by the graph to resolve ExposedReferences. |
SetTimeUpdateMode | Changes how time is incremented when playing back. |
Stop | Stops the graph, if it is playing. |
Create | Creates a PlayableGraph. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information