com.unity.timeline 1.5.2

com.unity.timeline

Notes: processedReleased January 14, 2021

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2019.3

Package Dependencies

  • com.unity.modules.animation (1.0.0)
  • com.unity.modules.audio (1.0.0)
  • com.unity.modules.director (1.0.0)
  • com.unity.modules.particlesystem (1.0.0)

Features

  • During recording, there are new ways to key animated properties:
  • - A new Inspector context menu has been added (`Key All Animated`) that sets a key to all currently animated properties.
  • - It is possible to make a multi-selection of tracks to set a keyframe to all currently animated properties. If no track is selected, all recording tracks are keyed.
  • - If properties are selected in the curve editor, only those properties are keyed.
  • `TimelineEditor.GetWindow` and `TimelineEditor.GetOrCreateWindow` to get the current Timeline window or create a Timeline window.
  • `TimelineEditorWindow.SetCurrentTimeline` to change which timeline asset is opened in the Timeline window.
  • `TimelineEditorWindow.lock` to lock or unlock the Timeline window.
  • `TrackExtensions.GetCollapsed`, `TrackExtensions.SetCollapsed`, `TrackExtensions.IsVisibleRecursive` to get and change the visibility state of a track.
  • `AnimationTrackExtensions.IsRecording`, `AnimationTrackExtensions.SetRecording`, `AnimationTrackExtensions.SupportsRecording` to get or change the recording state of an Animation track.
  • Added two methods in `TrackEditor` to control how an object is bound to a track: `IsBindingAssignableFrom` and `GetBindingFrom`.
  • Added Japanese translation.
  • The Timeline window will automatically rebuild the graph when a notifications's properties are changed.
  • The Timeline window will be automatically refreshed when a marker's properties are changed.
  • Added `TimelineEditor.GetInspectedTimeFromMasterTime` and `TimelineEditor.GetMasterTimeFromInspectedTime` to convert time from master to inspected timeline and vice versa when using sub-timelines.
  • Added API to improve how to get/set a `TimelineClip`'s parent track:
  • - `TimelineClip.GetParentTrack` (replaces obsolete property getter)
  • - `ItemsUtils.SetParentTrack` (extension method thar replaces obsolete property setter)
  • Added a new `Seconds` time display mode and renamed previous Seconds mode to Timecode.
  • - `TimelinePreferences.timeFormat` field,
  • - `UnityEditor.Timeline.TimeFormat` enum.
  • Added API for the user to clip to the track area:
  • - API: Relevant member to `MarkerOverlayRegion`,
  • - API: `MarkerOverlayRegion.trackRegion`,
  • - API: `MarkerOverlayRegion` constructor.
  • Added *Gameplay sequence* sample.
  • - This sample demonstrates how Timeline can be used to create a small in-game moment, using built-in tracks.
  • Added *Customization* sample.
  • - This sample demonstrates how to create custom tracks, clips, markers and actions.

📈 Improvements

  • The binding field on a track header will change its background color when dragging a valid object on it.
  • Timeline marker track is now selectable.
  • `TimelineClip` property `parentTrack` is now obsolete.
  • `TimelinePreferences.timeUnitInFrames` is now obsolete.

🔧 Bug Fixes

  • Fixed a bug affecting the conversion between seconds and frames in the inspector.
  • Fixed issue where `KeyAllAnimated` was available when right-clicking on markers and tracks that were not in record mode. (1270304)
  • Fixed issue where the mouse cursor would stay stuck to a resize icon when resizing the track header. (1076031)
  • Fixed case where an animation event at time 0 would not fire on a timeline loop. (1184106)
  • Fixed issue where Timeline objects (ie. `TrackAsset`, `ControlTrack`, `SignalAsset`, etc.) would have incorrect links to the documentation pages. *Available starting from Unity 2021.1*. (1082941)
  • Fixed multiple issues related to blends
  • - Fix display of blends when clips have ease-in/ease-out (1178066)
  • - Fix clip disappearing when dragging it from left to right completely inside another clip.
  • - Fix select and drag clip discarding foreground display rule of selected clip after releasing the drag.
  • - Fix fully blended clips selection not available. (1289912)
  • Fixed issue where the clip display would flicker when moving two clips that are completely overlapped. (1085679)
  • The Timeline window will no longer revert to editing only the asset if the user uses the Timeline selector to pick a game object and switches focus. (1291455)
  • Create button on timeline panel no longer defaults to an invalid path. (1289923)
  • Fixed issue where Timeline's bindings field would loses names and bindings when selecting clips. (1293941)
  • Make Timeline's duration result displayed in the Inspector, when switching from duration mode: Based On Clips to Fixed Length, closer to the actual duration. (1156920)
  • Copy/Paste of clips in the Timeline Window will no longer paste clips at an invalid time in mix-mode. (1289925)