⌚
Timeflow
  • ⌚Introduction
  • 📗User Guide
    • â–ļī¸Getting Started
      • ✅Requirements
      • âŦ‡ī¸Installation
      • 🚀Quick Start
      • âœī¸Workflow
      • đŸŽŦRender Pipeline
      • â¯ī¸Editor vs Runtime
      • đŸĻŋHow it Works
      • â›‘ī¸Potential Issues
      • ⚡Optimization
      • 🔨3rd Party Tools
      • đŸ”ĸUpgrading Guide
    • â„šī¸Timeflow Editor
      • đŸŽ›ī¸Menu Bar
      • â˛ī¸Time
      • Local Time Scope
      • 🧰Work Area
      • âš™ī¸Settings
      • âŗUpdate Settings
      • đŸ“ēDisplay Lists
      • đŸ”ģMarkers
      • đŸ”ĩObject
      • 🏭Managed Objects
      • ⚡Quick Select Objects
      • âš’ī¸Tools
    • đŸŽŦTimeflow View
      • 🔩Toolbar
        • 🔑Auto Keyframing
        • â¯ī¸Play Controls
        • đŸĨ…Work Area
        • â¯ī¸Current Time
        • đŸŽŧMusical Timing
        • 🌐Grid and Snap
        • 🔸Keyframe Values
        • đŸ”ģMarkers
      • â˛ī¸Timeline
      • 📐Time Navigation
      • Local Time Scope
      • 🎏Track View
      • â†˜ī¸Selection
      • 📰Object Panel
      • đŸ“ēDisplay Lists
      • 🍱Channels
      • đŸŖProperties
      • 🔗Channel Link
      • đŸšĨSwitches
      • 📅Values Column
      • đŸ›¤ī¸Tracks
      • 🔸Keyframes
      • đŸ“ļAlignment Tools
      • ⌛Time Offset
      • đŸ”ĸInfo Panel
      • 📉Graph View
      • âœ‚ī¸Keyframe Tools
    • 🍰Menus & Shortcuts
      • 📃Context Menus
        • â†–ī¸Select Menu
        • 📰Object Menu
        • 🍱Channel Menu
        • đŸ›¤ī¸Tracks Menu
        • 🔸Keyframes Menu
        • đŸ”ģMarkers Menu
        • 📰View Menu
        • 📰Events Menu
        • đŸĨ…Work Area Menu
      • đŸ—ƒī¸File Menu
      • âš’ī¸Timeflow Menu
        • đŸ•ēAdd Behavior
        • đŸ”ļAnimation
        • 🍱Composition
        • đŸ“ēDisplay
        • ⏊Jump To
        • 👨‍đŸ‘Ļ‍đŸ‘ĻHierarchy
        • 🌐Mesh
        • 👉Select
        • 📚Tracks
        • 🌈Track Colors
        • â†”ī¸Transform
        • đŸ‘ī¸Visibility
        • đŸ› ī¸Editor
      • đŸ”ĩGame Objects Menu
      • đŸŽ›ī¸Presets
      • âš™ī¸Preferences
        • Assets
        • ⌛Time
        • đŸŗī¸â€đŸŒˆTracks
        • âšĒObjects
        • 🧮Channels
        • đŸ”ļKeyframes
        • 🔠Input
        • đŸ“ĨImport
        • đŸ–ŧī¸Rendering
        • đŸŽ›ī¸Overrides
        • 🍱Extras
      • *ī¸âƒŖKeyboard Shortcuts
        • Managing Shortcuts
      • âœ´ī¸Quick Menu
  • Reference
    • đŸ”ĩTimeflow Object
      • đŸĸTracks
      • 🏭Behaviors
      • ⏰Events
      • đŸ—ƒī¸Channels
    • 💃Timeflow Controller
      • đŸŽžī¸Timeflow Playback
    • đŸĒ„Behaviors
      • đŸŽžī¸Animation
        • 🔸Keyframer
        • â†”ī¸Tween
        • 🔀Blend
        • đŸŽĸMotion Path
        • đŸ‘¯Animation Clips
        • 🌴Animator Blend Trees
        • 😁Blend Shapes
      • 🤖Automation
        • 🛸Auto Bank
        • 🧭Auto Rotate
        • 📐Distance
        • ⏰Event
        • đŸ›Šī¸Flyby
        • 🏃Follow
        • 👀Look At
        • đŸŽ¯Look At Target
        • 🎲Noise
        • 🚊Place On Path
        • đŸī¸Place On Surface
      • 🔊Audio
        • 🔊Audio Track
        • đŸŽŧAudio Spectrum
        • đŸŽĩAudio Sample
        • đŸŽ™ī¸Audio Reactive
      • 🎹MIDI
        • 🎹Midi File
        • đŸĨMidi Tween
        • 📡Midi Receiver
          • đŸŽ›ī¸Minis Setup (New Input System)
          • đŸšĨMidiJack Setup (Legacy Input)
      • 🏁Rendering
        • đŸŽžī¸Render To Disk
        • 📋Render Queue
        • đŸ“Ŋī¸Video Encoding
        • 💡Tips & Optimizations
        • âēī¸Unity Recorder
      • 🔧Tools
        • â„šī¸Animator Info
        • 🧮Align Children
        • đŸ’ŦComment
        • #ī¸âƒŖFPS Counter
        • 📈Graph
        • 🔗Property Link
        • 🔄Rotator
        • ✨Particle System Update
        • 🌈Trail Renderer Update
        • đŸ“ēVideo Player Update
    • đŸ—ƒī¸Precomposing
    • 🏭Prefabs
    • 🎨Advanced Presets
    • đŸŽ›ī¸Editor Overrides
      • 🏹Transform Editor Override
    • 🔌Integrations
      • đŸ§™â€â™‚ī¸Adventure Creator
      • đŸŽ›ī¸MIDI Jack | Minis
      • đŸ¤ēSpine Animation
      • đŸ“Ŋī¸Unity Timeline
      • ➰Unity Splines
    • đŸĒSamples
      • đŸ•šī¸Demo App
      • đŸŽžī¸Cutscenes
      • 🏓Physics
      • 🍧Shader Properties
      • ⚡Visual Effect Graph (VFX)
    • 📖Glossary
    • 📗Scripting
    • đŸ“ŖPublished Works
    • âš ī¸Known Issues
    • 🆘Support
    • đŸ§ĒBeta
    • Roadmap
    • đŸ”ĸVersion History
    • ÂŠī¸Terms & Privacy
