Class SceneActivationTrack
A track you can use to control the active state of a Scene.
Inherited Members
TrackAsset.m_Clips
TrackAsset.OnBeforeTrackSerialize()
TrackAsset.OnAfterTrackDeserialize()
TrackAsset.CreatePlayable(PlayableGraph, GameObject)
TrackAsset.DeleteClip(TimelineClip)
TrackAsset.DeleteMarker(IMarker)
TrackAsset.OnCreateClip(TimelineClip)
TrackAsset.CreatePlayable(PlayableGraph, GameObject, TimelineClip)
TrackAsset.GetAnimationClipHash(AnimationClip)
TrackAsset.end
TrackAsset.duration
TrackAsset.muted
TrackAsset.mutedInHierarchy
TrackAsset.curves
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Sequences.Timeline
Assembly: Unity.Sequences.dll
Syntax
[Serializable]
[TrackClipType(typeof(SceneActivationPlayableAsset))]
[TrackColor(0.55, 0.5, 0.14)]
public class SceneActivationTrack : TrackAsset, IPlayableAsset, ISerializationCallbackReceiver, IPropertyPreview
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, int)
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. |
int | inputCount | The number of playables from clips that will be inputs to the returned mixer. |
Returns
Type | Description |
---|---|
Playable | A handle to the Playable that represents the mixer. |
Overrides
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. |
Overrides
UnityEngine.Timeline.TrackAsset.GatherProperties(UnityEngine.Playables.PlayableDirector, UnityEngine.Timeline.IPropertyCollector)