Class SceneActivationTrack
A track you can use to control the active state of a Scene.
Namespace: UnityEngine.Sequences.Timeline
Syntax
public class SceneActivationTrack : TrackAsset
Fields
scene
A reference to the Scene to control through this track.
Declaration
public SceneReference scene
Field Value
Type | Description |
---|---|
SceneReference |
Methods
CreateTrackMixer(PlayableGraph, GameObject, Int32)
Creates a mixer to blend playables generated by clips on the track.
Declaration
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)
Parameters
Type | Name | Description |
---|---|---|
PlayableGraph | graph | The graph to inject playables into. |
GameObject | go | The GameObject that requested the graph. |
Int32 | inputCount | The number of playables from clips that will be inputs to the returned mixer. |
Returns
Type | Description |
---|---|
Playable | A handle to the |
GatherProperties(PlayableDirector, IPropertyCollector)
The Timeline Editor calls this method to gather properties that require a preview.
Declaration
public override void GatherProperties(PlayableDirector director, IPropertyCollector driver)
Parameters
Type | Name | Description |
---|---|---|
PlayableDirector | director | The PlayableDirector that invokes the preview. |
IPropertyCollector | driver | The PropertyCollector used to gather previewable properties. |