Powered by GitBook
On this page
  • Setup
  • Timeflow Control Track
  • Toggle Director Sync
  • Multiple Timeflow Instances
  • Timeflow Control Clips
  • Auto Start Time
  • Start Time
  • Activate Timeflow
  • Reset Clip Length
  • Which timeline is in control?
  • Music Synchronization
  1. Reference
  2. Integrations

Unity Timeline

Synchronize Timeflow with Unity Timeline

PreviousSpine AnimationNextUnity Splines

Last updated 6 months ago

Timeflow does not require Unity Timeline to work, however some users may wish to use both.

To use this feature, please locate and import the Timeline package in the Samples section of Timeflow in the Package Manager.

While either or both may be used without the Timeline samples package, it is required if you want to synchronize the two together.

When synced, the time in both Timeflow and Timeline are unified. Playing or moving the time in one affects the other. The integration package also includes an example scene to help you get started.

Setup

Open the Timeline window from the main menu: Window/Sequencing/Timeline

It may be helpful initially to dock the windows stacked as shown above, though is not required if you prefer a different layout.

Open the scene you wish to work with. If Timeflow has not already been set up, click 'Add Timeflow to this scene'. Also click the 'Create' button in the Timeline window and create new playable asset.

After each has been set up, the Timeline and Timeflow view will appear empty as below.

Timeflow Control Track

Drag and drop the Timeflow game object into the Timeline window. Upon doing so, a context menu will appear as shown below. Select "Add Timeflow Control Track".

This adds an empty track for Timeflow.

Click on the 3 stacked dots to the right of the track and from the menu select "Add Timeflow Control Clip".

This adds a clip to the track channel which corresponds to the Timeflow duration.

Please note that multiple control clips may be created, however Timeflow does not support blending clip blending, so they are either on or off controlling the playback of Timeflow. See the documentation below for more about working with multiple clips.

When the above setup has been completed, Timeflow will automatically be connected to the director as shown in the Settings section of the Timeflow inspector.

Once Timeflow has been synced with Timeline, moving time or playing in either view affects the other, however note that ultimately Timeline controls the master time when syncing.

Toggle Director Sync

Click the director icon displayed in the toolbar (to the left of the playback controls) to toggle director syncing on or off. When enabled, the current Timeflow instance is synced with the Timeline director assigned. While editing it may sometimes be helpful to turn off syncing to freely work with the current Timeflow animations independently of the director.

This icon button only appears when a Timeline director has been assigned in the Timeflow inspector, under Settings. If none has been assigned, then this icon is hidden.

Multiple Timeflow Instances

Multiple Timeflow instances may also be added to Timeline following the same setup procedure above. The control clips for each may be adjusted to set the start and end times.

The starting point of the clip for each starts at time 0 in the corresponding Timeflow view.

Please note that using multiple Timeflow instances is an advanced setup and isn't usually required. Only add multiple instances if separate timing layers are needed.

Timeflow Control Clips

By default, new clips match the duration of each Timeflow instance. However, you may adjust the clip start and end points to sequence portions of the Timeflow animation in Timeline.

Note that Timeflow stops updating when it reaches the end of a track, until the next section is reached. Having gaps in clip ranges affects the behavior of the Timeflow view and will cause gaps in the playback.

For additional settings, select a Timeflow control clip to view it in the inspector.

Auto Start Time

This option defaults on and means that each clip starts at the corresponding time in Timeflow. So if the clip starts at 5 seconds, then it plays back in Timeflow starting at 5 seconds. Or you may disable this checkbox to manually set a start time, regardless of the clip's start time in Timeline.

Start Time

This sets a specific start time for the clip to begin playback in Timeflow. Use this to queue the clip to a specific starting point in Timeflow, such as the time of a marker or event.

Activate Timeflow

This option defaults on but may be disabled for each control clip. When enabled, the associated Timeflow instance becomes active and visible in the Timeflow view. This is only applicable when multiple Timeflow instances exist in the scene.

Activate Timeflow is an editor-only feature and has no effect at build runtime.

Reset Clip Length

At any point you wish to, you may reset a Timeflow control clip back to the full duration of the Timeflow by right-clicking on the clip to show the context menu and selecting Match Content, or using the keyboard shortcut C.

Which timeline is in control?

Whenever Timeflow is synced with a Timeline director, whichever initiates playback (calling Play()) is in control of time. Typically you'll want to initiate playback in the director, especially if multiple clips or Timeflow instances are synced with the same director. However, you may also start playback from Timeflow in which case it controls the timing of the Timeline director. This behavior automatically detects which timeline system is controlling playback so that it will work as expected in each situation.

Music Synchronization

Whenever Timeline is in control of playback, music synchronization in Timeflow cannot be enforced. This is because music synchronization in Timeflow is driven by the audio time and having 2 simultaneous systems fighting to control the master time results in skipping and interrupted playback.

If music synchronization is essential for your setup, initiate playback in Timeflow so that it controls the Timeline director, rather than the other way around. Alternatively, you could disable Timeline director sync and initiate Timeflow playback with an event, instead of using a control clip in the director.

🔌
đŸ“Ŋī¸
Imported Timeline samples are installed to Assets/Samples/Timeflow
The Timeline and Timeflow views are shown stacked, however once setup both views do not have to be visible to function. Whichever window layout you prefer is fine.
Sync Unity Timeline is enabled by default to synchronize the two, but may be turned of to stop syncing.