summaryrefslogtreecommitdiff
path: root/Library/PackageCache/com.unity.timeline@1.2.13/Editor
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-08-20 23:40:50 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-08-20 23:40:50 -0400
commit3af4c218c0e70167db23a6303d2af30aff37d2fe (patch)
tree927f29edcf54ab562f40f3d1c6cb69287c7f5980 /Library/PackageCache/com.unity.timeline@1.2.13/Editor
parentb6daed0af784f4e9bc13329dd87c671b06ee1c65 (diff)
downloadProject-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.gz
Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.bz2
Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.zip
Removed a bunch of stuff; Changes
Diffstat (limited to 'Library/PackageCache/com.unity.timeline@1.2.13/Editor')
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ClipsActions.cs376
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ClipsActions.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ItemAction.cs124
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ItemAction.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/MarkerActions.cs17
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/MarkerActions.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/MenuItemActionBase.cs177
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/MenuItemActionBase.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/TimelineContextMenu.cs448
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/TimelineContextMenu.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TimelineActions.cs946
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TimelineActions.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TrackActions.cs521
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TrackActions.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackEditor.cs56
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs43
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics/TimelineAnalytics.cs170
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics/TimelineAnalytics.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipActions.cs96
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipActions.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipCurveCache.cs436
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipCurveCache.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationOffsetMenu.cs82
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationOffsetMenu.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationPlayableAssetEditor.cs65
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationPlayableAssetEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationTrackActions.cs151
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationTrackActions.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingSelector.cs224
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingSelector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSource.cs139
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSource.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSourceGUI.cs80
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSourceGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/ClipCurveEditor.cs332
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/ClipCurveEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurveDataSource.cs272
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurveDataSource.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurvesProxy.cs302
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurvesProxy.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/TimelineAnimationUtilities.cs435
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/TimelineAnimationUtilities.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ActiveInModeAttribute.cs14
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ActiveInModeAttribute.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/MenuEntryAttribute.cs37
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/MenuEntryAttribute.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ShortcutAttribute.cs71
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ShortcutAttribute.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioClipPropertiesDrawer.cs81
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioClipPropertiesDrawer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetEditor.cs84
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetInspector.cs27
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioTrackInspector.cs164
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioTrackInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack/ControlPlayableAssetEditor.cs69
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack/ControlPlayableAssetEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CurveEditUtility.cs657
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CurveEditUtility.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/ClipEditor.cs256
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/ClipEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/CustomTimelineEditorCache.cs155
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/CustomTimelineEditorCache.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerEditor.cs209
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerTrackEditor.cs18
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerTrackEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/TrackEditor.cs284
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/TrackEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorNamedColor.cs288
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorNamedColor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorStyles.cs362
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorStyles.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimatedParameterExtensions.cs150
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimatedParameterExtensions.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimationTrackExtensions.cs134
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimationTrackExtensions.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/TrackExtensions.cs495
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/TrackExtensions.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ClipItem.cs143
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ClipItem.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ITimelineItem.cs39
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ITimelineItem.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsGroup.cs63
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsGroup.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsPerTrack.cs45
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsPerTrack.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsUtils.cs116
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsUtils.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/MarkerItem.cs106
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/MarkerItem.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeMix.cs26
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeMix.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeReplace.cs18
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeReplace.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeRipple.cs18
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeRipple.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/IAddDeleteItemMode.cs10
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/IAddDeleteItemMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors/TimelineCursors.cs95
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors/TimelineCursors.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditMode.cs344
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditModeInputHandler.cs199
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditModeInputHandler.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/IMoveItemMode.cs28
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/IMoveItemMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemHandler.cs312
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemHandler.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeMix.cs138
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeMix.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeReplace.cs99
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeReplace.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeRipple.cs271
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeRipple.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MovingItems.cs137
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MovingItems.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/EaseClip.cs146
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/EaseClip.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/Jog.cs61
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/Jog.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/MarkerHeaderContextMenu.cs24
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/MarkerHeaderContextMenu.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleSelect.cs36
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleSelect.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleTool.cs169
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleTool.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleZoom.cs23
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleZoom.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/SelectAndMoveItem.cs297
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/SelectAndMoveItem.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrackZoom.cs20
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrackZoom.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrimClip.cs232
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrimClip.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeAreaAutoPanner.cs72
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeAreaAutoPanner.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeIndicator.cs47
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeIndicator.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimelineClipGroup.cs54
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimelineClipGroup.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/ITrimItemMode.cs23
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/ITrimItemMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeMix.cs102
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeMix.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeReplace.cs139
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeReplace.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeRipple.cs97
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeRipple.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeGUIUtils.cs27
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeGUIUtils.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeMixUtils.cs137
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeMixUtils.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeReplaceUtils.cs57
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeReplaceUtils.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeRippleUtils.cs108
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeRippleUtils.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeUtils.cs123
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeUtils.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/ManipulatorsUtils.cs19
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/ManipulatorsUtils.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/PlacementValidity.cs13
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/PlacementValidity.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/MenuOrder.cs103
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/MenuOrder.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables/ControlPlayableInspector.cs212
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables/ControlPlayableInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties/AssemblyInfo.cs24
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties/AssemblyInfo.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/AnimationTrackRecorder.cs306
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/AnimationTrackRecorder.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording.cs497
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecordingContextualResponder.cs134
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecordingContextualResponder.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_Monobehaviour.cs709
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_Monobehaviour.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_PlayableAsset.cs115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_PlayableAsset.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TrackAssetRecordingExtensions.cs191
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TrackAssetRecordingExtensions.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Shortcuts.cs266
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Shortcuts.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalAssetInspector.cs28
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalAssetInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterEditor.cs23
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterInspector.cs377
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEventDrawer.cs39
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEventDrawer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalManager.cs87
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalManager.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverHeader.cs15
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverHeader.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverInspector.cs116
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalUtility.cs125
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalUtility.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/Styles.cs39
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/Styles.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalListFactory.cs31
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalListFactory.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverItem.cs180
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverItem.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverTreeView.cs155
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverTreeView.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/State.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/ISequenceState.cs106
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/ISequenceState.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceHierarchy.cs298
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceHierarchy.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequencePath.cs131
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequencePath.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceState.cs212
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceState.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/WindowState.cs1131
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/WindowState.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/common.uss1153
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/common.uss.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/dark.uss286
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/dark.uss.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/light.uss282
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/light.uss.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineActivation.pngbin15414 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineActivation.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey.pngbin1300 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey@2x.pngbin1822 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey@2x.png.meta91
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active.pngbin350 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active@2x.pngbin617 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active@2x.png.meta91
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonDisabled.pngbin363 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonDisabled.png.meta88
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonEnabled.pngbin360 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonEnabled.png.meta88
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineContinue.pngbin14651 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineContinue.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOff.pngbin14766 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOff.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOn.pngbin14806 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOn.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineDisabledBackground.pngbin2323 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineDisabledBackground.png.meta119
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEndPlayback.pngbin2816 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEndPlayback.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye.pngbin470 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye@2x.pngbin928 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye@2x.png.meta91
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineHold.pngbin14711 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineHold.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipIn.pngbin227 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipIn.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipOut.pngbin143 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipOut.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineInfiniteTrackNoShadow.pngbin15479 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineInfiniteTrackNoShadow.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineKeyframe.pngbin15713 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineKeyframe.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.pngbin218 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.pngbin340 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png.meta91
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLoop.pngbin14738 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLoop.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItem.pngbin357 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItem.png.meta90
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemCollapsed.pngbin200 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemCollapsed.png.meta90
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemSelected.pngbin325 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemSelected.png.meta90
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePingPong.pngbin14757 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePingPong.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePlayRange.pngbin216 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePlayRange.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalCollapsed.pngbin206 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalCollapsed.png.meta83
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalSelected.pngbin202 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalSelected.png.meta88
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineStartPlayback.pngbin2822 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineStartPlayback.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineTimeCursor.pngbin15465 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineTimeCursor.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/Timeline-Marker-Warning-Overlay.pngbin334 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/Timeline-Marker-Warning-Overlay.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipBG.pngbin784 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipBG.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipFG.pngbin156 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipFG.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineDigIn.pngbin218 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineDigIn.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixOFF.pngbin2776 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixOFF.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixON.pngbin3244 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixON.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceOFF.pngbin2747 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceOFF.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceON.pngbin3131 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceON.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleOFF.pngbin3724 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleOFF.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleON.pngbin3376 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleON.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineHeaderMarkerIcon.pngbin410 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineHeaderMarkerIcon.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonDisabled.pngbin1533 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonDisabled.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonEnabled.pngbin1533 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonEnabled.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSelector.pngbin15489 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSelector.png.meta139
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSignal.pngbin1724 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSignal.png.meta88
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineDigIn.pngbin218 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineDigIn.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixOFF.pngbin1755 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixOFF.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixON.pngbin1745 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixON.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceOFF.pngbin1518 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceOFF.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceON.pngbin1733 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceON.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleOFF.pngbin2362 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleOFF.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleON.pngbin1997 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleON.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineHeaderMarkerIcon.pngbin417 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineHeaderMarkerIcon.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonDisabled.pngbin241 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonDisabled.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonEnabled.pngbin242 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonEnabled.png.meta115
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSelector.pngbin15489 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSelector.png.meta139
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSignal.pngbin207 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSignal.png.meta88
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineActivation.pngbin14964 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineActivation.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey.pngbin1323 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey@2x.pngbin2131 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey@2x.png.meta91
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active.pngbin344 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active@2x.pngbin647 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active@2x.png.meta91
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonDisabled.pngbin348 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonDisabled.png.meta88
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonEnabled.pngbin356 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonEnabled.png.meta88
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineContinue.pngbin15525 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineContinue.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOff.pngbin15681 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOff.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOn.pngbin15653 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOn.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineDisabledBackground.pngbin2139 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineDisabledBackground.png.meta119
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEndPlayback.pngbin2816 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEndPlayback.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye.pngbin457 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye@2x.pngbin889 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye@2x.png.meta91
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineHold.pngbin15597 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineHold.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipIn.pngbin15065 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipIn.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipOut.pngbin15695 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipOut.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineInfiniteTrackNoShadow.pngbin15486 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineInfiniteTrackNoShadow.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineKeyframe.pngbin15714 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineKeyframe.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.pngbin203 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.pngbin346 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png.meta91
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLoop.pngbin15174 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLoop.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItem.pngbin339 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItem.png.meta90
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemCollapsed.pngbin191 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemCollapsed.png.meta90
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemSelected.pngbin263 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemSelected.png.meta90
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePingPong.pngbin15179 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePingPong.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePlayRange.pngbin14680 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePlayRange.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalCollapsed.pngbin203 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalCollapsed.png.meta86
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalSelected.pngbin184 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalSelected.png.meta88
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineStartPlayback.pngbin2814 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineStartPlayback.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineTimeCursor.pngbin15479 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineTimeCursor.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/Timeline-Marker-Multi-Overlay.pngbin126 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/Timeline-Marker-Multi-Overlay.png.meta108
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineBottomShadow.pngbin96 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineBottomShadow.png.meta117
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineConnector.pngbin14566 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineConnector.png.meta107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineDisplay.pngbin214 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineDisplay.png.meta104
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineGroupBackground.pngbin149 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineGroupBackground.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineOutline.pngbin14678 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineOutline.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSeqEnd.pngbin14981 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSeqEnd.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSwatch.pngbin14552 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSwatch.png.meta117
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineWarning.pngbin361 -> 0 bytes
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineWarning.png.meta77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/HumanoidDefault.anim6683
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/HumanoidDefault.anim.meta10
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_DarkSkin.txt52
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_DarkSkin.txt.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_LightSkin.txt52
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_LightSkin.txt.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineEditor.cs173
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineHelpers.cs929
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineHelpers.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineSelection.cs331
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineSelection.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineUtility.cs315
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineUtility.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Tooltip.cs110
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Tooltip.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Trackhead.cs363
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Trackhead.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Unity.Timeline.Editor.asmdef10
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Unity.Timeline.Editor.asmdef.meta7
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/UnityEditorInternals.cs19
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/UnityEditorInternals.cs.meta3
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterCache.cs91
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterCache.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterUtility.cs358
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterUtility.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BindingUtility.cs58
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BindingUtility.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BreadcrumbDrawer.cs235
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BreadcrumbDrawer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ClipModifier.cs386
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ClipModifier.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Clipboard.cs142
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Clipboard.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ControlPlayableUtility.cs62
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ControlPlayableUtility.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs47
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/DisplayNameHelper.cs33
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/DisplayNameHelper.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIColorOverride.cs21
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIColorOverride.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs18
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIMixedValueScope.cs20
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIMixedValueScope.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIViewportScope.cs34
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIViewportScope.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Graphics.cs109
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Graphics.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/KeyTraverser.cs203
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/KeyTraverser.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/MarkerModifier.cs66
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/MarkerModifier.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectExtension.cs28
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectExtension.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectReferenceField.cs195
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectReferenceField.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/PropertyCollector.cs226
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/PropertyCollector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Range.cs49
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Range.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SequenceSelectorNameFormater.cs32
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SequenceSelectorNameFormater.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SpacePartitioner.cs127
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SpacePartitioner.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleManager.cs60
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleManager.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleNormalColorOverride.cs23
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleNormalColorOverride.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimeReferenceUtility.cs57
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimeReferenceUtility.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimelineKeyboardNavigation.cs387
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimelineKeyboardNavigation.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackModifier.cs21
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackModifier.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackResourceCache.cs121
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackResourceCache.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TypeUtility.cs342
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TypeUtility.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimeReferenceMode.cs8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimeReferenceMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineActiveMode.cs42
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineActiveMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineAssetEditionMode.cs27
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineAssetEditionMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineDisabledMode.cs44
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineDisabledMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineInactiveMode.cs47
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineInactiveMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineMode.cs71
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineReadOnlyMode.cs52
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineReadOnlyMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/PlaybackScroller.cs54
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/PlaybackScroller.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineMarkerHeaderGUI.cs201
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineMarkerHeaderGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow.cs541
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindowTimeControl.cs331
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindowTimeControl.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_ActiveTimeline.cs80
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_ActiveTimeline.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Breadcrumbs.cs118
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Breadcrumbs.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Duration.cs128
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Duration.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_EditorCallbacks.cs272
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_EditorCallbacks.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Gui.cs511
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Gui.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_HeaderGui.cs314
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_HeaderGui.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Manipulators.cs41
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Manipulators.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayRange.cs131
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayRange.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayableLookup.cs79
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayableLookup.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PreviewPlayMode.cs80
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PreviewPlayMode.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Selection.cs80
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Selection.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_StateChange.cs53
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_StateChange.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeArea.cs107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeArea.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeCursor.cs83
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeCursor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TrackGui.cs219
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TrackGui.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/ScriptableObjectViewPrefs.cs119
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/ScriptableObjectViewPrefs.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineAssetViewModel.cs116
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineAssetViewModel.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineWindowViewPrefs.cs170
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineWindowViewPrefs.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/WindowConstants.cs45
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/WindowConstants.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationPlayableAssetInspector.cs341
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationPlayableAssetInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationTrackInspector.cs504
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationTrackInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BasicAssetInspector.cs41
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BasicAssetInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BuiltInCurvePresets.cs58
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BuiltInCurvePresets.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspector.cs786
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorCurveEditor.cs348
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorCurveEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorSelectionInfo.cs132
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorSelectionInfo.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/CurvesOwnerInspectorHelper.cs109
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/CurvesOwnerInspectorHelper.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/ICurvesOwnerInspectorWrapper.cs14
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/ICurvesOwnerInspectorWrapper.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/DirectorNamedColorInspector.cs27
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/DirectorNamedColorInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClip.cs24
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClip.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClipFactory.cs53
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClipFactory.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/GroupTrackInspector.cs107
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/GroupTrackInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/MarkerInspector.cs69
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/MarkerInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimeFieldDrawer.cs69
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimeFieldDrawer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineAssetInspector.cs78
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineAssetInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineInspectorUtility.cs353
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineInspectorUtility.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TrackAssetInspector.cs203
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TrackAssetInspector.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/AnimationTrackKeyDataSource.cs25
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/AnimationTrackKeyDataSource.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Control.cs28
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Control.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/AnimationTrackDrawer.cs86
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/AnimationTrackDrawer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/ClipDrawer.cs678
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/ClipDrawer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/InfiniteTrackDrawer.cs86
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/InfiniteTrackDrawer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ClipsLayer.cs57
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ClipsLayer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ItemsLayer.cs134
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ItemsLayer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/MarkersLayer.cs80
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/MarkersLayer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackDrawer.cs51
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackDrawer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackItemsDrawer.cs42
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackItemsDrawer.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IPropertyKeyDataSource.cs71
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IPropertyKeyDataSource.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IRowGUI.cs16
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IRowGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/InlineCurveEditor.cs299
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/InlineCurveEditor.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/ISelectable.cs11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/ISelectable.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineClipGUI.cs760
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineClipGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineItemGUI.cs92
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineItemGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerClusterGUI.cs150
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerClusterGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerGUI.cs193
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsClips.cs77
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsClips.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTimeline.cs287
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTimeline.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTracks.cs103
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTracks.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Manipulator.cs91
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Manipulator.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/PickerUtils.cs41
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/PickerUtils.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping.meta8
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/IAttractable.cs21
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/IAttractable.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/ISnappable.cs22
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/ISnappable.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/SnapEngine.cs288
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/SnapEngine.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipHandle.cs53
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipHandle.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipUnion.cs126
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipUnion.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDataSource.cs222
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDataSource.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDragging.cs683
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDragging.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineGroupGUI.cs310
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineGroupGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackBaseGUI.cs218
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackBaseGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackErrorGUI.cs185
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackErrorGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackGUI.cs812
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeView.cs439
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeView.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeViewGUI.cs182
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeViewGUI.cs.meta11
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TrackPropertyCurvesDataSource.cs15
-rw-r--r--Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TrackPropertyCurvesDataSource.cs.meta11
716 files changed, 0 insertions, 60213 deletions
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions.meta
deleted file mode 100644
index bc1e1e5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 8620e97e7e9859049934889a52248435
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ClipsActions.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ClipsActions.cs
deleted file mode 100644
index e12af71..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ClipsActions.cs
+++ /dev/null
@@ -1,376 +0,0 @@
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-using ClipAction = UnityEditor.Timeline.ItemAction<UnityEngine.Timeline.TimelineClip>;
-
-namespace UnityEditor.Timeline
-{
- [MenuEntry("Edit in Animation Window", MenuOrder.ClipEditAction.EditInAnimationWindow), UsedImplicitly]
- class EditClipInAnimationWindow : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- if (clips.Length == 1 && clips[0].animationClip != null)
- return MenuActionDisplayState.Visible;
- return MenuActionDisplayState.Hidden;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- var clip = clips[0];
-
- if (clip.curves != null || clip.animationClip != null)
- {
- var clipToEdit = clip.animationClip != null ? clip.animationClip : clip.curves;
- if (clipToEdit == null)
- return false;
-
- var gameObject = state.GetSceneReference(clip.parentTrack);
- var timeController = TimelineAnimationUtilities.CreateTimeController(state, clip);
- TimelineAnimationUtilities.EditAnimationClipWithTimeController(
- clipToEdit, timeController, clip.animationClip != null ? gameObject : null);
- return true;
- }
-
- return false;
- }
- }
-
- [MenuEntry("Edit Sub-Timeline", MenuOrder.ClipEditAction.EditSubTimeline), UsedImplicitly]
- class EditSubTimeline : ClipAction
- {
- private static readonly string MultiItemPrefix = "Edit Sub-Timelines/";
- private static readonly string SingleItemPrefix = "Edit ";
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- return IsValid(state, clips) ? MenuActionDisplayState.Visible : MenuActionDisplayState.Hidden;
- }
-
- bool IsValid(WindowState state, TimelineClip[] clips)
- {
- if (clips.Length != 1 || state == null || state.editSequence.director == null) return false;
- var clip = clips[0];
-
- var directors = TimelineUtility.GetSubTimelines(clip, state.editSequence.director);
- return directors.Any(x => x != null);
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- if (!IsValid(state, clips)) return false;
-
- var clip = clips[0];
-
- var directors = TimelineUtility.GetSubTimelines(clip, state.editSequence.director);
- ExecuteInternal(state, directors, 0, clip);
-
- return true;
- }
-
- static void ExecuteInternal(WindowState state, IList<PlayableDirector> directors, int directorIndex, TimelineClip clip)
- {
- SelectionManager.Clear();
- state.GetWindow().SetCurrentTimeline(directors[directorIndex], clip);
- }
-
- protected override void AddMenuItem(WindowState state, TimelineClip[] items, List<MenuActionItem> menuItems)
- {
- if (items == null || items.Length != 1)
- return;
-
- var mode = TimelineWindow.instance.currentMode.mode;
- var menuItem = new MenuActionItem()
- {
- category = category,
- entryName = GetDisplayName(items),
- shortCut = string.Empty,
- isChecked = false,
- isActiveInMode = IsActionActiveInMode(this, mode),
- priority = priority,
- state = GetDisplayState(state, items),
- callback = null
- };
-
- var subDirectors = TimelineUtility.GetSubTimelines(items[0], state.editSequence.director);
- if (subDirectors.Count == 1)
- {
- menuItem.entryName = SingleItemPrefix + DisplayNameHelper.GetDisplayName(subDirectors[0]);
- menuItem.callback = () => Execute(state, items);
- menuItems.Add(menuItem);
- }
- else
- {
- for (int i = 0; i < subDirectors.Count; i++)
- {
- var index = i;
- menuItem.category = MultiItemPrefix;
- menuItem.entryName = DisplayNameHelper.GetDisplayName(subDirectors[i]);
- menuItem.callback = () => ExecuteInternal(state, subDirectors, index, items[0]);
- menuItems.Add(menuItem);
- }
- }
- }
- }
-
- [MenuEntry("Editing/Trim Start", MenuOrder.ClipAction.TrimStart)]
- [Shortcut(Shortcuts.Clip.trimStart), UsedImplicitly]
- class TrimStart : ItemAction<TimelineClip>
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- return clips.All(x => state.editSequence.time <= x.start || state.editSequence.time >= x.start + x.duration) ?
- MenuActionDisplayState.Disabled : MenuActionDisplayState.Visible;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- return ClipModifier.TrimStart(clips, state.editSequence.time);
- }
- }
-
- [MenuEntry("Editing/Trim End", MenuOrder.ClipAction.TrimEnd), UsedImplicitly]
- [Shortcut(Shortcuts.Clip.trimEnd)]
- class TrimEnd : ItemAction<TimelineClip>
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- return clips.All(x => state.editSequence.time <= x.start || state.editSequence.time >= x.start + x.duration) ?
- MenuActionDisplayState.Disabled : MenuActionDisplayState.Visible;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- return ClipModifier.TrimEnd(clips, state.editSequence.time);
- }
- }
-
- [Shortcut(Shortcuts.Clip.split), MenuEntry("Editing/Split", MenuOrder.ClipAction.Split), UsedImplicitly]
- class Split : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- return clips.All(x => state.editSequence.time <= x.start || state.editSequence.time >= x.start + x.duration) ?
- MenuActionDisplayState.Disabled : MenuActionDisplayState.Visible;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- bool success = ClipModifier.Split(clips, state.editSequence.time, state.editSequence.director);
- if (success)
- state.Refresh();
- return success;
- }
- }
-
- [MenuEntry("Editing/Complete Last Loop", MenuOrder.ClipAction.CompleteLastLoop), UsedImplicitly]
- class CompleteLastLoop : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- bool canDisplay = clips.Any(TimelineHelpers.HasUsableAssetDuration);
- return canDisplay ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- return ClipModifier.CompleteLastLoop(clips);
- }
- }
-
- [MenuEntry("Editing/Trim Last Loop", MenuOrder.ClipAction.TrimLastLoop), UsedImplicitly]
- class TrimLastLoop : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- bool canDisplay = clips.Any(TimelineHelpers.HasUsableAssetDuration);
- return canDisplay ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- return ClipModifier.TrimLastLoop(clips);
- }
- }
-
- [MenuEntry("Editing/Match Duration", MenuOrder.ClipAction.MatchDuration), UsedImplicitly]
- class MatchDuration : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- return clips.Length > 1 ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- return ClipModifier.MatchDuration(clips);
- }
- }
-
- [MenuEntry("Editing/Double Speed", MenuOrder.ClipAction.DoubleSpeed), UsedImplicitly]
- class DoubleSpeed : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- bool canDisplay = clips.All(x => x.SupportsSpeedMultiplier());
-
- return canDisplay ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- return ClipModifier.DoubleSpeed(clips);
- }
- }
-
- [MenuEntry("Editing/Half Speed", MenuOrder.ClipAction.HalfSpeed), UsedImplicitly]
- class HalfSpeed : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- bool canDisplay = clips.All(x => x.SupportsSpeedMultiplier());
-
- return canDisplay ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- return ClipModifier.HalfSpeed(clips);
- }
- }
-
- [MenuEntry("Editing/Reset Duration", MenuOrder.ClipAction.ResetDuration), UsedImplicitly]
- class ResetDuration : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- bool canDisplay = clips.Any(TimelineHelpers.HasUsableAssetDuration);
- return canDisplay ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- return ClipModifier.ResetEditing(clips);
- }
- }
-
- [MenuEntry("Editing/Reset Speed", MenuOrder.ClipAction.ResetSpeed), UsedImplicitly]
- class ResetSpeed : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- bool canDisplay = clips.All(x => x.SupportsSpeedMultiplier());
-
- return canDisplay ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- return ClipModifier.ResetSpeed(clips);
- }
- }
-
- [MenuEntry("Editing/Reset All", MenuOrder.ClipAction.ResetAll), UsedImplicitly]
- class ResetAll : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- bool canDisplay = clips.Any(TimelineHelpers.HasUsableAssetDuration) ||
- clips.All(x => x.SupportsSpeedMultiplier());
-
- return canDisplay ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- var speedResult = ClipModifier.ResetSpeed(clips);
- var editResult = ClipModifier.ResetEditing(clips);
- return speedResult || editResult;
- }
- }
-
- [MenuEntry("Tile", MenuOrder.ClipAction.Tile), UsedImplicitly]
- class Tile : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] clips)
- {
- return clips.Length > 1 ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- return ClipModifier.Tile(clips);
- }
- }
-
- [MenuEntry("Find Source Asset", MenuOrder.ClipAction.FindSourceAsset), UsedImplicitly]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class FindSourceAsset : ClipAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state,
- TimelineClip[] clips)
- {
- if (clips.Length > 1)
- return MenuActionDisplayState.Disabled;
-
- if (GetUnderlyingAsset(state, clips[0]) == null)
- return MenuActionDisplayState.Disabled;
-
- return MenuActionDisplayState.Visible;
- }
-
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- EditorGUIUtility.PingObject(GetUnderlyingAsset(state, clips[0]));
- return true;
- }
-
- private static UnityEngine.Object GetExternalPlayableAsset(TimelineClip clip)
- {
- if (clip.asset == null)
- return null;
-
- if ((clip.asset.hideFlags & HideFlags.HideInHierarchy) != 0)
- return null;
-
- return clip.asset;
- }
-
- private static UnityEngine.Object GetUnderlyingAsset(WindowState state, TimelineClip clip)
- {
- var asset = clip.asset as ScriptableObject;
- if (asset == null)
- return null;
-
- var fields = ObjectReferenceField.FindObjectReferences(asset.GetType());
- if (fields.Length == 0)
- return GetExternalPlayableAsset(clip);
-
- // Find the first non-null field
- foreach (var field in fields)
- {
- // skip scene refs in asset mode
- if (state.editSequence.director == null && field.isSceneReference)
- continue;
- var obj = field.Find(asset, state.editSequence.director);
- if (obj != null)
- return obj;
- }
-
- return GetExternalPlayableAsset(clip);
- }
- }
-
- class CopyClipsToClipboard : ClipAction
- {
- public override bool Execute(WindowState state, TimelineClip[] clips)
- {
- TimelineEditor.clipboard.CopyItems(clips.ToItems());
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ClipsActions.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ClipsActions.cs.meta
deleted file mode 100644
index 666f56e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ClipsActions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4b721099b5d509d4093e516f59ad9ad6
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ItemAction.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ItemAction.cs
deleted file mode 100644
index cd4c3a4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ItemAction.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [ActiveInMode(TimelineModes.Default)]
- abstract class ItemAction<T> : MenuItemActionBase where T : class
- {
- public abstract bool Execute(WindowState state, T[] items);
-
- protected virtual MenuActionDisplayState GetDisplayState(WindowState state, T[] items)
- {
- return items.Length > 0 ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- protected virtual string GetDisplayName(T[] items)
- {
- return menuName;
- }
-
- public bool CanExecute(WindowState state, T[] items)
- {
- return GetDisplayState(state, items) == MenuActionDisplayState.Visible;
- }
-
- protected virtual void AddMenuItem(WindowState state, T[] items, List<MenuActionItem> menuItem)
- {
- var mode = TimelineWindow.instance.currentMode.mode;
- menuItem.Add(
- new MenuActionItem()
- {
- category = category,
- entryName = GetDisplayName(items),
- shortCut = this.shortCut,
- isChecked = false,
- isActiveInMode = IsActionActiveInMode(this, mode),
- priority = priority,
- state = GetDisplayState(state, items),
- callback = () => Execute(state, items)
- }
- );
- }
-
- public static bool HandleShortcut(WindowState state, Event evt, T item)
- {
- T[] items = { item };
-
- foreach (ItemAction<T> action in actions)
- {
- var attr = action.GetType().GetCustomAttributes(typeof(ShortcutAttribute), true);
-
- foreach (ShortcutAttribute shortcut in attr)
- {
- if (shortcut.MatchesEvent(evt))
- {
- if (s_ShowActionTriggeredByShortcut)
- Debug.Log(action.GetType().Name);
-
- if (!IsActionActiveInMode(action, TimelineWindow.instance.currentMode.mode))
- return false;
-
- var result = action.Execute(state, items);
- state.Refresh();
- state.Evaluate();
- return result;
- }
- }
- }
-
- return false;
- }
-
- static List<ItemAction<T>> s_ActionClasses;
-
- static List<ItemAction<T>> actions
- {
- get
- {
- if (s_ActionClasses == null)
- {
- s_ActionClasses = GetActionsOfType(typeof(ItemAction<T>)).Select(x => (ItemAction<T>)x.GetConstructors()[0].Invoke(null)).ToList();
- }
-
- return s_ActionClasses;
- }
- }
-
- public static void GetMenuEntries(T[] items, List<MenuActionItem> menuItems)
- {
- if (items == null || items.Length == 0)
- return;
-
- foreach (var action in actions)
- {
- if (action.showInMenu)
- action.AddMenuItem(TimelineWindow.instance.state, items, menuItems);
- }
- }
-
- public static bool Invoke<TAction>(WindowState state, T[] items)
- where TAction : ItemAction<T>
- {
- var itemsDerived = items.ToArray();
-
- if (!itemsDerived.Any())
- return false;
-
- var action = actions.FirstOrDefault(x => x.GetType() == typeof(TAction));
-
- if (action != null)
- return action.Execute(state, itemsDerived);
-
- return false;
- }
-
- public static bool Invoke<TAction>(WindowState state, T item)
- where TAction : ItemAction<T>
- {
- return Invoke<TAction>(state, new[] {item});
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ItemAction.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ItemAction.cs.meta
deleted file mode 100644
index fef443a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/ItemAction.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 84b5362754a9d934ba259398b757d0be
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/MarkerActions.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/MarkerActions.cs
deleted file mode 100644
index 410b5c3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/MarkerActions.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Timeline;
-using MarkerAction = UnityEditor.Timeline.ItemAction<UnityEngine.Timeline.IMarker>;
-
-namespace UnityEditor.Timeline
-{
- [UsedImplicitly]
- class CopyMarkersToClipboard : MarkerAction
- {
- public override bool Execute(WindowState state, IMarker[] markers)
- {
- TimelineEditor.clipboard.CopyItems(markers.ToItems());
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/MarkerActions.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/MarkerActions.cs.meta
deleted file mode 100644
index 2733046..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/MarkerActions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5da77d4d078922b4c8466e9e35fb3f5e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus.meta
deleted file mode 100644
index 45d9fa7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 985eed4bc2fbee941b761b8816d9055d
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/MenuItemActionBase.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/MenuItemActionBase.cs
deleted file mode 100644
index 241650f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/MenuItemActionBase.cs
+++ /dev/null
@@ -1,177 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using System.Text;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- enum MenuActionDisplayState
- {
- Visible,
- Disabled,
- Hidden
- }
-
- struct MenuActionItem
- {
- public string category;
- public string entryName;
- public string shortCut;
- public int priority;
- public bool isChecked;
- public bool isActiveInMode;
- public MenuActionDisplayState state;
- public GenericMenu.MenuFunction callback;
- }
-
- class MenuItemActionBase
- {
- public Vector2? mousePosition { get; set; }
-
- protected static bool s_ShowActionTriggeredByShortcut = false;
-
- private static MenuEntryAttribute NoMenu = new MenuEntryAttribute(null, MenuOrder.DefaultPriority);
- private MenuEntryAttribute m_MenuInfo;
- private string m_ShortCut = null;
-
-
- public static IEnumerable<Type> GetActionsOfType(Type actionType)
- {
- var query = TypeCache.GetTypesDerivedFrom(actionType).Where(type => !type.IsGenericType && !type.IsNested && !type.IsAbstract);
- return query;
- }
-
- public static ShortcutAttribute GetShortcutAttributeForAction(MenuItemActionBase action)
- {
- var shortcutAttributes = action.GetType()
- .GetCustomAttributes(typeof(ShortcutAttribute), true)
- .Cast<ShortcutAttribute>();
-
- foreach (var shortcutAttribute in shortcutAttributes)
- {
- var shortcutOverride = shortcutAttribute as ShortcutPlatformOverrideAttribute;
- if (shortcutOverride != null)
- {
- if (shortcutOverride.MatchesCurrentPlatform())
- return shortcutOverride;
- }
- else
- {
- return shortcutAttribute;
- }
- }
-
- return null;
- }
-
- public static void BuildMenu(GenericMenu menu, List<MenuActionItem> items)
- {
- // sorted the outer menu by priority, then sort the innermenu by priority
- var sortedItems =
- items.GroupBy(x => string.IsNullOrEmpty(x.category) ? x.entryName : x.category).
- OrderBy(x => x.Min(y => y.priority)).
- SelectMany(x => x.OrderBy(z => z.priority));
-
- int lastPriority = Int32.MinValue;
- string lastCategory = string.Empty;
-
- foreach (var s in sortedItems)
- {
- if (s.state == MenuActionDisplayState.Hidden)
- continue;
-
- var priority = s.priority;
- if (lastPriority == Int32.MinValue)
- {
- lastPriority = priority;
- }
- else if ((priority / MenuOrder.SeparatorAt) > (lastPriority / MenuOrder.SeparatorAt))
- {
- string path = String.Empty;
- if (lastCategory == s.category)
- path = s.category;
- menu.AddSeparator(path);
- }
-
- lastPriority = priority;
- lastCategory = s.category;
-
- string entry = s.category + s.entryName;
- if (!string.IsNullOrEmpty(s.shortCut))
- entry += " " + s.shortCut;
-
- if (s.state == MenuActionDisplayState.Visible && s.isActiveInMode)
- menu.AddItem(new GUIContent(entry), s.isChecked, s.callback);
- else
- menu.AddDisabledItem(new GUIContent(entry));
- }
- }
-
- public static ActiveInModeAttribute GetActiveInModeAttribute(MenuItemActionBase action)
- {
- var attr = action.GetType().GetCustomAttributes(typeof(ActiveInModeAttribute), true);
-
- if (attr.Length > 0)
- return (attr[0] as ActiveInModeAttribute);
-
- return null;
- }
-
- public static bool IsActionActiveInMode(MenuItemActionBase action, TimelineModes mode)
- {
- ActiveInModeAttribute attr = GetActiveInModeAttribute(action);
- return attr != null && (attr.modes & mode) != 0;
- }
-
- public int priority
- {
- get { return menuInfo.priority; }
- }
-
- public string category
- {
- get { return menuInfo.subMenuPath; }
- }
-
- public string menuName
- {
- get
- {
- if (string.IsNullOrEmpty(menuInfo.name))
- return L10n.Tr(GetType().Name);
- return menuInfo.name;
- }
- }
-
- // shortcut used by the menu
- public string shortCut
- {
- get
- {
- if (m_ShortCut == null)
- {
- var shortcutAttribute = GetShortcutAttributeForAction(this);
- m_ShortCut = shortcutAttribute == null ? string.Empty : shortcutAttribute.GetMenuShortcut();
- }
- return m_ShortCut;
- }
- }
-
- public bool showInMenu
- {
- get { return menuInfo != NoMenu; }
- }
-
- private MenuEntryAttribute menuInfo
- {
- get
- {
- if (m_MenuInfo == null)
- m_MenuInfo = GetType().GetCustomAttributes(typeof(MenuEntryAttribute), false).OfType<MenuEntryAttribute>().DefaultIfEmpty(NoMenu).First();
- return m_MenuInfo;
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/MenuItemActionBase.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/MenuItemActionBase.cs.meta
deleted file mode 100644
index 045ed68..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/MenuItemActionBase.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5882d0e4313310143acb11d1a66c597f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/TimelineContextMenu.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/TimelineContextMenu.cs
deleted file mode 100644
index 495a9c3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/TimelineContextMenu.cs
+++ /dev/null
@@ -1,448 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- static class SequencerContextMenu
- {
- static readonly TimelineAction[] MarkerHeaderCommonOperations =
- {
- new PasteAction()
- };
-
- public static readonly TimelineAction[] MarkerHeaderMenuItems =
- TimelineAction.AllActions.OfType<MarkerHeaderAction>().
- Where(a => a.showInMenu).
- Union(MarkerHeaderCommonOperations).
- ToArray();
-
-
- static class Styles
- {
- public static readonly string addItemFromAssetTemplate = L10n.Tr("Add {0} From {1}");
- public static readonly string addSingleItemFromAssetTemplate = L10n.Tr("Add From {1}");
- public static readonly string addItemTemplate = L10n.Tr("Add {0}");
- public static readonly string typeSelectorTemplate = L10n.Tr("Select {0}");
- public static readonly string trackGroup = L10n.Tr("Track Group");
- public static readonly string trackSubGroup = L10n.Tr("Track Sub-Group");
- public static readonly string addTrackLayer = L10n.Tr("Add Layer");
- public static readonly string layerName = L10n.Tr("Layer {0}");
- }
-
- public static void ShowMarkerHeaderContextMenu(Vector2? mousePosition, WindowState state)
- {
- var menu = new GenericMenu();
- List<MenuActionItem> items = new List<MenuActionItem>(100);
- BuildMarkerHeaderContextMenu(items, mousePosition, state);
- MenuItemActionBase.BuildMenu(menu, items);
- menu.ShowAsContext();
- }
-
- public static void ShowNewTracksContextMenu(ICollection<TrackAsset> tracks, WindowState state)
- {
- var menu = new GenericMenu();
- List<MenuActionItem> items = new List<MenuActionItem>(100);
- BuildNewTracksContextMenu(items, tracks, state);
- MenuItemActionBase.BuildMenu(menu, items);
- menu.ShowAsContext();
- }
-
- public static void ShowNewTracksContextMenu(ICollection<TrackAsset> tracks, WindowState state, Rect rect)
- {
- var menu = new GenericMenu();
- List<MenuActionItem> items = new List<MenuActionItem>(100);
- BuildNewTracksContextMenu(items, tracks, state);
- MenuItemActionBase.BuildMenu(menu, items);
- menu.DropDown(rect);
- }
-
- public static void ShowTrackContextMenu(TrackAsset[] tracks, Vector2? mousePosition)
- {
- if (tracks == null || tracks.Length == 0)
- return;
-
- var items = new List<MenuActionItem>();
- var menu = new GenericMenu();
- BuildTrackContextMenu(items, tracks, mousePosition);
- MenuItemActionBase.BuildMenu(menu, items);
- menu.ShowAsContext();
- }
-
- public static void ShowItemContextMenu(Vector2 mousePosition, TimelineClip[] clips, IMarker[] markers)
- {
- var menu = new GenericMenu();
- var items = new List<MenuActionItem>();
- BuildItemContextMenu(items, mousePosition, clips, markers);
- MenuItemActionBase.BuildMenu(menu, items);
- menu.ShowAsContext();
- }
-
- internal static void BuildItemContextMenu(List<MenuActionItem> items, Vector2 mousePosition, TimelineClip[] clips, IMarker[] markers)
- {
- var state = TimelineWindow.instance.state;
-
- TimelineAction.GetMenuEntries(TimelineAction.MenuActions, mousePosition, items);
- ItemAction<TimelineClip>.GetMenuEntries(clips, items);
- ItemAction<IMarker>.GetMenuEntries(markers, items);
-
- if (clips.Length > 0)
- AddMarkerMenuCommands(items, clips.Select(c => c.parentTrack).Distinct().ToList(), TimelineHelpers.GetCandidateTime(state, mousePosition));
- }
-
- internal static void BuildNewTracksContextMenu(List<MenuActionItem> menuItems, ICollection<TrackAsset> parentTracks, WindowState state, string format = null)
- {
- if (parentTracks == null)
- parentTracks = new TrackAsset[0];
-
- if (string.IsNullOrEmpty(format))
- format = "{0}";
-
- // Add Group or SubGroup
- var title = string.Format(format, parentTracks.Any(t => t != null) ? Styles.trackSubGroup : Styles.trackGroup);
- var menuState = MenuActionDisplayState.Visible;
- if (state.editSequence.isReadOnly)
- menuState = MenuActionDisplayState.Disabled;
- if (parentTracks.Any() && parentTracks.Any(t => t != null && t.lockedInHierarchy))
- menuState = MenuActionDisplayState.Disabled;
-
- GenericMenu.MenuFunction command = () =>
- {
- SelectionManager.Clear();
- if (parentTracks.Count == 0)
- Selection.Add(TimelineHelpers.CreateTrack<GroupTrack>(null, title));
-
- foreach (var parentTrack in parentTracks)
- Selection.Add(TimelineHelpers.CreateTrack<GroupTrack>(parentTrack, title));
-
- TimelineEditor.Refresh(RefreshReason.ContentsAddedOrRemoved);
- };
-
- menuItems.Add(
- new MenuActionItem()
- {
- category = string.Empty,
- entryName = title,
- shortCut = string.Empty,
- isActiveInMode = true,
- isChecked = false,
- priority = MenuOrder.AddGroupItemStart,
- state = menuState,
- callback = command
- }
- );
-
-
- var allTypes = TypeUtility.AllTrackTypes().Where(x => x != typeof(GroupTrack) && !TypeUtility.IsHiddenInMenu(x)).ToList();
-
- int builtInPriority = MenuOrder.AddTrackItemStart;
- int customPriority = MenuOrder.AddCustomTrackItemStart;
- foreach (var trackType in allTypes)
- {
- var trackItemType = trackType;
-
- command = () =>
- {
- SelectionManager.Clear();
-
- if (parentTracks.Count == 0)
- SelectionManager.Add(TimelineHelpers.CreateTrack((Type)trackItemType, null));
-
- foreach (var parentTrack in parentTracks)
- SelectionManager.Add(TimelineHelpers.CreateTrack((Type)trackItemType, parentTrack));
- };
-
- menuItems.Add(
- new MenuActionItem()
- {
- category = TimelineHelpers.GetTrackCategoryName(trackType),
- entryName = string.Format(format, TimelineHelpers.GetTrackMenuName(trackItemType)),
- shortCut = string.Empty,
- isActiveInMode = true,
- isChecked = false,
- priority = TypeUtility.IsBuiltIn(trackType) ? builtInPriority++ : customPriority++,
- state = menuState,
- callback = command
- }
- );
- }
- }
-
- internal static void BuildMarkerHeaderContextMenu(List<MenuActionItem> menu, Vector2? mousePosition, WindowState state)
- {
- TimelineAction.GetMenuEntries(MarkerHeaderMenuItems, null, menu);
-
- var timeline = state.editSequence.asset;
- var time = TimelineHelpers.GetCandidateTime(state, mousePosition);
- var enabled = timeline.markerTrack == null || !timeline.markerTrack.lockedInHierarchy;
-
- var addMarkerCommand = new Action<Type, Object>
- (
- (type, obj) => AddSingleMarkerCallback(type, time, timeline, state.editSequence.director, obj)
- );
-
- AddMarkerMenuCommands(menu, new TrackAsset[] {timeline.markerTrack}, addMarkerCommand, enabled);
- }
-
- internal static void BuildTrackContextMenu(List<MenuActionItem> items, TrackAsset[] tracks, Vector2? mousePosition)
- {
- if (tracks == null || tracks.Length == 0)
- return;
-
- TimelineAction.GetMenuEntries(TimelineAction.MenuActions, mousePosition, items);
- TrackAction.GetMenuEntries(TimelineWindow.instance.state, mousePosition, tracks, items);
- AddLayeredTrackCommands(items, tracks);
-
- var first = tracks.First().GetType();
- var allTheSame = tracks.All(t => t.GetType() == first);
- if (allTheSame)
- {
- if (first != typeof(GroupTrack))
- {
- var candidateTime = TimelineHelpers.GetCandidateTime(TimelineWindow.instance.state, mousePosition, tracks);
- AddClipMenuCommands(items, tracks, candidateTime);
- AddMarkerMenuCommands(items, tracks, candidateTime);
- }
- else
- {
- BuildNewTracksContextMenu(items, tracks, TimelineWindow.instance.state, Styles.addItemTemplate);
- }
- }
- }
-
- static void AddLayeredTrackCommands(List<MenuActionItem> menuItems, ICollection<TrackAsset> tracks)
- {
- if (tracks.Count == 0)
- return;
-
- var layeredType = tracks.First().GetType();
- // animation tracks have a special menu.
- if (layeredType == typeof(AnimationTrack))
- return;
-
- // must implement ILayerable
- if (!typeof(UnityEngine.Timeline.ILayerable).IsAssignableFrom(layeredType))
- return;
-
- if (tracks.Any(t => t.GetType() != layeredType))
- return;
-
- // only supported on the master track no nesting.
- if (tracks.Any(t => t.isSubTrack))
- return;
-
- var enabled = tracks.All(t => t != null && !t.lockedInHierarchy) && !TimelineWindow.instance.state.editSequence.isReadOnly;
- int priority = MenuOrder.TrackAddMenu.AddLayerTrack;
- GenericMenu.MenuFunction menuCallback = () =>
- {
- foreach (var track in tracks)
- TimelineHelpers.CreateTrack(layeredType, track, string.Format(Styles.layerName, track.GetChildTracks().Count() + 1));
- };
-
- var entryName = Styles.addTrackLayer;
- menuItems.Add(
- new MenuActionItem()
- {
- category = string.Empty,
- entryName = entryName,
- shortCut = string.Empty,
- isActiveInMode = true,
- isChecked = false,
- priority = priority++,
- state = enabled ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled,
- callback = menuCallback
- }
- );
- }
-
- static void AddClipMenuCommands(List<MenuActionItem> menuItems, ICollection<TrackAsset> tracks, double candidateTime)
- {
- if (!tracks.Any())
- return;
-
- var trackAsset = tracks.First();
- var trackType = trackAsset.GetType();
- if (tracks.Any(t => t.GetType() != trackType))
- return;
-
- var enabled = tracks.All(t => t != null && !t.lockedInHierarchy) && !TimelineWindow.instance.state.editSequence.isReadOnly;
- var assetTypes = TypeUtility.GetPlayableAssetsHandledByTrack(trackType);
- var visibleAssetTypes = TypeUtility.GetVisiblePlayableAssetsHandledByTrack(trackType);
-
- // skips the name if there is only a single type
- var commandNameTemplate = assetTypes.Count() == 1 ? Styles.addSingleItemFromAssetTemplate : Styles.addItemFromAssetTemplate;
- int builtInPriority = MenuOrder.AddClipItemStart;
- int customPriority = MenuOrder.AddCustomClipItemStart;
- foreach (var assetType in assetTypes)
- {
- var assetItemType = assetType;
- var category = TimelineHelpers.GetItemCategoryName(assetType);
- Action<Object> onObjectChanged = obj =>
- {
- if (obj != null)
- {
- foreach (var t in tracks)
- {
- TimelineHelpers.CreateClipOnTrack(assetItemType, obj, t, candidateTime);
- }
- }
- };
-
- foreach (var objectReference in TypeUtility.ObjectReferencesForType(assetType))
- {
- var isSceneReference = objectReference.isSceneReference;
- var dataType = objectReference.type;
- GenericMenu.MenuFunction menuCallback = () =>
- {
- ObjectSelector.get.Show(null, dataType, null, isSceneReference, null, (obj) => onObjectChanged(obj), null);
- ObjectSelector.get.titleContent = EditorGUIUtility.TrTextContent(string.Format(Styles.typeSelectorTemplate, TypeUtility.GetDisplayName(dataType)));
- };
-
- menuItems.Add(
- new MenuActionItem()
- {
- category = category,
- entryName = string.Format(commandNameTemplate, TypeUtility.GetDisplayName(assetType), TypeUtility.GetDisplayName(objectReference.type)),
- shortCut = string.Empty,
- isActiveInMode = true,
- isChecked = false,
- priority = TypeUtility.IsBuiltIn(assetType) ? builtInPriority++ : customPriority++,
- state = enabled ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled,
- callback = menuCallback
- }
- );
- }
- }
-
- foreach (var assetType in visibleAssetTypes)
- {
- var assetItemType = assetType;
- var category = TimelineHelpers.GetItemCategoryName(assetType);
- var commandName = string.Format(Styles.addItemTemplate, TypeUtility.GetDisplayName(assetType));
- GenericMenu.MenuFunction command = () =>
- {
- foreach (var t in tracks)
- {
- TimelineHelpers.CreateClipOnTrack(assetItemType, t, candidateTime);
- }
- };
-
- menuItems.Add(
- new MenuActionItem()
- {
- category = category,
- entryName = commandName,
- shortCut = string.Empty,
- isActiveInMode = true,
- isChecked = false,
- priority = TypeUtility.IsBuiltIn(assetItemType) ? builtInPriority++ : customPriority++,
- state = enabled ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled,
- callback = command
- }
- );
- }
- }
-
- static void AddMarkerMenuCommands(List<MenuActionItem> menu, IEnumerable<Type> markerTypes, Action<Type, Object> addMarkerCommand, bool enabled)
- {
- int builtInPriority = MenuOrder.AddMarkerItemStart;
- int customPriority = MenuOrder.AddCustomMarkerItemStart;
- foreach (var markerType in markerTypes)
- {
- var markerItemType = markerType;
- string category = TimelineHelpers.GetItemCategoryName(markerItemType);
- menu.Add(
- new MenuActionItem()
- {
- category = category,
- entryName = string.Format(Styles.addItemTemplate, TypeUtility.GetDisplayName(markerType)),
- shortCut = string.Empty,
- isActiveInMode = true,
- isChecked = false,
- priority = TypeUtility.IsBuiltIn(markerType) ? builtInPriority++ : customPriority++,
- state = enabled ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled,
- callback = () => addMarkerCommand(markerItemType, null)
- }
- );
-
- foreach (var objectReference in TypeUtility.ObjectReferencesForType(markerType))
- {
- var isSceneReference = objectReference.isSceneReference;
- GenericMenu.MenuFunction menuCallback = () =>
- {
- var dataType = markerItemType;
- ObjectSelector.get.Show(null, dataType, null, isSceneReference, null, (obj) => addMarkerCommand(markerItemType, obj), null);
- ObjectSelector.get.titleContent = EditorGUIUtility.TrTextContent(string.Format(Styles.typeSelectorTemplate, TypeUtility.GetDisplayName(dataType)));
- };
-
- menu.Add(
- new MenuActionItem()
- {
- category = TimelineHelpers.GetItemCategoryName(markerItemType),
- entryName = string.Format(Styles.addItemFromAssetTemplate, TypeUtility.GetDisplayName(markerType), TypeUtility.GetDisplayName(objectReference.type)),
- shortCut = string.Empty,
- isActiveInMode = true,
- isChecked = false,
- priority = TypeUtility.IsBuiltIn(markerType) ? builtInPriority++ : customPriority++,
- state = enabled ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled,
- callback = menuCallback
- }
- );
- }
- }
- }
-
- static void AddMarkerMenuCommands(List<MenuActionItem> menuItems, ICollection<TrackAsset> tracks, double candidateTime)
- {
- if (tracks.Count == 0)
- return;
-
- var enabled = tracks.All(t => !t.lockedInHierarchy) && !TimelineWindow.instance.state.editSequence.isReadOnly;
- var addMarkerCommand = new Action<Type, Object>((type, obj) => AddMarkersCallback(tracks, type, candidateTime, obj));
-
- AddMarkerMenuCommands(menuItems, tracks, addMarkerCommand, enabled);
- }
-
- static void AddMarkerMenuCommands(List<MenuActionItem> menuItems, ICollection<TrackAsset> tracks, Action<Type, Object> command, bool enabled)
- {
- var markerTypes = TypeUtility.GetBuiltInMarkerTypes().Union(TypeUtility.GetUserMarkerTypes());
- if (tracks != null)
- markerTypes = markerTypes.Where(x => tracks.All(track => (track == null) || TypeUtility.DoesTrackSupportMarkerType(track, x))); // null track indicates marker track to be created
-
- AddMarkerMenuCommands(menuItems, markerTypes, command, enabled);
- }
-
- static void AddMarkersCallback(ICollection<TrackAsset> targets, Type markerType, double time, Object obj)
- {
- SelectionManager.Clear();
- foreach (var target in targets)
- {
- var marker = TimelineHelpers.CreateMarkerOnTrack(markerType, obj, target, time);
- SelectionManager.Add(marker);
- }
- TimelineEditor.Refresh(RefreshReason.ContentsAddedOrRemoved);
- }
-
- static void AddSingleMarkerCallback(Type markerType, double time, TimelineAsset timeline, PlayableDirector director, Object assignableObject)
- {
- timeline.CreateMarkerTrack();
- var markerTrack = timeline.markerTrack;
-
- SelectionManager.Clear();
- var marker = TimelineHelpers.CreateMarkerOnTrack(markerType, assignableObject, markerTrack, time);
- SelectionManager.Add(marker);
-
- if (typeof(INotification).IsAssignableFrom(markerType) && director != null)
- {
- if (director != null && director.GetGenericBinding(markerTrack) == null)
- director.SetGenericBinding(markerTrack, director.gameObject);
- }
-
- TimelineEditor.Refresh(RefreshReason.ContentsAddedOrRemoved);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/TimelineContextMenu.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/TimelineContextMenu.cs.meta
deleted file mode 100644
index adfa86d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/Menus/TimelineContextMenu.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: de86b4ed8106fd84a8bc2f5d69798d53
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TimelineActions.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TimelineActions.cs
deleted file mode 100644
index 25e72e8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TimelineActions.cs
+++ /dev/null
@@ -1,946 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using UnityEditor.ShortcutManagement;
-using UnityEngine;
-using UnityEngine.Timeline;
-using MenuEntryPair = System.Collections.Generic.KeyValuePair<UnityEngine.GUIContent, UnityEditor.Timeline.TimelineAction>;
-
-namespace UnityEditor.Timeline
-{
- [ActiveInMode(TimelineModes.Default)]
- abstract class TimelineAction : MenuItemActionBase
- {
- public abstract bool Execute(WindowState state);
-
- public virtual MenuActionDisplayState GetDisplayState(WindowState state)
- {
- return MenuActionDisplayState.Visible;
- }
-
- public virtual bool IsChecked(WindowState state)
- {
- return false;
- }
-
- protected string GetDisplayName(WindowState state)
- {
- return menuName;
- }
-
- bool CanExecute(WindowState state)
- {
- return GetDisplayState(state) == MenuActionDisplayState.Visible;
- }
-
- public static void Invoke<T>(WindowState state) where T : TimelineAction
- {
- var action = AllActions.FirstOrDefault(x => x.GetType() == typeof(T));
- if (action != null && action.CanExecute(state))
- action.Execute(state);
- }
-
- // an instance of all TimelineActions
- public static readonly TimelineAction[] AllActions = GetActionsOfType(typeof(TimelineAction)).Select(x => (TimelineAction)x.GetConstructors()[0].Invoke(null)).ToArray();
-
- // an instance of all TimelineActions that should appear in a regular contextMenu
- public static readonly TimelineAction[] MenuActions = AllActions.Where(a => a.showInMenu && !(a is MarkerHeaderAction)).ToArray();
-
- public static void GetMenuEntries(IEnumerable<TimelineAction> actions, Vector2? mousePos, List<MenuActionItem> items)
- {
- var state = TimelineWindow.instance.state;
- var mode = TimelineWindow.instance.currentMode.mode;
-
- foreach (var action in actions)
- {
- var actionItem = action;
- action.mousePosition = mousePos;
- items.Add(
- new MenuActionItem()
- {
- category = action.category,
- entryName = action.GetDisplayName(state),
- shortCut = action.shortCut,
- isChecked = action.IsChecked(state),
- isActiveInMode = IsActionActiveInMode(action, mode),
- priority = action.priority,
- state = action.GetDisplayState(state),
- callback = () =>
- {
- actionItem.mousePosition = mousePos;
- actionItem.Execute(state);
- actionItem.mousePosition = null;
- }
- }
- );
- action.mousePosition = null;
- }
- }
-
- public static bool HandleShortcut(WindowState state, Event evt)
- {
- if (EditorGUI.IsEditingTextField())
- return false;
-
- foreach (var action in AllActions)
- {
- var attr = action.GetType().GetCustomAttributes(typeof(ShortcutAttribute), true);
-
- foreach (ShortcutAttribute shortcut in attr)
- {
- if (shortcut.MatchesEvent(evt))
- {
- if (s_ShowActionTriggeredByShortcut)
- Debug.Log(action.GetType().Name);
-
- if (!IsActionActiveInMode(action, TimelineWindow.instance.currentMode.mode))
- return false;
-
- var handled = action.Execute(state);
- if (handled)
- return true;
- }
- }
- }
-
- return false;
- }
-
- protected static bool DoInternal(Type t, WindowState state)
- {
- var action = (TimelineAction)t.GetConstructors()[0].Invoke(null);
-
- if (action.CanExecute(state))
- return action.Execute(state);
-
- return false;
- }
- }
-
- // indicates the action only applies to the marker header menu
- abstract class MarkerHeaderAction : TimelineAction
- {
- }
-
-
- [MenuEntry("Copy", MenuOrder.TimelineAction.Copy)]
- [Shortcut("Main Menu/Edit/Copy", EventCommandNames.Copy)]
- class CopyAction : TimelineAction
- {
- public static bool Do(WindowState state)
- {
- return DoInternal(typeof(CopyAction), state);
- }
-
- public override MenuActionDisplayState GetDisplayState(WindowState state)
- {
- return SelectionManager.Count() > 0 ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state)
- {
- TimelineEditor.clipboard.Clear();
-
- var clips = SelectionManager.SelectedClips().ToArray();
- if (clips.Length > 0)
- {
- ItemAction<TimelineClip>.Invoke<CopyClipsToClipboard>(state, clips);
- }
- var markers = SelectionManager.SelectedMarkers().ToArray();
- if (markers.Length > 0)
- {
- ItemAction<IMarker>.Invoke<CopyMarkersToClipboard>(state, markers);
- }
- var tracks = SelectionManager.SelectedTracks().ToArray();
- if (tracks.Length > 0)
- {
- CopyTracksToClipboard.Do(state, tracks);
- }
-
- return true;
- }
- }
-
- [MenuEntry("Paste", MenuOrder.TimelineAction.Paste)]
- [Shortcut("Main Menu/Edit/Paste", EventCommandNames.Paste)]
- class PasteAction : TimelineAction
- {
- public static bool Do(WindowState state)
- {
- return DoInternal(typeof(PasteAction), state);
- }
-
- public override MenuActionDisplayState GetDisplayState(WindowState state)
- {
- return CanPaste(state) ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state)
- {
- if (!CanPaste(state))
- return false;
-
- PasteItems(state, mousePosition);
- PasteTracks(state);
-
- state.Refresh();
-
- mousePosition = null;
- return true;
- }
-
- bool CanPaste(WindowState state)
- {
- var copiedItems = TimelineEditor.clipboard.GetCopiedItems().ToList();
-
- if (!copiedItems.Any())
- return TimelineEditor.clipboard.GetTracks().Any();
-
- return CanPasteItems(copiedItems, state, mousePosition);
- }
-
- static bool CanPasteItems(ICollection<ItemsPerTrack> itemsGroups, WindowState state, Vector2? mousePosition)
- {
- var hasItemsCopiedFromMultipleTracks = itemsGroups.Count > 1;
- var allItemsCopiedFromCurrentAsset = itemsGroups.All(x => x.targetTrack.timelineAsset == state.editSequence.asset);
- var hasUsedShortcut = mousePosition == null;
- var anySourceLocked = itemsGroups.Any(x => x.targetTrack != null && x.targetTrack.lockedInHierarchy);
-
- var targetTrack = GetPickedTrack();
- if (targetTrack == null)
- targetTrack = SelectionManager.SelectedTracks().FirstOrDefault();
-
- //do not paste if the user copied items from another timeline
- //if the copied items comes from > 1 track (since we do not know where to paste the copied items)
- //or if a keyboard shortcut was used (since the user will not see the paste result)
- if (!allItemsCopiedFromCurrentAsset)
- {
- var isSelectedTrackInCurrentAsset = targetTrack != null && targetTrack.timelineAsset == state.editSequence.asset;
- if (hasItemsCopiedFromMultipleTracks || (hasUsedShortcut && !isSelectedTrackInCurrentAsset))
- return false;
- }
-
- if (hasUsedShortcut)
- return !anySourceLocked; // copy/paste to same track
-
- if (hasItemsCopiedFromMultipleTracks)
- {
- //do not paste if the track which received the paste action does not contain a copied clip
- return !anySourceLocked && itemsGroups.Select(x => x.targetTrack).Contains(targetTrack);
- }
-
- var copiedItems = itemsGroups.SelectMany(i => i.items);
- return IsTrackValidForItems(targetTrack, copiedItems);
- }
-
- static void PasteItems(WindowState state, Vector2? mousePosition)
- {
- var copiedItems = TimelineEditor.clipboard.GetCopiedItems().ToList();
- var numberOfUniqueParentsInClipboard = copiedItems.Count();
-
- if (numberOfUniqueParentsInClipboard == 0) return;
- List<ITimelineItem> newItems;
-
- //if the copied items were on a single parent, then use the mouse position to get the parent OR the original parent
- if (numberOfUniqueParentsInClipboard == 1)
- {
- var itemsGroup = copiedItems.First();
- TrackAsset target = null;
- if (mousePosition.HasValue)
- target = GetPickedTrack();
- if (target == null)
- target = FindSuitableParentForSingleTrackPasteWithoutMouse(itemsGroup);
-
- var candidateTime = TimelineHelpers.GetCandidateTime(state, mousePosition, target);
- newItems = TimelineHelpers.DuplicateItemsUsingCurrentEditMode(state, TimelineEditor.clipboard.exposedPropertyTable, TimelineEditor.inspectedDirector, itemsGroup, target, candidateTime, "Paste Items").ToList();
- }
- //if copied items were on multiple parents, then the destination parents are the same as the original parents
- else
- {
- var time = TimelineHelpers.GetCandidateTime(state, mousePosition, copiedItems.Select(c => c.targetTrack).ToArray());
- newItems = TimelineHelpers.DuplicateItemsUsingCurrentEditMode(state, TimelineEditor.clipboard.exposedPropertyTable, TimelineEditor.inspectedDirector, copiedItems, time, "Paste Items").ToList();
- }
-
- TimelineHelpers.FrameItems(state, newItems);
- SelectionManager.RemoveTimelineSelection();
- foreach (var item in newItems)
- {
- SelectionManager.Add(item);
- }
- }
-
- static TrackAsset FindSuitableParentForSingleTrackPasteWithoutMouse(ItemsPerTrack itemsGroup)
- {
- var groupParent = itemsGroup.targetTrack; //set a main parent in the clipboard
- var selectedTracks = SelectionManager.SelectedTracks();
-
- if (selectedTracks.Contains(groupParent))
- {
- return groupParent;
- }
-
- //find a selected track suitable for all items
- var itemsToPaste = itemsGroup.items;
- var compatibleTrack = selectedTracks.FirstOrDefault(t => IsTrackValidForItems(t, itemsToPaste));
- return compatibleTrack != null ? compatibleTrack : groupParent;
- }
-
- static bool IsTrackValidForItems(TrackAsset track, IEnumerable<ITimelineItem> items)
- {
- if (track == null || track.lockedInHierarchy) return false;
- return items.All(i => i.IsCompatibleWithTrack(track));
- }
-
- static TrackAsset GetPickedTrack()
- {
- var rowGUI = PickerUtils.pickedElements.OfType<IRowGUI>().FirstOrDefault();
- if (rowGUI != null)
- return rowGUI.asset;
-
- return null;
- }
-
- static void PasteTracks(WindowState state)
- {
- var trackData = TimelineEditor.clipboard.GetTracks().ToList();
- if (trackData.Any())
- {
- SelectionManager.RemoveTimelineSelection();
- }
-
- foreach (var track in trackData)
- {
- var newTrack = track.item.Duplicate(TimelineEditor.clipboard.exposedPropertyTable, TimelineEditor.inspectedDirector, TimelineEditor.inspectedAsset);
- SelectionManager.Add(newTrack);
- foreach (var childTrack in newTrack.GetFlattenedChildTracks())
- {
- SelectionManager.Add(childTrack);
- }
-
- if (track.parent != null && track.parent.timelineAsset == state.editSequence.asset)
- {
- TrackExtensions.ReparentTracks(new List<TrackAsset> { newTrack }, track.parent, track.item);
- }
- }
- }
- }
-
- [MenuEntry("Duplicate", MenuOrder.TimelineAction.Duplicate)]
- [Shortcut("Main Menu/Edit/Duplicate", EventCommandNames.Duplicate)]
- class DuplicateAction : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- return Execute(state, (item1, item2) => ItemsUtils.TimeGapBetweenItems(item1, item2, state));
- }
-
- internal bool Execute(WindowState state, Func<ITimelineItem, ITimelineItem, double> gapBetweenItems)
- {
- var selectedItems = SelectionManager.SelectedItems().ToItemsPerTrack().ToList();
- if (selectedItems.Any())
- {
- var requestedTime = CalculateDuplicateTime(selectedItems, gapBetweenItems);
- var duplicatedItems = TimelineHelpers.DuplicateItemsUsingCurrentEditMode(state, TimelineEditor.inspectedDirector, TimelineEditor.inspectedDirector, selectedItems, requestedTime, "Duplicate Items");
-
- TimelineHelpers.FrameItems(state, duplicatedItems);
- SelectionManager.RemoveTimelineSelection();
- foreach (var item in duplicatedItems)
- SelectionManager.Add(item);
- }
-
- var tracks = SelectionManager.SelectedTracks().ToArray();
- if (tracks.Length > 0)
- TrackAction.Invoke<DuplicateTracks>(state, tracks);
-
- state.Refresh();
- return true;
- }
-
- static double CalculateDuplicateTime(IEnumerable<ItemsPerTrack> duplicatedItems, Func<ITimelineItem, ITimelineItem, double> gapBetweenItems)
- {
- //Find the end time of the rightmost item
- var itemsOnTracks = duplicatedItems.SelectMany(i => i.targetTrack.GetItems()).ToList();
- var time = itemsOnTracks.Max(i => i.end);
-
- //From all the duplicated items, select the leftmost items
- var firstDuplicatedItems = duplicatedItems.Select(i => i.leftMostItem);
- var leftMostDuplicatedItems = firstDuplicatedItems.OrderBy(i => i.start).GroupBy(i => i.start).FirstOrDefault();
- if (leftMostDuplicatedItems == null) return 0.0;
-
- foreach (var leftMostItem in leftMostDuplicatedItems)
- {
- var siblings = leftMostItem.parentTrack.GetItems();
- var rightMostSiblings = siblings.OrderByDescending(i => i.end).GroupBy(i => i.end).FirstOrDefault();
- if (rightMostSiblings == null) continue;
-
- foreach (var sibling in rightMostSiblings)
- time = Math.Max(time, sibling.end + gapBetweenItems(leftMostItem, sibling));
- }
-
- return time;
- }
- }
-
- [MenuEntry("Delete", MenuOrder.TimelineAction.Delete)]
- [Shortcut("Main Menu/Edit/Delete", EventCommandNames.Delete)]
- [ShortcutPlatformOverride(RuntimePlatform.OSXEditor, KeyCode.Backspace, ShortcutModifiers.Action)]
- [ActiveInMode(TimelineModes.Default)]
- class DeleteAction : TimelineAction
- {
- public override MenuActionDisplayState GetDisplayState(WindowState state)
- {
- return CanDelete(state) ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- static bool CanDelete(WindowState state)
- {
- if (state.editSequence.isReadOnly)
- return false;
- // All() returns true when empty
- return SelectionManager.SelectedTracks().All(x => !x.lockedInHierarchy) &&
- SelectionManager.SelectedItems().All(x => x.parentTrack == null || !x.parentTrack.lockedInHierarchy);
- }
-
- public override bool Execute(WindowState state)
- {
- if (SelectionManager.GetCurrentInlineEditorCurve() != null)
- return false;
-
- if (!CanDelete(state))
- return false;
-
- var selectedItems = SelectionManager.SelectedItems();
- DeleteItems(selectedItems);
-
- var tracks = SelectionManager.SelectedTracks().ToArray();
- if (tracks.Any())
- TrackAction.Invoke<DeleteTracks>(state, tracks);
-
- state.Refresh();
- return selectedItems.Any() || tracks.Length > 0;
- }
-
- internal static void DeleteItems(IEnumerable<ITimelineItem> items)
- {
- var tracks = items.GroupBy(c => c.parentTrack);
-
- foreach (var track in tracks)
- TimelineUndo.PushUndo(track.Key, "Delete Items");
-
- TimelineAnimationUtilities.UnlinkAnimationWindowFromClips(items.OfType<ClipItem>().Select(i => i.clip));
-
- EditMode.PrepareItemsDelete(ItemsUtils.ToItemsPerTrack(items));
- EditModeUtils.Delete(items);
-
- SelectionManager.RemoveAllClips();
- }
- }
-
- [MenuEntry("Match Content", MenuOrder.TimelineAction.MatchContent)]
- [Shortcut(Shortcuts.Timeline.matchContent)]
- class MatchContent : TimelineAction
- {
- public override MenuActionDisplayState GetDisplayState(WindowState state)
- {
- var clips = SelectionManager.SelectedClips().ToArray();
-
- if (!clips.Any() || SelectionManager.GetCurrentInlineEditorCurve() != null)
- return MenuActionDisplayState.Hidden;
-
- return clips.Any(TimelineHelpers.HasUsableAssetDuration)
- ? MenuActionDisplayState.Visible
- : MenuActionDisplayState.Disabled;
- }
-
- public override bool Execute(WindowState state)
- {
- if (SelectionManager.GetCurrentInlineEditorCurve() != null)
- return false;
-
- var clips = SelectionManager.SelectedClips().ToArray();
- return clips.Length > 0 && ClipModifier.MatchContent(clips);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.play)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class PlayTimelineAction : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- var currentState = state.playing;
- state.SetPlaying(!currentState);
- return true;
- }
- }
-
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class SelectAllAction : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- // otherwise select all tracks.
- SelectionManager.Clear();
- state.GetWindow().allTracks.ForEach(x => SelectionManager.Add(x.track));
-
- return true;
- }
- }
-
- [Shortcut(Shortcuts.Timeline.previousFrame)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class PreviousFrameAction : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- state.editSequence.frame--;
- return true;
- }
- }
-
- [Shortcut(Shortcuts.Timeline.nextFrame)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class NextFrameAction : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- state.editSequence.frame++;
- return true;
- }
- }
-
- [Shortcut(Shortcuts.Timeline.frameAll)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class FrameAllAction : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- var inlineCurveEditor = SelectionManager.GetCurrentInlineEditorCurve();
- if (inlineCurveEditor != null && inlineCurveEditor.inlineCurvesSelected)
- {
- FrameSelectedAction.FrameInlineCurves(inlineCurveEditor, state, false);
- return true;
- }
-
- if (state.IsEditingASubItem())
- return false;
-
- var w = state.GetWindow();
- if (w == null || w.treeView == null)
- return false;
-
- var visibleTracks = w.treeView.visibleTracks.ToList();
- if (state.editSequence.asset != null && state.editSequence.asset.markerTrack != null)
- visibleTracks.Add(state.editSequence.asset.markerTrack);
-
- if (visibleTracks.Count == 0)
- return false;
-
- var startTime = float.MaxValue;
- var endTime = float.MinValue;
-
- foreach (var t in visibleTracks)
- {
- if (t == null)
- continue;
-
- double trackStart, trackEnd;
- t.GetItemRange(out trackStart, out trackEnd);
- startTime = Mathf.Min(startTime, (float)trackStart);
- endTime = Mathf.Max(endTime, (float)(trackEnd));
- }
-
- if (startTime != float.MinValue)
- {
- FrameSelectedAction.FrameRange(startTime, endTime, state);
- return true;
- }
-
- return false;
- }
- }
-
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class FrameSelectedAction : TimelineAction
- {
- public static void FrameRange(float startTime, float endTime, WindowState state)
- {
- if (startTime > endTime)
- {
- return;
- }
-
- var halfDuration = endTime - Math.Max(0.0f, startTime);
-
- if (halfDuration > 0.0f)
- {
- state.SetTimeAreaShownRange(Mathf.Max(-10.0f, startTime - (halfDuration * 0.1f)),
- endTime + (halfDuration * 0.1f));
- }
- else
- {
- // start == end
- // keep the zoom level constant, only pan the time area to center the item
- var currentRange = state.timeAreaShownRange.y - state.timeAreaShownRange.x;
- state.SetTimeAreaShownRange(startTime - currentRange / 2, startTime + currentRange / 2);
- }
-
- TimelineZoomManipulator.InvalidateWheelZoom();
- state.Evaluate();
- }
-
- public override bool Execute(WindowState state)
- {
- var inlineCurveEditor = SelectionManager.GetCurrentInlineEditorCurve();
- if (inlineCurveEditor != null && inlineCurveEditor.inlineCurvesSelected)
- {
- FrameInlineCurves(inlineCurveEditor, state, true);
- return true;
- }
-
- if (state.IsEditingASubItem())
- return false;
-
- if (SelectionManager.Count() == 0)
- return false;
-
- var startTime = float.MaxValue;
- var endTime = float.MinValue;
-
- var clips = SelectionManager.SelectedClipGUI();
- var markers = SelectionManager.SelectedMarkers();
- if (!clips.Any() && !markers.Any())
- return false;
-
- foreach (var c in clips)
- {
- startTime = Mathf.Min(startTime, (float)c.clip.start);
- endTime = Mathf.Max(endTime, (float)c.clip.end);
- if (c.clipCurveEditor != null)
- {
- c.clipCurveEditor.FrameClip();
- }
- }
-
- foreach (var marker in markers)
- {
- startTime = Mathf.Min(startTime, (float)marker.time);
- endTime = Mathf.Max(endTime, (float)marker.time);
- }
-
- FrameRange(startTime, endTime, state);
-
- return true;
- }
-
- public static void FrameInlineCurves(IClipCurveEditorOwner curveEditorOwner, WindowState state, bool selectionOnly)
- {
- var curveEditor = curveEditorOwner.clipCurveEditor.curveEditor;
- var frameBounds = selectionOnly ? curveEditor.GetSelectionBounds() : curveEditor.GetClipBounds();
-
- var clipGUI = curveEditorOwner as TimelineClipGUI;
- var areaOffset = 0.0f;
-
- if (clipGUI != null)
- {
- areaOffset = (float)Math.Max(0.0, clipGUI.clip.FromLocalTimeUnbound(0.0));
-
- var timeScale = (float)clipGUI.clip.timeScale; // Note: The getter for clip.timeScale is guaranteed to never be zero.
-
- // Apply scaling
- var newMin = frameBounds.min.x / timeScale;
- var newMax = (frameBounds.max.x - frameBounds.min.x) / timeScale + newMin;
-
- frameBounds.SetMinMax(
- new Vector3(newMin, frameBounds.min.y, frameBounds.min.z),
- new Vector3(newMax, frameBounds.max.y, frameBounds.max.z));
- }
-
- curveEditor.Frame(frameBounds, true, true);
-
- var area = curveEditor.shownAreaInsideMargins;
- area.x += areaOffset;
-
- var curveStart = curveEditorOwner.clipCurveEditor.dataSource.start;
- FrameRange(curveStart + frameBounds.min.x, curveStart + frameBounds.max.x, state);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.previousKey)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class PrevKeyAction : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- var keyTraverser = new Utilities.KeyTraverser(state.editSequence.asset, 0.01f / state.referenceSequence.frameRate);
- var time = keyTraverser.GetPrevKey((float)state.editSequence.time, state.dirtyStamp);
- if (time != state.editSequence.time)
- {
- state.editSequence.time = time;
- }
-
- return true;
- }
- }
-
- [Shortcut(Shortcuts.Timeline.nextKey)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class NextKeyAction : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- var keyTraverser = new Utilities.KeyTraverser(state.editSequence.asset, 0.01f / state.referenceSequence.frameRate);
- var time = keyTraverser.GetNextKey((float)state.editSequence.time, state.dirtyStamp);
- if (time != state.editSequence.time)
- {
- state.editSequence.time = time;
- }
-
- return true;
- }
- }
-
- [Shortcut(Shortcuts.Timeline.goToStart)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class GotoStartAction : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- state.editSequence.time = 0.0f;
- state.EnsurePlayHeadIsVisible();
-
- return true;
- }
- }
-
- [Shortcut(Shortcuts.Timeline.goToEnd)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class GotoEndAction : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- state.editSequence.time = state.editSequence.duration;
- state.EnsurePlayHeadIsVisible();
-
- return true;
- }
- }
-
- [Shortcut(Shortcuts.Timeline.zoomIn)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class ZoomIn : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- TimelineZoomManipulator.Instance.DoZoom(1.15f, state);
- return true;
- }
- }
-
- [Shortcut(Shortcuts.Timeline.zoomOut)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class ZoomOut : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- TimelineZoomManipulator.Instance.DoZoom(0.85f, state);
- return true;
- }
- }
-
- [Shortcut(Shortcuts.Timeline.collapseGroup)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class CollapseGroup : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- return KeyboardNavigation.CollapseGroup(state);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.unCollapseGroup)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class UnCollapseGroup : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- return KeyboardNavigation.UnCollapseGroup(state);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.selectLeftItem)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class SelectLeftClip : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- // Switches to track header if no left track exists
- return KeyboardNavigation.SelectLeftItem(state);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.selectRightItem)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class SelectRightClip : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- return KeyboardNavigation.SelectRightItem(state);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.selectUpItem)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class SelectUpClip : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- return KeyboardNavigation.SelectUpItem(state);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.selectUpTrack)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class SelectUpTrack : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- return KeyboardNavigation.SelectUpTrack();
- }
- }
-
- [Shortcut(Shortcuts.Timeline.selectDownItem)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class SelectDownClip : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- return KeyboardNavigation.SelectDownItem(state);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.selectDownTrack)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class SelectDownTrack : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- if (!KeyboardNavigation.ClipAreaActive() && !KeyboardNavigation.TrackHeadActive())
- return KeyboardNavigation.FocusFirstVisibleItem(state);
- else
- return KeyboardNavigation.SelectDownTrack();
- }
- }
-
- [Shortcut(Shortcuts.Timeline.multiSelectLeft)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class MultiselectLeftClip : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- return KeyboardNavigation.SelectLeftItem(state, true);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.multiSelectRight)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class MultiselectRightClip : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- return KeyboardNavigation.SelectRightItem(state, true);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.multiSelectUp)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class MultiselectUpTrack : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- return KeyboardNavigation.SelectUpTrack(true);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.multiSelectDown)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class MultiselectDownTrack : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- return KeyboardNavigation.SelectDownTrack(true);
- }
- }
-
- [Shortcut(Shortcuts.Timeline.toggleClipTrackArea)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class ToggleClipTrackArea : TimelineAction
- {
- public override bool Execute(WindowState state)
- {
- if (KeyboardNavigation.TrackHeadActive())
- return KeyboardNavigation.FocusFirstVisibleItem(state, SelectionManager.SelectedTracks());
-
- if (!KeyboardNavigation.ClipAreaActive())
- return KeyboardNavigation.FocusFirstVisibleItem(state);
-
- var item = KeyboardNavigation.GetVisibleSelectedItems().LastOrDefault();
- if (item != null)
- SelectionManager.SelectOnly(item.parentTrack);
- return true;
- }
- }
-
- [MenuEntry("Mute", MenuOrder.TrackAction.MuteTrack)]
- class ToggleMuteMarkersOnTimeline : MarkerHeaderAction
- {
- public override bool IsChecked(WindowState state)
- {
- return IsMarkerTrackValid(state) && state.editSequence.asset.markerTrack.muted;
- }
-
- public override bool Execute(WindowState state)
- {
- if (state.showMarkerHeader)
- ToggleMute(state);
- return true;
- }
-
- static void ToggleMute(WindowState state)
- {
- var timeline = state.editSequence.asset;
- timeline.CreateMarkerTrack();
-
- TimelineUndo.PushUndo(timeline.markerTrack, "Toggle Mute");
- timeline.markerTrack.muted = !timeline.markerTrack.muted;
- }
-
- static bool IsMarkerTrackValid(WindowState state)
- {
- var timeline = state.editSequence.asset;
- return timeline != null && timeline.markerTrack != null;
- }
- }
-
- [MenuEntry("Show Markers", MenuOrder.TrackAction.ShowHideMarkers)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class ToggleShowMarkersOnTimeline : MarkerHeaderAction
- {
- public override bool IsChecked(WindowState state)
- {
- return state.showMarkerHeader;
- }
-
- public override bool Execute(WindowState state)
- {
- ToggleShow(state);
- return true;
- }
-
- static void ToggleShow(WindowState state)
- {
- state.GetWindow().SetShowMarkerHeader(!state.showMarkerHeader);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TimelineActions.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TimelineActions.cs.meta
deleted file mode 100644
index 39295c4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TimelineActions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b1c789407b55e3a4c9cc86135a714e33
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TrackActions.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TrackActions.cs
deleted file mode 100644
index d379bd0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TrackActions.cs
+++ /dev/null
@@ -1,521 +0,0 @@
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [ActiveInMode(TimelineModes.Default)]
- abstract class TrackAction : MenuItemActionBase
- {
- public abstract bool Execute(WindowState state, TrackAsset[] tracks);
-
- protected virtual MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- return tracks.Length > 0 ? MenuActionDisplayState.Visible : MenuActionDisplayState.Disabled;
- }
-
- protected virtual bool IsChecked(WindowState state, TrackAsset[] tracks)
- {
- return false;
- }
-
- protected virtual string GetDisplayName(TrackAsset[] tracks)
- {
- return menuName;
- }
-
- public static void Invoke<T>(WindowState state, TrackAsset[] tracks) where T : TrackAction
- {
- actions.First(x => x.GetType() == typeof(T)).Execute(state, tracks);
- }
-
- static List<TrackAction> s_ActionClasses;
-
- static List<TrackAction> actions
- {
- get
- {
- if (s_ActionClasses == null)
- s_ActionClasses =
- GetActionsOfType(typeof(TrackAction))
- .Select(x => (TrackAction)x.GetConstructors()[0].Invoke(null))
- .OrderBy(x => x.priority).ThenBy(x => x.category)
- .ToList();
-
- return s_ActionClasses;
- }
- }
-
- public static void GetMenuEntries(WindowState state, Vector2? mousePos, TrackAsset[] tracks, List<MenuActionItem> items)
- {
- var mode = TimelineWindow.instance.currentMode.mode;
- foreach (var action in actions)
- {
- if (!action.showInMenu)
- continue;
-
- var actionItem = action;
- items.Add(
- new MenuActionItem()
- {
- category = action.category,
- entryName = action.GetDisplayName(tracks),
- shortCut = action.shortCut,
- isChecked = action.IsChecked(state, tracks),
- isActiveInMode = IsActionActiveInMode(action, mode),
- priority = action.priority,
- state = action.GetDisplayState(state, tracks),
- callback = () =>
- {
- actionItem.mousePosition = mousePos;
- actionItem.Execute(state, tracks);
- actionItem.mousePosition = null;
- }
- }
- );
- }
- }
-
- public static bool HandleShortcut(WindowState state, Event evt, TrackAsset[] tracks)
- {
- foreach (var action in actions)
- {
- var attr = action.GetType().GetCustomAttributes(typeof(ShortcutAttribute), true);
-
- foreach (ShortcutAttribute shortcut in attr)
- {
- if (shortcut.MatchesEvent(evt))
- {
- if (s_ShowActionTriggeredByShortcut)
- Debug.Log(action.GetType().Name);
-
- if (!IsActionActiveInMode(action, TimelineWindow.instance.currentMode.mode))
- return false;
-
- return action.Execute(state, tracks);
- }
- }
- }
-
- return false;
- }
-
- // For testing
- internal MenuActionDisplayState InternalGetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- return GetDisplayState(state, tracks);
- }
- }
-
- [MenuEntry("Edit in Animation Window", MenuOrder.TrackAction.EditInAnimationWindow)]
- class EditTrackInAnimationWindow : TrackAction
- {
- public static bool Do(WindowState state, TrackAsset track)
- {
- AnimationClip clipToEdit = null;
-
- AnimationTrack animationTrack = track as AnimationTrack;
- if (animationTrack != null)
- {
- if (!animationTrack.CanConvertToClipMode())
- return false;
-
- clipToEdit = animationTrack.infiniteClip;
- }
- else if (track.hasCurves)
- {
- clipToEdit = track.curves;
- }
-
- if (clipToEdit == null)
- return false;
-
- var gameObject = state.GetSceneReference(track);
- var timeController = TimelineAnimationUtilities.CreateTimeController(state, CreateTimeControlClipData(track));
- TimelineAnimationUtilities.EditAnimationClipWithTimeController(clipToEdit, timeController, gameObject);
-
- return true;
- }
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- if (tracks.Length == 0)
- return MenuActionDisplayState.Hidden;
-
- if (tracks[0] is AnimationTrack)
- {
- var animTrack = tracks[0] as AnimationTrack;
- if (animTrack.CanConvertToClipMode())
- return MenuActionDisplayState.Visible;
- }
- else if (tracks[0].hasCurves)
- {
- return MenuActionDisplayState.Visible;
- }
-
- return MenuActionDisplayState.Hidden;
- }
-
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- return Do(state, tracks[0]);
- }
-
- static TimelineWindowTimeControl.ClipData CreateTimeControlClipData(TrackAsset track)
- {
- var data = new TimelineWindowTimeControl.ClipData();
- data.track = track;
- data.start = track.start;
- data.duration = track.duration;
- return data;
- }
- }
-
- [MenuEntry("Lock selected track only", MenuOrder.TrackAction.LockSelected)]
- class LockSelectedTrack : TrackAction
- {
- public static readonly string LockSelectedTrackOnlyText = L10n.Tr("Lock selected track only");
- public static readonly string UnlockSelectedTrackOnlyText = L10n.Tr("Unlock selected track only");
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- if (tracks.Any(track => TimelineUtility.IsLockedFromGroup(track) || track is GroupTrack ||
- !track.subTracksObjects.Any()))
- return MenuActionDisplayState.Hidden;
- return MenuActionDisplayState.Visible;
- }
-
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- if (!tracks.Any()) return false;
-
- var hasUnlockedTracks = tracks.Any(x => !x.locked);
- Lock(state, tracks.Where(p => !(p is GroupTrack)).ToArray(), hasUnlockedTracks);
- return true;
- }
-
- protected override string GetDisplayName(TrackAsset[] tracks)
- {
- return tracks.All(t => t.locked) ? UnlockSelectedTrackOnlyText : LockSelectedTrackOnlyText;
- }
-
- public static void Lock(WindowState state, TrackAsset[] tracks, bool shouldlock)
- {
- if (tracks.Length == 0)
- return;
-
- foreach (var track in tracks.Where(t => !TimelineUtility.IsLockedFromGroup(t)))
- {
- TimelineUndo.PushUndo(track, "Lock Tracks");
- track.locked = shouldlock;
- }
- TimelineEditor.Refresh(RefreshReason.WindowNeedsRedraw);
- }
- }
-
- [MenuEntry("Lock", MenuOrder.TrackAction.LockTrack)]
- [Shortcut(Shortcuts.Timeline.toggleLock)]
- class LockTrack : TrackAction
- {
- public static readonly string UnlockText = L10n.Tr("Unlock");
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- bool hasUnlockableTracks = tracks.Any(x => TimelineUtility.IsLockedFromGroup(x));
- if (hasUnlockableTracks)
- return MenuActionDisplayState.Disabled;
- return MenuActionDisplayState.Visible;
- }
-
- protected override string GetDisplayName(TrackAsset[] tracks)
- {
- return tracks.Any(x => !x.locked) ? base.GetDisplayName(tracks) : UnlockText;
- }
-
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- if (!tracks.Any()) return false;
-
- var hasUnlockedTracks = tracks.Any(x => !x.locked);
- SetLockState(tracks, hasUnlockedTracks, state);
- return true;
- }
-
- public static void SetLockState(TrackAsset[] tracks, bool shouldLock, WindowState state = null)
- {
- if (tracks.Length == 0)
- return;
-
- foreach (var track in tracks)
- {
- if (TimelineUtility.IsLockedFromGroup(track))
- continue;
-
- if (track as GroupTrack == null)
- SetLockState(track.GetChildTracks().ToArray(), shouldLock, state);
-
- TimelineUndo.PushUndo(track, "Lock Tracks");
- track.locked = shouldLock;
- }
-
- if (state != null)
- {
- // find the tracks we've locked. unselect anything locked and remove recording.
- foreach (var track in tracks)
- {
- if (TimelineUtility.IsLockedFromGroup(track) || !track.locked)
- continue;
-
- var flattenedChildTracks = track.GetFlattenedChildTracks();
- foreach (var i in track.clips)
- SelectionManager.Remove(i);
- state.UnarmForRecord(track);
- foreach (var child in flattenedChildTracks)
- {
- SelectionManager.Remove(child);
- state.UnarmForRecord(child);
- foreach (var clip in child.GetClips())
- SelectionManager.Remove(clip);
- }
- }
-
- // no need to rebuild, just repaint (including inspectors)
- InspectorWindow.RepaintAllInspectors();
- state.editorWindow.Repaint();
- }
- }
- }
-
- [UsedImplicitly]
- [MenuEntry("Show Markers", MenuOrder.TrackAction.ShowHideMarkers)]
- [ActiveInMode(TimelineModes.Default | TimelineModes.ReadOnly)]
- class ShowHideMarkers : TrackAction
- {
- protected override bool IsChecked(WindowState state, TrackAsset[] tracks)
- {
- return tracks.All(x => x.GetShowMarkers());
- }
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- if (tracks.Any(x => x is GroupTrack) || tracks.Any(t => t.GetMarkerCount() == 0))
- return MenuActionDisplayState.Hidden;
-
- if (tracks.Any(t => t.lockedInHierarchy))
- return MenuActionDisplayState.Disabled;
-
- return MenuActionDisplayState.Visible;
- }
-
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- if (!tracks.Any()) return false;
-
- var hasUnlockedTracks = tracks.Any(x => !x.GetShowMarkers());
- ShowHide(state, tracks, hasUnlockedTracks);
- return true;
- }
-
- static void ShowHide(WindowState state, TrackAsset[] tracks, bool shouldLock)
- {
- if (tracks.Length == 0)
- return;
-
- var window = state.GetWindow();
- foreach (var track in tracks)
- {
- window.SetShowTrackMarkers(track, shouldLock);
- }
-
- TimelineEditor.Refresh(RefreshReason.WindowNeedsRedraw);
- }
- }
-
- [MenuEntry("Mute selected track only", MenuOrder.TrackAction.MuteSelected), UsedImplicitly]
- class MuteSelectedTrack : TrackAction
- {
- public static readonly string UnmuteSelectedText = L10n.Tr("Unmute selected track only");
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- if (tracks.Any(track => TimelineUtility.IsParentMuted(track) || track is GroupTrack ||
- !track.subTracksObjects.Any()))
- return MenuActionDisplayState.Hidden;
- return MenuActionDisplayState.Visible;
- }
-
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- if (!tracks.Any())
- return false;
-
- var hasUnmutedTracks = tracks.Any(x => !x.muted);
- Mute(state, tracks.Where(p => !(p is GroupTrack)).ToArray(), hasUnmutedTracks);
- return true;
- }
-
- protected override string GetDisplayName(TrackAsset[] tracks)
- {
- return tracks.All(t => t.muted) ? UnmuteSelectedText : base.GetDisplayName(tracks);
- }
-
- public static void Mute(WindowState state, TrackAsset[] tracks, bool shouldMute)
- {
- if (tracks.Length == 0)
- return;
-
- foreach (var track in tracks.Where(t => !TimelineUtility.IsParentMuted(t)))
- {
- TimelineUndo.PushUndo(track, "Mute Tracks");
- track.muted = shouldMute;
- }
-
- state.Refresh();
- }
- }
-
- [MenuEntry("Mute", MenuOrder.TrackAction.MuteTrack)]
- [Shortcut(Shortcuts.Timeline.toggleMute)]
- class MuteTrack : TrackAction
- {
- public static readonly string UnMuteText = L10n.Tr("Unmute");
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- if (tracks.Any(track => TimelineUtility.IsParentMuted(track)))
- return MenuActionDisplayState.Disabled;
- return MenuActionDisplayState.Visible;
- }
-
- protected override string GetDisplayName(TrackAsset[] tracks)
- {
- return tracks.Any(x => !x.muted) ? base.GetDisplayName(tracks) : UnMuteText;
- }
-
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- if (!tracks.Any() || tracks.Any(track => TimelineUtility.IsParentMuted(track)))
- return false;
-
- var hasUnmutedTracks = tracks.Any(x => !x.muted);
- Mute(state, tracks, hasUnmutedTracks);
- return true;
- }
-
- public static void Mute(WindowState state, TrackAsset[] tracks, bool shouldMute)
- {
- if (tracks.Length == 0)
- return;
-
- foreach (var track in tracks)
- {
- if (track as GroupTrack == null)
- Mute(state, track.GetChildTracks().ToArray(), shouldMute);
- TimelineUndo.PushUndo(track, "Mute Tracks");
- track.muted = shouldMute;
- }
-
- state.Refresh();
- }
- }
-
- class DeleteTracks : TrackAction
- {
- public static void Do(TimelineAsset timeline, TrackAsset track)
- {
- SelectionManager.Remove(track);
- TrackModifier.DeleteTrack(timeline, track);
- }
-
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- // disable preview mode so deleted tracks revert to default state
- // Case 956129: Disable preview mode _before_ deleting the tracks, since clip data is still needed
- state.previewMode = false;
-
- TimelineAnimationUtilities.UnlinkAnimationWindowFromTracks(tracks);
-
- foreach (var track in tracks)
- Do(state.editSequence.asset, track);
-
- state.Refresh();
-
- return true;
- }
- }
-
- class CopyTracksToClipboard : TrackAction
- {
- public static bool Do(WindowState state, TrackAsset[] tracks)
- {
- var action = new CopyTracksToClipboard();
-
- return action.Execute(state, tracks);
- }
-
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- TimelineEditor.clipboard.CopyTracks(tracks);
-
- return true;
- }
- }
-
- class DuplicateTracks : TrackAction
- {
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- if (tracks.Any())
- {
- SelectionManager.RemoveTimelineSelection();
- }
-
- foreach (var track in TrackExtensions.FilterTracks(tracks))
- {
- var newTrack = track.Duplicate(TimelineEditor.inspectedDirector, TimelineEditor.inspectedDirector);
- SelectionManager.Add(newTrack);
- foreach (var childTrack in newTrack.GetFlattenedChildTracks())
- {
- SelectionManager.Add(childTrack);
- }
- }
-
- state.Refresh();
-
- return true;
- }
- }
-
- [MenuEntry("Remove Invalid Markers", MenuOrder.TrackAction.RemoveInvalidMarkers), UsedImplicitly]
- class RemoveInvalidMarkersAction : TrackAction
- {
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- if (tracks.Any(target => target != null && target.GetMarkerCount() != target.GetMarkersRaw().Count()))
- return MenuActionDisplayState.Visible;
-
- return MenuActionDisplayState.Hidden;
- }
-
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- bool anyRemoved = false;
- foreach (var target in tracks)
- {
- var invalids = target.GetMarkersRaw().Where(x => !(x is IMarker)).ToList();
- foreach (var m in invalids)
- {
- anyRemoved = true;
- target.DeleteMarkerRaw(m);
- }
- }
-
- if (anyRemoved)
- TimelineEditor.Refresh(RefreshReason.ContentsAddedOrRemoved);
-
- return anyRemoved;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TrackActions.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TrackActions.cs.meta
deleted file mode 100644
index 483f9eb..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Actions/TrackActions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: fda82b5ca7a4c5f40b497c4f5f4bd950
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation.meta
deleted file mode 100644
index d6b7c25..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: b124f0b8ca43e6e46bdc0322fad15ea3
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackEditor.cs
deleted file mode 100644
index a7552f1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackEditor.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- [UsedImplicitly]
- [CustomTimelineEditor(typeof(ActivationTrack))]
- class ActivationTrackEditor : TrackEditor
- {
- static readonly string ClipText = LocalizationDatabase.GetLocalizedString("Active");
-
- static readonly string k_ErrorParentString = LocalizationDatabase.GetLocalizedString("The bound GameObject is a parent of the PlayableDirector.");
- static readonly string k_ErrorString = LocalizationDatabase.GetLocalizedString("The bound GameObject contains the PlayableDirector.");
-
- public override TrackDrawOptions GetTrackOptions(TrackAsset track, Object binding)
- {
- var options = base.GetTrackOptions(track, binding);
- options.errorText = GetErrorText(track, binding);
- return options;
- }
-
- string GetErrorText(TrackAsset track, Object binding)
- {
- var gameObject = binding as GameObject;
- var currentDirector = TimelineEditor.inspectedDirector;
- if (gameObject != null && currentDirector != null)
- {
- var director = gameObject.GetComponent<PlayableDirector>();
- if (currentDirector == director)
- {
- return k_ErrorString;
- }
-
- if (currentDirector.gameObject.transform.IsChildOf(gameObject.transform))
- {
- return k_ErrorParentString;
- }
- }
-
- return base.GetErrorText(track, binding, TrackBindingErrors.PrefabBound);
- }
-
- public override void OnCreate(TrackAsset track, TrackAsset copiedFrom)
- {
- // Add a default clip to the newly created track
- if (copiedFrom == null)
- {
- var clip = track.CreateClip(0);
- clip.displayName = ClipText;
- clip.duration = System.Math.Max(clip.duration, track.timelineAsset.duration * 0.5f);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackEditor.cs.meta
deleted file mode 100644
index 64f81a1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4fbcc9b1f6ace8c4f8724a88dccca5f8
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs
deleted file mode 100644
index f391e69..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomEditor(typeof(ActivationTrack))]
- class ActivationTrackInspector : TrackAssetInspector
- {
- static class Styles
- {
- public static readonly GUIContent PostPlaybackStateText = EditorGUIUtility.TrTextContent("Post-playback state");
- }
-
- SerializedProperty m_PostPlaybackProperty;
-
- public override void OnInspectorGUI()
- {
- using (new EditorGUI.DisabledScope(IsTrackLocked()))
- {
- serializedObject.Update();
-
- EditorGUI.BeginChangeCheck();
-
- if (m_PostPlaybackProperty != null)
- EditorGUILayout.PropertyField(m_PostPlaybackProperty, Styles.PostPlaybackStateText);
-
- if (EditorGUI.EndChangeCheck())
- {
- serializedObject.ApplyModifiedProperties();
- var activationTrack = target as ActivationTrack;
- if (activationTrack != null)
- activationTrack.UpdateTrackMode();
- }
- }
- }
-
- public override void OnEnable()
- {
- base.OnEnable();
- m_PostPlaybackProperty = serializedObject.FindProperty("m_PostPlaybackState");
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs.meta
deleted file mode 100644
index 9c3910c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Activation/ActivationTrackInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c46b007a3762fc84cb1ee7ca30060f0b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics.meta
deleted file mode 100644
index e6cdda6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 57ff740bce4ab0c498ada374a8ca1dc0
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics/TimelineAnalytics.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics/TimelineAnalytics.cs
deleted file mode 100644
index 7e2cc61..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics/TimelineAnalytics.cs
+++ /dev/null
@@ -1,170 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.Build;
-using UnityEditor.Build.Reporting;
-using UnityEngine.Playables;
-using UnityEngine.SceneManagement;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline.Analytics
-{
- class TimelineSceneInfo
- {
- public Dictionary<string, int> trackCount = new Dictionary<string, int>
- {
- {"ActivationTrack", 0},
- {"AnimationTrack", 0},
- {"AudioTrack", 0},
- {"ControlTrack", 0},
- {"PlayableTrack", 0},
- {"UserType", 0},
- {"Other", 0}
- };
-
- public Dictionary<string, int> userTrackTypesCount = new Dictionary<string, int>();
- public HashSet<TimelineAsset> uniqueDirectors = new HashSet<TimelineAsset>();
- public int numTracks = 0;
- public int minDuration = int.MaxValue;
- public int maxDuration = int.MinValue;
- public int minNumTracks = int.MaxValue;
- public int maxNumTracks = int.MinValue;
- public int numRecorded = 0;
- }
-
- [Serializable]
- struct TrackInfo
- {
- public string name;
- public double percent;
- }
-
- [Serializable]
- class TimelineEventInfo
- {
- public int num_timelines;
- public int min_duration, max_duration;
- public int min_num_tracks, max_num_tracks;
- public double recorded_percent;
- public List<TrackInfo> track_info = new List<TrackInfo>();
- public string most_popular_user_track = string.Empty;
-
- public TimelineEventInfo(TimelineSceneInfo sceneInfo)
- {
- num_timelines = sceneInfo.uniqueDirectors.Count;
- min_duration = sceneInfo.minDuration;
- max_duration = sceneInfo.maxDuration;
- min_num_tracks = sceneInfo.minNumTracks;
- max_num_tracks = sceneInfo.maxNumTracks;
- recorded_percent = Math.Round(100.0 * sceneInfo.numRecorded / sceneInfo.numTracks, 1);
-
- foreach (KeyValuePair<string, int> kv in sceneInfo.trackCount.Where(x => x.Value > 0))
- {
- track_info.Add(new TrackInfo()
- {
- name = kv.Key,
- percent = Math.Round(100.0 * kv.Value / sceneInfo.numTracks, 1)
- });
- }
-
- if (sceneInfo.userTrackTypesCount.Any())
- {
- most_popular_user_track = sceneInfo.userTrackTypesCount
- .First(x => x.Value == sceneInfo.userTrackTypesCount.Values.Max()).Key;
- }
- }
-
- public static bool IsUserType(Type t)
- {
- string nameSpace = t.Namespace;
- return string.IsNullOrEmpty(nameSpace) || !nameSpace.StartsWith("UnityEngine.Timeline");
- }
- }
-
-
- static class TimelineAnalytics
- {
- static TimelineSceneInfo _timelineSceneInfo = new TimelineSceneInfo();
-
- class TimelineAnalyticsPreProcess : IPreprocessBuildWithReport
- {
- public int callbackOrder { get { return 0; } }
- public void OnPreprocessBuild(BuildReport report)
- {
- _timelineSceneInfo = new TimelineSceneInfo();
- }
- }
-
- class TimelineAnalyticsProcess : IProcessSceneWithReport
- {
- public int callbackOrder
- {
- get { return 0; }
- }
-
- public void OnProcessScene(Scene scene, BuildReport report)
- {
- var timelines = UnityEngine.Object.FindObjectsOfType<PlayableDirector>().Select(pd => pd.playableAsset).OfType<TimelineAsset>().Distinct();
-
- foreach (var timeline in timelines)
- {
- if (_timelineSceneInfo.uniqueDirectors.Add(timeline))
- {
- _timelineSceneInfo.numTracks += timeline.flattenedTracks.Count();
- _timelineSceneInfo.minDuration = Math.Min(_timelineSceneInfo.minDuration, (int)(timeline.duration * 1000));
- _timelineSceneInfo.maxDuration = Math.Max(_timelineSceneInfo.maxDuration, (int)(timeline.duration * 1000));
- _timelineSceneInfo.minNumTracks = Math.Min(_timelineSceneInfo.minNumTracks, timeline.flattenedTracks.Count());
- _timelineSceneInfo.maxNumTracks = Math.Max(_timelineSceneInfo.maxNumTracks, timeline.flattenedTracks.Count());
-
- foreach (var track in timeline.flattenedTracks)
- {
- string key = track.GetType().Name;
- if (_timelineSceneInfo.trackCount.ContainsKey(key))
- {
- _timelineSceneInfo.trackCount[key]++;
- }
- else
- {
- if (TimelineEventInfo.IsUserType(track.GetType()))
- {
- _timelineSceneInfo.trackCount["UserType"]++;
- if (_timelineSceneInfo.userTrackTypesCount.ContainsKey(key))
- _timelineSceneInfo.userTrackTypesCount[key]++;
- else
- _timelineSceneInfo.userTrackTypesCount[key] = 1;
- }
- else
- _timelineSceneInfo.trackCount["Other"]++;
- }
-
- if (track.clips.Any(x => x.recordable))
- _timelineSceneInfo.numRecorded++;
- else
- {
- var animationTrack = track as AnimationTrack;
- if (animationTrack != null)
- {
- if (animationTrack.CanConvertToClipMode())
- _timelineSceneInfo.numRecorded++;
- }
- }
- }
- }
- }
- }
- }
-
- class TimelineAnalyticsPostProcess : IPostprocessBuildWithReport
- {
- public int callbackOrder {get { return 0; }}
- public void OnPostprocessBuild(BuildReport report)
- {
- if (_timelineSceneInfo.uniqueDirectors.Count > 0)
- {
- var timelineEvent = new TimelineEventInfo(_timelineSceneInfo);
- EditorAnalytics.SendEventTimelineInfo(timelineEvent);
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics/TimelineAnalytics.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics/TimelineAnalytics.cs.meta
deleted file mode 100644
index e296bda..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Analytics/TimelineAnalytics.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 10ba9bc9317e315439b0223674162c52
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation.meta
deleted file mode 100644
index 2900939..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 3174898fbcdf12448963cdb5f5b60a33
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipActions.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipActions.cs
deleted file mode 100644
index 4c79048..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipActions.cs
+++ /dev/null
@@ -1,96 +0,0 @@
-using System.ComponentModel;
-using System.Linq;
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-using ClipAction = UnityEditor.Timeline.ItemAction<UnityEngine.Timeline.TimelineClip>;
-
-namespace UnityEditor.Timeline
-{
- [MenuEntry("Match Offsets To Previous Clip", MenuOrder.CustomClipAction.AnimClipMatchPrevious), UsedImplicitly]
- class MatchOffsetsPreviousAction : ClipAction
- {
- public override bool Execute(WindowState state, TimelineClip[] items)
- {
- AnimationOffsetMenu.MatchClipsToPrevious(state, items.Where(x => IsValidClip(x, TimelineEditor.inspectedDirector)).ToArray());
- return true;
- }
-
- private static bool IsValidClip(TimelineClip clip, PlayableDirector director)
- {
- return clip != null &&
- clip.parentTrack != null &&
- (clip.asset as AnimationPlayableAsset) != null &&
- clip.parentTrack.clips.Any(x => x.start < clip.start) &&
- TimelineUtility.GetSceneGameObject(director, clip.parentTrack) != null;
- }
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] items)
- {
- if (!items.All(TimelineAnimationUtilities.IsAnimationClip))
- return MenuActionDisplayState.Hidden;
-
- var director = TimelineEditor.inspectedDirector;
- if (TimelineEditor.inspectedDirector == null)
- return MenuActionDisplayState.Hidden;
-
- if (items.Any(c => IsValidClip(c, director)))
- return MenuActionDisplayState.Visible;
-
- return MenuActionDisplayState.Hidden;
- }
- }
-
- [MenuEntry("Match Offsets To Next Clip", MenuOrder.CustomClipAction.AnimClipMatchNext), UsedImplicitly]
- class MatchOffsetsNextAction : ClipAction
- {
- public override bool Execute(WindowState state, TimelineClip[] items)
- {
- AnimationOffsetMenu.MatchClipsToNext(state, items.Where(x => IsValidClip(x, TimelineEditor.inspectedDirector)).ToArray());
- return true;
- }
-
- private static bool IsValidClip(TimelineClip clip, PlayableDirector director)
- {
- return clip != null &&
- clip.parentTrack != null &&
- (clip.asset as AnimationPlayableAsset) != null &&
- clip.parentTrack.clips.Any(x => x.start > clip.start) &&
- TimelineUtility.GetSceneGameObject(director, clip.parentTrack) != null;
- }
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] items)
- {
- if (!items.All(TimelineAnimationUtilities.IsAnimationClip))
- return MenuActionDisplayState.Hidden;
-
- var director = TimelineEditor.inspectedDirector;
- if (TimelineEditor.inspectedDirector == null)
- return MenuActionDisplayState.Hidden;
-
- if (items.Any(c => IsValidClip(c, director)))
- return MenuActionDisplayState.Visible;
-
- return MenuActionDisplayState.Hidden;
- }
- }
-
- [MenuEntry("Reset Offsets", MenuOrder.CustomClipAction.AnimClipResetOffset), UsedImplicitly]
- class ResetOffsets : ClipAction
- {
- public override bool Execute(WindowState state, TimelineClip[] items)
- {
- AnimationOffsetMenu.ResetClipOffsets(state, items.Where(TimelineAnimationUtilities.IsAnimationClip).ToArray());
- return true;
- }
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TimelineClip[] items)
- {
- if (!items.All(TimelineAnimationUtilities.IsAnimationClip))
- return MenuActionDisplayState.Hidden;
-
- return MenuActionDisplayState.Visible;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipActions.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipActions.cs.meta
deleted file mode 100644
index 0632984..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipActions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: bf22284ca28e7ef4490033b61e9b52cd
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipCurveCache.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipCurveCache.cs
deleted file mode 100644
index 8570a73..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipCurveCache.cs
+++ /dev/null
@@ -1,436 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEditor;
-using UnityEditorInternal;
-
-namespace UnityEditor.Timeline
-{
- struct CurveBindingPair
- {
- public EditorCurveBinding binding;
- public AnimationCurve curve;
- public ObjectReferenceKeyframe[] objectCurve;
- }
-
- class CurveBindingGroup
- {
- public CurveBindingPair[] curveBindingPairs { get; set; }
- public Vector2 timeRange { get; set; }
- public Vector2 valueRange { get; set; }
-
- public bool isFloatCurve
- {
- get
- {
- return curveBindingPairs != null && curveBindingPairs.Length > 0 &&
- curveBindingPairs[0].curve != null;
- }
- }
-
- public bool isObjectCurve
- {
- get
- {
- return curveBindingPairs != null && curveBindingPairs.Length > 0 &&
- curveBindingPairs[0].objectCurve != null;
- }
- }
-
- public int count
- {
- get
- {
- if (curveBindingPairs == null)
- return 0;
- return curveBindingPairs.Length;
- }
- }
- }
-
- class AnimationClipCurveInfo
- {
- bool m_CurveDirty = true;
- bool m_KeysDirty = true;
-
- public bool dirty
- {
- get { return m_CurveDirty; }
- set
- {
- m_CurveDirty = value;
- if (m_CurveDirty)
- {
- m_KeysDirty = true;
- if (m_groupings != null)
- m_groupings.Clear();
- }
- }
- }
-
- public AnimationCurve[] curves;
- public EditorCurveBinding[] bindings;
-
- public EditorCurveBinding[] objectBindings;
- public List<ObjectReferenceKeyframe[]> objectCurves;
-
- Dictionary<string, CurveBindingGroup> m_groupings;
-
- // to tell whether the cache has changed
- public int version { get; private set; }
-
- float[] m_KeyTimes;
-
- Dictionary<EditorCurveBinding, float[]> m_individualBindinsKey;
-
- public float[] keyTimes
- {
- get
- {
- if (m_KeysDirty || m_KeyTimes == null)
- {
- RebuildKeyCache();
- }
- return m_KeyTimes;
- }
- }
-
- public float[] GetCurveTimes(EditorCurveBinding curve)
- {
- return GetCurveTimes(new[] { curve });
- }
-
- public float[] GetCurveTimes(EditorCurveBinding[] curves)
- {
- if (m_KeysDirty || m_KeyTimes == null)
- {
- RebuildKeyCache();
- }
-
- var keyTimes = new List<float>();
- for (int i = 0; i < curves.Length; i++)
- {
- var c = curves[i];
- if (m_individualBindinsKey.ContainsKey(c))
- {
- keyTimes.AddRange(m_individualBindinsKey[c]);
- }
- }
- return keyTimes.ToArray();
- }
-
- void RebuildKeyCache()
- {
- m_individualBindinsKey = new Dictionary<EditorCurveBinding, float[]>();
-
- List<float> keys = curves.SelectMany(y => y.keys).Select(z => z.time).ToList();
- for (int i = 0; i < objectCurves.Count; i++)
- {
- var kf = objectCurves[i];
- keys.AddRange(kf.Select(x => x.time));
- }
-
- for (int b = 0; b < bindings.Count(); b++)
- {
- m_individualBindinsKey.Add(bindings[b], curves[b].keys.Select(k => k.time).Distinct().ToArray());
- }
-
- m_KeyTimes = keys.OrderBy(x => x).Distinct().ToArray();
- m_KeysDirty = false;
- }
-
- public void Update(AnimationClip clip)
- {
- List<EditorCurveBinding> postfilter = new List<EditorCurveBinding>();
- var clipBindings = AnimationUtility.GetCurveBindings(clip);
- for (int i = 0; i < clipBindings.Length; i++)
- {
- var bind = clipBindings[i];
- if (!bind.propertyName.Contains("LocalRotation.w"))
- postfilter.Add(RotationCurveInterpolation.RemapAnimationBindingForRotationCurves(bind, clip));
- }
- bindings = postfilter.ToArray();
-
- curves = new AnimationCurve[bindings.Length];
- for (int i = 0; i < bindings.Length; i++)
- {
- curves[i] = AnimationUtility.GetEditorCurve(clip, bindings[i]);
- }
-
- objectBindings = AnimationUtility.GetObjectReferenceCurveBindings(clip);
- objectCurves = new List<ObjectReferenceKeyframe[]>(objectBindings.Length);
- for (int i = 0; i < objectBindings.Length; i++)
- {
- objectCurves.Add(AnimationUtility.GetObjectReferenceCurve(clip, objectBindings[i]));
- }
-
- m_CurveDirty = false;
- m_KeysDirty = true;
-
- version = version + 1;
- }
-
- public bool GetBindingForCurve(AnimationCurve curve, ref EditorCurveBinding binding)
- {
- for (int i = 0; i < curves.Length; i++)
- {
- if (curve == curves[i])
- {
- binding = bindings[i];
- return true;
- }
- }
- return false;
- }
-
- public AnimationCurve GetCurveForBinding(EditorCurveBinding binding)
- {
- for (int i = 0; i < curves.Length; i++)
- {
- if (binding.Equals(bindings[i]))
- {
- return curves[i];
- }
- }
- return null;
- }
-
- public ObjectReferenceKeyframe[] GetObjectCurveForBinding(EditorCurveBinding binding)
- {
- if (objectCurves == null)
- return null;
-
- for (int i = 0; i < objectCurves.Count; i++)
- {
- if (binding.Equals(objectBindings[i]))
- {
- return objectCurves[i];
- }
- }
- return null;
- }
-
- // given a groupID, get the list of curve bindings
- public CurveBindingGroup GetGroupBinding(string groupID)
- {
- if (m_groupings == null)
- m_groupings = new Dictionary<string, CurveBindingGroup>();
-
- CurveBindingGroup result = null;
- if (!m_groupings.TryGetValue(groupID, out result))
- {
- result = new CurveBindingGroup();
- result.timeRange = new Vector2(float.MaxValue, float.MinValue);
- result.valueRange = new Vector2(float.MaxValue, float.MinValue);
- List<CurveBindingPair> found = new List<CurveBindingPair>();
- for (int i = 0; i < bindings.Length; i++)
- {
- if (bindings[i].GetGroupID() == groupID)
- {
- CurveBindingPair pair = new CurveBindingPair();
- pair.binding = bindings[i];
- pair.curve = curves[i];
- found.Add(pair);
-
- for (int k = 0; k < curves[i].keys.Length; k++)
- {
- var key = curves[i].keys[k];
- result.timeRange = new Vector2(Mathf.Min(key.time, result.timeRange.x), Mathf.Max(key.time, result.timeRange.y));
- result.valueRange = new Vector2(Mathf.Min(key.value, result.valueRange.x), Mathf.Max(key.value, result.valueRange.y));
- }
- }
- }
- for (int i = 0; i < objectBindings.Length; i++)
- {
- if (objectBindings[i].GetGroupID() == groupID)
- {
- CurveBindingPair pair = new CurveBindingPair();
- pair.binding = objectBindings[i];
- pair.objectCurve = objectCurves[i];
- found.Add(pair);
-
- for (int k = 0; k < objectCurves[i].Length; k++)
- {
- var key = objectCurves[i][k];
- result.timeRange = new Vector2(Mathf.Min(key.time, result.timeRange.x), Mathf.Max(key.time, result.timeRange.y));
- }
- }
- }
-
- result.curveBindingPairs = found.OrderBy(x => AnimationWindowUtility.GetComponentIndex(x.binding.propertyName)).ToArray();
-
- m_groupings.Add(groupID, result);
- }
- return result;
- }
- }
-
- // Cache for storing the animation clip data
- class AnimationClipCurveCache
- {
- static AnimationClipCurveCache s_Instance;
- Dictionary<AnimationClip, AnimationClipCurveInfo> m_ClipCache = new Dictionary<AnimationClip, AnimationClipCurveInfo>();
- bool m_IsEnabled;
-
-
- public static AnimationClipCurveCache Instance
- {
- get
- {
- if (s_Instance == null)
- {
- s_Instance = new AnimationClipCurveCache();
- }
-
- return s_Instance;
- }
- }
-
- public void OnEnable()
- {
- if (!m_IsEnabled)
- {
- AnimationUtility.onCurveWasModified += OnCurveWasModified;
- m_IsEnabled = true;
- }
- }
-
- public void OnDisable()
- {
- if (m_IsEnabled)
- {
- AnimationUtility.onCurveWasModified -= OnCurveWasModified;
- m_IsEnabled = false;
- }
- }
-
- // callback when a curve is edited. Force the cache to update next time it's accessed
- void OnCurveWasModified(AnimationClip clip, EditorCurveBinding binding, AnimationUtility.CurveModifiedType modification)
- {
- if (modification == AnimationUtility.CurveModifiedType.CurveDeleted)
- {
- m_ClipCache.Remove(clip);
- }
- else
- {
- AnimationClipCurveInfo data;
- if (m_ClipCache.TryGetValue(clip, out data))
- {
- data.dirty = true;
- }
- }
- }
-
- public AnimationClipCurveInfo GetCurveInfo(AnimationClip clip)
- {
- AnimationClipCurveInfo data;
- if (clip == null)
- return null;
- if (!m_ClipCache.TryGetValue(clip, out data))
- {
- data = new AnimationClipCurveInfo();
- data.dirty = true;
- m_ClipCache[clip] = data;
- }
- if (data.dirty)
- {
- data.Update(clip);
- }
- return data;
- }
-
- public void ClearCachedProxyClips()
- {
- var toRemove = new List<AnimationClip>();
- foreach (var entry in m_ClipCache)
- {
- var clip = entry.Key;
- if (clip != null && (clip.hideFlags & HideFlags.HideAndDontSave) == HideFlags.HideAndDontSave)
- toRemove.Add(clip);
- }
-
- foreach (var clip in toRemove)
- {
- m_ClipCache.Remove(clip);
- Object.DestroyImmediate(clip, true);
- }
- }
-
-
- public void Clear()
- {
- ClearCachedProxyClips();
- m_ClipCache.Clear();
- }
-
- }
-
- static class EditorCurveBindingExtension
- {
- // identifier to generate an id thats the same for all curves in the same group
- public static string GetGroupID(this EditorCurveBinding binding)
- {
- return binding.type + AnimationWindowUtility.GetPropertyGroupName(binding.propertyName);
- }
- }
-
-
- static class CurveBindingGroupExtensions
- {
- // Extentions to determine curve types
- public static bool IsEnableGroup(this CurveBindingGroup curves)
- {
- return curves.isFloatCurve && curves.count == 1 && curves.curveBindingPairs[0].binding.propertyName == "m_Enabled";
- }
-
- public static bool IsVectorGroup(this CurveBindingGroup curves)
- {
- if (!curves.isFloatCurve)
- return false;
- if (curves.count <= 1 || curves.count > 4)
- return false;
- char l = curves.curveBindingPairs[0].binding.propertyName.Last();
- return l == 'x' || l == 'y' || l == 'z' || l == 'w';
- }
-
- public static bool IsColorGroup(this CurveBindingGroup curves)
- {
- if (!curves.isFloatCurve)
- return false;
- if (curves.count != 3 && curves.count != 4)
- return false;
- char l = curves.curveBindingPairs[0].binding.propertyName.Last();
- return l == 'r' || l == 'g' || l == 'b' || l == 'a';
- }
-
- public static string GetDescription(this CurveBindingGroup group, float t)
- {
- string result = string.Empty;
- if (group.isFloatCurve)
- {
- if (group.count > 1)
- {
- result += "(" + group.curveBindingPairs[0].curve.Evaluate(t).ToString("0.##");
- for (int j = 1; j < group.curveBindingPairs.Length; j++)
- {
- result += "," + group.curveBindingPairs[j].curve.Evaluate(t).ToString("0.##");
- }
- result += ")";
- }
- else
- {
- result = group.curveBindingPairs[0].curve.Evaluate(t).ToString("0.##");
- }
- }
- else if (group.isObjectCurve)
- {
- Object obj = null;
- if (group.curveBindingPairs[0].objectCurve.Length > 0)
- obj = CurveEditUtility.Evaluate(group.curveBindingPairs[0].objectCurve, t);
- result = (obj == null ? "None" : obj.name);
- }
-
- return result;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipCurveCache.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipCurveCache.cs.meta
deleted file mode 100644
index 47fcaa3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationClipCurveCache.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 07a967d2fca95324f8922df8394a5655
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationOffsetMenu.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationOffsetMenu.cs
deleted file mode 100644
index dbfc688..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationOffsetMenu.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class AnimationOffsetMenu
- {
- public static GUIContent MatchPreviousMenuItem = EditorGUIUtility.TrTextContent("Match Offsets To Previous Clip");
- public static GUIContent MatchNextMenuItem = EditorGUIUtility.TrTextContent("Match Offsets To Next Clip");
- public static string MatchFieldsPrefix = "Match Offsets Fields/";
- public static GUIContent ResetOffsetMenuItem = EditorGUIUtility.TrTextContent("Reset Offsets");
-
- static bool EnforcePreviewMode(WindowState state)
- {
- state.previewMode = true; // try and set the preview mode
- if (!state.previewMode)
- {
- Debug.LogError("Match clips cannot be completed because preview mode cannot be enabed");
- return false;
- }
- return true;
- }
-
- internal static void MatchClipsToPrevious(WindowState state, TimelineClip[] clips)
- {
- if (!EnforcePreviewMode(state))
- return;
-
- clips = clips.OrderBy(x => x.start).ToArray();
- foreach (var clip in clips)
- {
- var sceneObject = TimelineUtility.GetSceneGameObject(state.editSequence.director, clip.parentTrack);
- if (sceneObject != null)
- {
- TimelineUndo.PushUndo(clip.asset, "Match Clip");
- TimelineAnimationUtilities.MatchPrevious(clip, sceneObject.transform, state.editSequence.director);
- }
- }
-
- InspectorWindow.RepaintAllInspectors();
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
-
- internal static void MatchClipsToNext(WindowState state, TimelineClip[] clips)
- {
- if (!EnforcePreviewMode(state))
- return;
-
- clips = clips.OrderByDescending(x => x.start).ToArray();
- foreach (var clip in clips)
- {
- var sceneObject = TimelineUtility.GetSceneGameObject(state.editSequence.director, clip.parentTrack);
- if (sceneObject != null)
- {
- TimelineUndo.PushUndo(clip.asset, "Match Clip");
- TimelineAnimationUtilities.MatchNext(clip, sceneObject.transform, state.editSequence.director);
- }
- }
-
- InspectorWindow.RepaintAllInspectors();
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
-
- public static void ResetClipOffsets(WindowState state, TimelineClip[] clips)
- {
- foreach (var clip in clips)
- {
- if (clip.asset is AnimationPlayableAsset)
- {
- TimelineUndo.PushUndo(clip.asset, "Reset Offsets");
- var playableAsset = (AnimationPlayableAsset)clip.asset;
- playableAsset.ResetOffsets();
- }
- }
- state.rebuildGraph = true;
-
- InspectorWindow.RepaintAllInspectors();
- TimelineEditor.Refresh(RefreshReason.SceneNeedsUpdate);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationOffsetMenu.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationOffsetMenu.cs.meta
deleted file mode 100644
index e628663..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationOffsetMenu.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9ace5095cc37ed849b52109d2ee305d4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationPlayableAssetEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationPlayableAssetEditor.cs
deleted file mode 100644
index e4bebc1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationPlayableAssetEditor.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomTimelineEditor(typeof(AnimationPlayableAsset)), UsedImplicitly]
- class AnimationPlayableAssetEditor : ClipEditor
- {
- public static readonly string k_NoClipAssignedError = LocalizationDatabase.GetLocalizedString("No animation clip assigned");
- public static readonly string k_LegacyClipError = LocalizationDatabase.GetLocalizedString("Legacy animation clips are not supported");
- static readonly string k_MotionCurveError = LocalizationDatabase.GetLocalizedString("You are using motion curves without applyRootMotion enabled on the Animator. The root transform will not be animated");
- static readonly string k_RootCurveError = LocalizationDatabase.GetLocalizedString("You are using root curves without applyRootMotion enabled on the Animator. The root transform will not be animated");
-
- /// <inheritdoc/>
- public override ClipDrawOptions GetClipOptions(TimelineClip clip)
- {
- var clipOptions = base.GetClipOptions(clip);
- var asset = clip.asset as AnimationPlayableAsset;
-
- if (asset != null)
- clipOptions.errorText = GetErrorText(asset, clip.parentTrack as AnimationTrack, clipOptions.errorText);
-
- if (clip.recordable)
- clipOptions.highlightColor = DirectorStyles.Instance.customSkin.colorAnimationRecorded;
-
- return clipOptions;
- }
-
- /// <inheritdoc />
- public override void OnCreate(TimelineClip clip, TrackAsset track, TimelineClip clonedFrom)
- {
- var asset = clip.asset as AnimationPlayableAsset;
- if (asset != null && asset.clip != null && asset.clip.legacy)
- {
- asset.clip = null;
- Debug.LogError("Legacy Animation Clips are not supported");
- }
- }
-
- string GetErrorText(AnimationPlayableAsset animationAsset, AnimationTrack track, string defaultError)
- {
- if (animationAsset.clip == null)
- return k_NoClipAssignedError;
- if (animationAsset.clip.legacy)
- return k_LegacyClipError;
- if (animationAsset.clip.hasMotionCurves || animationAsset.clip.hasRootCurves)
- {
- if (track != null && track.trackOffset == TrackOffset.Auto)
- {
- var animator = track.GetBinding(TimelineEditor.inspectedDirector);
- if (animator != null && !animator.applyRootMotion && !animationAsset.clip.hasGenericRootTransform)
- {
- if (animationAsset.clip.hasMotionCurves)
- return k_MotionCurveError;
- return k_RootCurveError;
- }
- }
- }
-
- return defaultError;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationPlayableAssetEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationPlayableAssetEditor.cs.meta
deleted file mode 100644
index 0a749e8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationPlayableAssetEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f7fed0d9d0f7a7f41a8525aa79e790b1
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationTrackActions.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationTrackActions.cs
deleted file mode 100644
index 0b1a171..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationTrackActions.cs
+++ /dev/null
@@ -1,151 +0,0 @@
-using System.ComponentModel;
-using System.Linq;
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [MenuEntry("Add Override Track", MenuOrder.CustomTrackAction.AnimAddOverrideTrack), UsedImplicitly]
- class AddOverrideTrackAction : TrackAction
- {
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- foreach (var animTrack in tracks.OfType<AnimationTrack>())
- {
- TimelineHelpers.CreateTrack(typeof(AnimationTrack), animTrack, "Override " + animTrack.GetChildTracks().Count());
- }
-
- return true;
- }
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- if (tracks.Any(t => t.isSubTrack || !t.GetType().IsAssignableFrom(typeof(AnimationTrack))))
- return MenuActionDisplayState.Hidden;
-
- if (tracks.Any(t => t.lockedInHierarchy))
- return MenuActionDisplayState.Disabled;
-
- return MenuActionDisplayState.Visible;
- }
- }
-
- [MenuEntry("Convert To Clip Track", MenuOrder.CustomTrackAction.AnimConvertToClipMode), UsedImplicitly]
- class ConvertToClipModeAction : TrackAction
- {
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- foreach (var animTrack in tracks.OfType<AnimationTrack>())
- animTrack.ConvertToClipMode();
-
- TimelineEditor.Refresh(RefreshReason.ContentsAddedOrRemoved);
-
- return true;
- }
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- if (tracks.Any(t => !t.GetType().IsAssignableFrom(typeof(AnimationTrack))))
- return MenuActionDisplayState.Hidden;
-
- if (tracks.Any(t => t.lockedInHierarchy))
- return MenuActionDisplayState.Disabled;
-
- if (tracks.OfType<AnimationTrack>().All(a => a.CanConvertToClipMode()))
- return MenuActionDisplayState.Visible;
-
- return MenuActionDisplayState.Hidden;
- }
- }
-
- [MenuEntry("Convert To Infinite Clip", MenuOrder.CustomTrackAction.AnimConvertFromClipMode), UsedImplicitly]
- class ConvertFromClipTrackAction : TrackAction
- {
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- foreach (var animTrack in tracks.OfType<AnimationTrack>())
- animTrack.ConvertFromClipMode(state.editSequence.asset);
-
- TimelineEditor.Refresh(RefreshReason.ContentsAddedOrRemoved);
-
- return true;
- }
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- if (tracks.Any(t => !t.GetType().IsAssignableFrom(typeof(AnimationTrack))))
- return MenuActionDisplayState.Hidden;
-
- if (tracks.Any(t => t.lockedInHierarchy))
- return MenuActionDisplayState.Disabled;
-
- if (tracks.OfType<AnimationTrack>().All(a => a.CanConvertFromClipMode()))
- return MenuActionDisplayState.Visible;
-
- return MenuActionDisplayState.Hidden;
- }
- }
-
- abstract class TrackOffsetBaseAction : TrackAction
- {
- public abstract TrackOffset trackOffset { get; }
-
- protected override MenuActionDisplayState GetDisplayState(WindowState state, TrackAsset[] tracks)
- {
- if (tracks.Any(t => !t.GetType().IsAssignableFrom(typeof(AnimationTrack))))
- return MenuActionDisplayState.Hidden;
-
- if (tracks.Any(t => t.lockedInHierarchy))
- return MenuActionDisplayState.Disabled;
-
- return MenuActionDisplayState.Visible;
- }
-
- protected override bool IsChecked(WindowState state, TrackAsset[] tracks)
- {
- return tracks.OfType<AnimationTrack>().All(t => t.trackOffset == trackOffset);
- }
-
- public override bool Execute(WindowState state, TrackAsset[] tracks)
- {
- foreach (var animTrack in tracks.OfType<AnimationTrack>())
- {
- state.UnarmForRecord(animTrack);
- TimelineUndo.PushUndo(animTrack, "Set Transform Offsets");
- animTrack.trackOffset = trackOffset;
- }
-
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- return true;
- }
- }
-
-
- [MenuEntry("Track Offsets/Apply Transform Offsets", MenuOrder.CustomTrackAction.AnimApplyTrackOffset), UsedImplicitly]
- class ApplyTransformOffsetAction : TrackOffsetBaseAction
- {
- public override TrackOffset trackOffset
- {
- get { return TrackOffset.ApplyTransformOffsets; }
- }
- }
-
- [MenuEntry("Track Offsets/Apply Scene Offsets", MenuOrder.CustomTrackAction.AnimApplySceneOffset), UsedImplicitly]
- class ApplySceneOffsetAction : TrackOffsetBaseAction
- {
- public override TrackOffset trackOffset
- {
- get { return TrackOffset.ApplySceneOffsets; }
- }
- }
-
- [MenuEntry("Track Offsets/Auto (Deprecated)", MenuOrder.CustomTrackAction.AnimApplyAutoOffset), UsedImplicitly]
- class ApplyAutoAction : TrackOffsetBaseAction
- {
- public override TrackOffset trackOffset
- {
- get { return TrackOffset.Auto; }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationTrackActions.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationTrackActions.cs.meta
deleted file mode 100644
index 4ca0e4d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/AnimationTrackActions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d4553f2006f48b6448553cb525d2876e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingSelector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingSelector.cs
deleted file mode 100644
index 7f3cdde..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingSelector.cs
+++ /dev/null
@@ -1,224 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEditor.Timeline;
-using UnityEditorInternal;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor
-{
- class BindingSelector
- {
- TreeViewController m_TreeView;
- public TreeViewController treeViewController
- {
- get { return m_TreeView; }
- }
-
- TreeViewState m_TrackGlobalTreeViewState;
- TreeViewState m_TreeViewState;
- BindingTreeViewDataSource m_TreeViewDataSource;
- CurveDataSource m_CurveDataSource;
- TimelineWindow m_Window;
- CurveEditor m_CurveEditor;
- ReorderableList m_DopeLines;
- string[] m_StringList = {};
- int[] m_Selection;
- bool m_PartOfSelection;
- public BindingSelector(EditorWindow window, CurveEditor curveEditor, TreeViewState trackGlobalTreeViewState)
- {
- m_Window = window as TimelineWindow;
- m_CurveEditor = curveEditor;
- m_TrackGlobalTreeViewState = trackGlobalTreeViewState;
-
- m_DopeLines = new ReorderableList(m_StringList, typeof(string), false, false, false, false);
- m_DopeLines.drawElementBackgroundCallback = null;
- m_DopeLines.showDefaultBackground = false;
- m_DopeLines.index = 0;
- m_DopeLines.headerHeight = 0;
- m_DopeLines.elementHeight = 20;
- m_DopeLines.draggable = false;
- }
-
- public bool selectable { get { return true; } }
-
- public object selectableObject
- {
- get { return this; }
- }
-
- public bool selected
- {
- get { return m_PartOfSelection; }
- set
- {
- m_PartOfSelection = value;
-
- if (!m_PartOfSelection)
- {
- m_DopeLines.index = -1;
- }
- }
- }
-
- public virtual void Delete(WindowState state)
- {
- // we dont support deleting the summary
- if (m_DopeLines.index < 1)
- return;
-
- if (m_CurveDataSource == null)
- return;
-
- var clip = m_CurveDataSource.animationClip;
- if (clip == null)
- return;
-
- int curveIndexToDelete = m_DopeLines.index - 1;
- var bindings = AnimationUtility.GetCurveBindings(clip);
-
- if (curveIndexToDelete >= bindings.Length)
- return;
-
- TimelineUndo.PushUndo(clip, "Delete Curve");
- AnimationUtility.SetEditorCurve(clip, bindings[m_DopeLines.index - 1], null);
- state.rebuildGraph = true;
- }
-
- public void OnGUI(Rect targetRect)
- {
- if (m_TreeView == null)
- return;
-
- m_TreeView.OnEvent();
- m_TreeView.OnGUI(targetRect, GUIUtility.GetControlID(FocusType.Passive));
- }
-
- public void InitIfNeeded(Rect rect, CurveDataSource dataSource, bool isNewSelection)
- {
- if (Event.current.type != EventType.Layout)
- return;
-
- m_CurveDataSource = dataSource;
- var clip = dataSource.animationClip;
-
- List<EditorCurveBinding> allBindings = new List<EditorCurveBinding>();
- allBindings.Add(new EditorCurveBinding { propertyName = "Summary" });
- if (clip != null)
- allBindings.AddRange(AnimationUtility.GetCurveBindings(clip));
-
- m_DopeLines.list = allBindings.ToArray();
-
- if (m_TreeViewState != null)
- {
- if (isNewSelection)
- RefreshAll();
-
- return;
- }
-
- m_TreeViewState = m_TrackGlobalTreeViewState != null ? m_TrackGlobalTreeViewState : new TreeViewState();
-
- m_TreeView = new TreeViewController(m_Window, m_TreeViewState)
- {
- useExpansionAnimation = false,
- deselectOnUnhandledMouseDown = true
- };
-
- m_TreeView.selectionChangedCallback += OnItemSelectionChanged;
-
- m_TreeViewDataSource = new BindingTreeViewDataSource(m_TreeView, clip, m_CurveDataSource);
-
- m_TreeView.Init(rect, m_TreeViewDataSource, new BindingTreeViewGUI(m_TreeView), null);
-
- m_TreeViewDataSource.UpdateData();
-
- RefreshSelection();
- }
-
- void OnItemSelectionChanged(int[] selection)
- {
- RefreshSelection(selection);
- }
-
- void RefreshAll()
- {
- RefreshTree();
- RefreshSelection();
- }
-
- void RefreshSelection()
- {
- RefreshSelection(m_TreeViewState.selectedIDs != null ? m_TreeViewState.selectedIDs.ToArray() : null);
- }
-
- void RefreshSelection(int[] selection)
- {
- if (selection == null || selection.Length == 0)
- {
- // select all.
- if (m_TreeViewDataSource.GetRows().Count > 0)
- {
- m_Selection = m_TreeViewDataSource.GetRows().Select(r => r.id).ToArray();
- }
- }
- else
- {
- m_Selection = selection;
- }
-
- RefreshCurves();
- }
-
- public void RefreshCurves()
- {
- if (m_CurveDataSource == null || m_Selection == null)
- return;
-
- var bindings = new List<EditorCurveBinding>();
- foreach (int s in m_Selection)
- {
- var item = (CurveTreeViewNode)m_TreeView.FindItem(s);
- if (item != null && item.bindings != null)
- bindings.AddRange(item.bindings);
- }
-
- var wrappers = m_CurveDataSource.GenerateWrappers(bindings);
- m_CurveEditor.animationCurves = wrappers.ToArray();
- }
-
- public void RefreshTree()
- {
- if (m_TreeViewDataSource == null)
- return;
-
- if (m_Selection == null)
- m_Selection = new int[0];
-
- // get the names of the previous items
- var selected = m_Selection.Select(x => m_TreeViewDataSource.FindItem(x)).Where(t => t != null).Select(c => c.displayName).ToArray();
-
- // update the source
- m_TreeViewDataSource.UpdateData();
-
- // find the same items
- var reselected = m_TreeViewDataSource.GetRows().Where(x => selected.Contains(x.displayName)).Select(x => x.id).ToArray();
- if (!reselected.Any())
- {
- if (m_TreeViewDataSource.GetRows().Count > 0)
- {
- reselected = new[] { m_TreeViewDataSource.GetItem(0).id };
- }
- }
-
- // update the selection
- OnItemSelectionChanged(reselected);
- }
-
- internal virtual bool IsRenamingNodeAllowed(TreeViewItem node)
- {
- return false;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingSelector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingSelector.cs.meta
deleted file mode 100644
index b08aa56..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingSelector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c171b9ca03610ea4faa426e082a1075d
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSource.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSource.cs
deleted file mode 100644
index 8118285..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSource.cs
+++ /dev/null
@@ -1,139 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor;
-using UnityEditor.IMGUI.Controls;
-using UnityEditor.Timeline;
-using UnityEngine;
-
-namespace UnityEditorInternal
-{
- class BindingTreeViewDataSource : TreeViewDataSource
- {
- public const int RootID = int.MinValue;
- public const int GroupID = -1;
-
- AnimationClip m_Clip;
- CurveDataSource m_CurveDataSource;
-
- public BindingTreeViewDataSource(
- TreeViewController treeView, AnimationClip clip, CurveDataSource curveDataSource)
- : base(treeView)
- {
- m_Clip = clip;
- showRootItem = false;
- m_CurveDataSource = curveDataSource;
- }
-
- void SetupRootNodeSettings()
- {
- showRootItem = false;
- SetExpanded(RootID, true);
- SetExpanded(GroupID, true);
- }
-
- static string GroupName(EditorCurveBinding binding)
- {
- string property = AnimationWindowUtility.NicifyPropertyGroupName(binding.type, binding.propertyName);
- if (!string.IsNullOrEmpty(binding.path))
- {
- property = binding.path + " : " + property;
- }
-
- int lastArrayIdx = property.LastIndexOf("Array.");
- if (lastArrayIdx != -1)
- {
- property = property.Substring(0, lastArrayIdx - 1);
- }
- return property;
- }
-
- static string PropertyName(EditorCurveBinding binding, string arrayPrefixToRemove = "")
- {
- string propertyName = AnimationWindowUtility.GetPropertyDisplayName(binding.propertyName);
- if (propertyName.Contains("Array"))
- {
- propertyName = propertyName.Replace("Array.", "");
- propertyName = propertyName.Replace(arrayPrefixToRemove, "");
- propertyName = propertyName.TrimStart('.');
- }
- return propertyName;
- }
-
- public override void FetchData()
- {
- if (m_Clip == null)
- return;
-
- var bindings = AnimationUtility.GetCurveBindings(m_Clip)
- .Union(AnimationUtility.GetObjectReferenceCurveBindings(m_Clip))
- .ToArray();
-
- var results = bindings.GroupBy(p => GroupName(p), p => p, (key, g) => new
- {
- parent = key,
- bindings = g.ToList()
- }).OrderBy(t =>
- {
- //Force transform order first
- if (t.parent == "Position") return -3;
- if (t.parent == "Rotation") return -2;
- if (t.parent == "Scale") return -1;
- return 0;
- }).ThenBy(t => t.parent);
-
- m_RootItem = new CurveTreeViewNode(RootID, null, "root", null)
- {
- children = new List<TreeViewItem>(1)
- };
-
- var groupingNode = new CurveTreeViewNode(GroupID, m_RootItem, m_CurveDataSource.groupingName, bindings)
- {
- children = new List<TreeViewItem>()
- };
-
- m_RootItem.children.Add(groupingNode);
-
- foreach (var r in results)
- {
- var newNode = new CurveTreeViewNode(r.parent.GetHashCode(), groupingNode, r.parent, r.bindings.ToArray());
- groupingNode.children.Add(newNode);
- if (r.bindings.Count > 1)
- {
- for (int b = 0; b < r.bindings.Count; b++)
- {
- if (newNode.children == null)
- newNode.children = new List<TreeViewItem>();
-
- var binding = r.bindings[b];
- var bindingNode = new CurveTreeViewNode(binding.GetHashCode(), newNode, PropertyName(binding, newNode.displayName), new[] {binding});
- newNode.children.Add(bindingNode);
- }
- }
- }
-
- SetupRootNodeSettings();
- m_NeedRefreshRows = true;
- }
-
- public void UpdateData()
- {
- m_TreeView.ReloadData();
- }
- }
-
- class CurveTreeViewNode : TreeViewItem
- {
- EditorCurveBinding[] m_Bindings;
-
- public EditorCurveBinding[] bindings
- {
- get { return m_Bindings; }
- }
-
- public CurveTreeViewNode(int id, TreeViewItem parent, string displayName, EditorCurveBinding[] bindings)
- : base(id, parent != null ? parent.depth + 1 : -1, parent, displayName)
- {
- m_Bindings = bindings;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSource.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSource.cs.meta
deleted file mode 100644
index b553947..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSource.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9c2177aaf0fde92439246adc2dc0bfa2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSourceGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSourceGUI.cs
deleted file mode 100644
index 443a216..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSourceGUI.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-using UnityEditor;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine;
-
-namespace UnityEditorInternal
-{
- class BindingTreeViewGUI : TreeViewGUI
- {
- static readonly float s_RowRightOffset = 10;
- static readonly float s_ColorIndicatorTopMargin = 3;
- static readonly Color s_KeyColorForNonCurves = new Color(0.7f, 0.7f, 0.7f, 0.5f);
- static readonly Color s_ChildrenCurveLabelColor = new Color(1.0f, 1.0f, 1.0f, 0.7f);
-
- public BindingTreeViewGUI(TreeViewController treeView)
- : base(treeView, true)
- {
- k_IconWidth = 13.0f;
- }
-
- public override void OnRowGUI(Rect rowRect, TreeViewItem node, int row, bool selected, bool focused)
- {
- Color originalColor = GUI.color;
- GUI.color = node.parent == null ||
- node.parent.id == BindingTreeViewDataSource.RootID ||
- node.parent.id == BindingTreeViewDataSource.GroupID ?
- Color.white :
- s_ChildrenCurveLabelColor;
-
- base.OnRowGUI(rowRect, node, row, selected, focused);
-
- GUI.color = originalColor;
- DoCurveColorIndicator(rowRect, node as CurveTreeViewNode);
- }
-
- protected override bool IsRenaming(int id)
- {
- return false;
- }
-
- public override bool BeginRename(TreeViewItem item, float delay)
- {
- return false;
- }
-
- void DoCurveColorIndicator(Rect rect, CurveTreeViewNode node)
- {
- if (node == null)
- return;
-
- if (Event.current.type != EventType.Repaint)
- return;
-
- Color originalColor = GUI.color;
-
- if (node.bindings.Length == 1 && !node.bindings[0].isPPtrCurve)
- GUI.color = CurveUtility.GetPropertyColor(node.bindings[0].propertyName);
- else
- GUI.color = s_KeyColorForNonCurves;
-
- Texture icon = CurveUtility.GetIconCurve();
- rect = new Rect(rect.xMax - s_RowRightOffset - (icon.width * 0.5f) - 5, rect.yMin + s_ColorIndicatorTopMargin, icon.width, icon.height);
-
- GUI.DrawTexture(rect, icon, ScaleMode.ScaleToFit, true, 1);
-
- GUI.color = originalColor;
- }
-
- protected override Texture GetIconForItem(TreeViewItem item)
- {
- var node = item as CurveTreeViewNode;
- if (node == null)
- return null;
-
- if (node.bindings == null || node.bindings.Length == 0)
- return null;
-
- return AssetPreview.GetMiniTypeThumbnail(node.bindings[0].type);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSourceGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSourceGUI.cs.meta
deleted file mode 100644
index 2e16c1b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/BindingTreeViewDataSourceGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3c09dc5cd0a70cf40856b7d406106ee1
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/ClipCurveEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/ClipCurveEditor.cs
deleted file mode 100644
index da1d0e6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/ClipCurveEditor.cs
+++ /dev/null
@@ -1,332 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.Timeline;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor
-{
- class ClipCurveEditor
- {
- internal readonly CurveEditor m_CurveEditor;
- static readonly CurveEditorSettings s_CurveEditorSettings = new CurveEditorSettings
- {
- hSlider = false,
- vSlider = false,
- hRangeLocked = false,
- vRangeLocked = false,
- scaleWithWindow = true,
- hRangeMin = 0.0f,
- showAxisLabels = true,
- allowDeleteLastKeyInCurve = true,
- rectangleToolFlags = CurveEditorSettings.RectangleToolFlags.MiniRectangleTool
- };
-
- static readonly float s_GridLabelWidth = 40.0f;
-
- readonly BindingSelector m_BindingHierarchy;
- public BindingSelector bindingHierarchy
- {
- get { return m_BindingHierarchy; }
- }
-
- public Rect shownAreaInsideMargins
- {
- get { return m_CurveEditor != null ? m_CurveEditor.shownAreaInsideMargins : new Rect(1, 1, 1, 1); }
- }
-
- Vector2 m_ScrollPosition = Vector2.zero;
-
- readonly CurveDataSource m_DataSource;
-
- float m_LastFrameRate = 30.0f;
- int m_LastClipVersion = -1;
- int m_LastCurveCount = -1;
- TrackViewModelData m_ViewModel;
- bool m_ShouldRestoreShownArea;
-
- bool isNewSelection
- {
- get
- {
- if (m_ViewModel == null || m_DataSource == null)
- return true;
-
- return m_ViewModel.lastInlineCurveDataID != m_DataSource.id;
- }
- }
-
- internal CurveEditor curveEditor
- {
- get { return m_CurveEditor; }
- }
-
- public ClipCurveEditor(CurveDataSource dataSource, TimelineWindow parentWindow, TrackAsset hostTrack)
- {
- m_DataSource = dataSource;
-
- m_CurveEditor = new CurveEditor(new Rect(0, 0, 1000, 100), new CurveWrapper[0], false);
-
- s_CurveEditorSettings.vTickStyle = new TickStyle
- {
- tickColor = { color = DirectorStyles.Instance.customSkin.colorInlineCurveVerticalLines },
- distLabel = 20,
- stubs = true
- };
-
- s_CurveEditorSettings.hTickStyle = new TickStyle
- {
- // hide horizontal lines by giving them a transparent color
- tickColor = { color = new Color(0.0f, 0.0f, 0.0f, 0.0f) },
- distLabel = 0
- };
-
- m_CurveEditor.settings = s_CurveEditorSettings;
-
- m_ViewModel = TimelineWindowViewPrefs.GetTrackViewModelData(hostTrack);
-
- m_ShouldRestoreShownArea = true;
- m_CurveEditor.ignoreScrollWheelUntilClicked = true;
- m_CurveEditor.curvesUpdated = OnCurvesUpdated;
-
- m_BindingHierarchy = new BindingSelector(parentWindow, m_CurveEditor, m_ViewModel.inlineCurvesState);
- }
-
- public void SelectAllKeys()
- {
- m_CurveEditor.SelectAll();
- }
-
- public void FrameClip()
- {
- m_CurveEditor.InvalidateBounds();
- m_CurveEditor.FrameClip(false, true);
- }
-
- public CurveDataSource dataSource
- {
- get { return m_DataSource; }
- }
-
- internal void OnCurvesUpdated()
- {
- if (m_DataSource == null)
- return;
-
- if (m_CurveEditor == null)
- return;
-
- if (m_CurveEditor.animationCurves.Length == 0)
- return;
-
- List<CurveWrapper> curvesToUpdate = m_CurveEditor.animationCurves.Where(c => c.changed).ToList();
-
- // nothing changed, return.
- if (curvesToUpdate.Count == 0)
- return;
-
- AnimationClip clip = m_DataSource.animationClip;
-
- // something changed, manage the undo properly.
- Undo.RegisterCompleteObjectUndo(clip, "Edit Clip Curve");
-
- foreach (CurveWrapper c in curvesToUpdate)
- {
- AnimationUtility.SetEditorCurve(clip, c.binding, c.curve);
- c.changed = false;
- }
-
- m_DataSource.UpdateCurves(curvesToUpdate);
- }
-
- public void DrawHeader(Rect headerRect)
- {
- m_BindingHierarchy.InitIfNeeded(headerRect, m_DataSource, isNewSelection);
-
- try
- {
- GUILayout.BeginArea(headerRect);
- m_ScrollPosition = GUILayout.BeginScrollView(m_ScrollPosition, GUIStyle.none, GUI.skin.verticalScrollbar);
- m_BindingHierarchy.OnGUI(new Rect(0, 0, headerRect.width, headerRect.height));
- GUILayout.EndScrollView();
- GUILayout.EndArea();
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
- }
-
- class FrameFormatCurveEditorState : ICurveEditorState
- {
- public TimeArea.TimeFormat timeFormat
- {
- get { return TimeArea.TimeFormat.Frame; }
- }
- public Vector2 timeRange { get { return new Vector2(0, 1); } }
- public bool rippleTime { get { return false; } }
- }
-
- class UnformattedCurveEditorState : ICurveEditorState
- {
- public TimeArea.TimeFormat timeFormat
- {
- get { return TimeArea.TimeFormat.None; }
- }
- public Vector2 timeRange { get { return new Vector2(0, 1); } }
- public bool rippleTime { get { return false; } }
- }
-
- void UpdateCurveEditorIfNeeded(WindowState state)
- {
- if ((Event.current.type != EventType.Layout) || (m_DataSource == null) || (m_BindingHierarchy == null) || (m_DataSource.animationClip == null))
- return;
-
- AnimationClipCurveInfo curveInfo = AnimationClipCurveCache.Instance.GetCurveInfo(m_DataSource.animationClip);
- int version = curveInfo.version;
- if (version != m_LastClipVersion)
- {
- // tree has changed
- if (m_LastCurveCount != curveInfo.curves.Length)
- {
- m_BindingHierarchy.RefreshTree();
- m_LastCurveCount = curveInfo.curves.Length;
- }
- else
- {
- // update just the curves
- m_BindingHierarchy.RefreshCurves();
- }
- m_LastClipVersion = version;
- }
-
- if (state.timeInFrames)
- m_CurveEditor.state = new FrameFormatCurveEditorState();
- else
- m_CurveEditor.state = new UnformattedCurveEditorState();
-
- m_CurveEditor.invSnap = state.referenceSequence.frameRate;
- }
-
- public void DrawCurveEditor(Rect rect, WindowState state, Vector2 clipRange, bool loop, bool selected)
- {
- var curveEndTime = m_DataSource.start + m_DataSource.animationClip.length / m_DataSource.timeScale;
- var curveRange = new Vector2(state.TimeToPixel(m_DataSource.start), state.TimeToPixel(curveEndTime));
-
- SetupMarginsAndRect(rect, curveRange, state);
- UpdateCurveEditorIfNeeded(state);
-
- if (m_ShouldRestoreShownArea)
- RestoreShownArea();
- m_CurveEditor.SetShownHRangeInsideMargins(0.0f, m_DataSource.animationClip.length); //align the curve with the clip.
-
- if (m_LastFrameRate != state.referenceSequence.frameRate)
- {
- m_CurveEditor.hTicks.SetTickModulosForFrameRate(state.referenceSequence.frameRate);
- m_LastFrameRate = state.referenceSequence.frameRate;
- }
-
- foreach (var cw in m_CurveEditor.animationCurves)
- cw.renderer.SetWrap(WrapMode.Default, loop ? WrapMode.Loop : WrapMode.Default);
-
- using (new GUIGroupScope(rect))
- {
- var localRect = new Rect(0.0f, 0.0f, rect.width, rect.height);
- var localClipRange = new Vector2(Mathf.Floor(clipRange.x - rect.xMin), Mathf.Ceil(clipRange.y - rect.xMin));
- var localCurveRange = new Vector2(Mathf.Floor(curveRange.x - rect.xMin), Mathf.Ceil(curveRange.y - rect.xMin));
-
- EditorGUI.DrawRect(new Rect(localCurveRange.x, 0.0f, 1.0f, rect.height), new Color(1.0f, 1.0f, 1.0f, 0.5f));
- DrawCurveEditorBackground(localRect, localClipRange);
-
- if (selected)
- {
- var selectionRect = new Rect(localClipRange.x, 0.0f, localClipRange.y - localClipRange.x, localRect.height);
- DrawOutline(selectionRect);
- }
-
- EditorGUI.BeginChangeCheck();
- {
- var evt = Event.current;
- if (evt.type == EventType.Layout || evt.type == EventType.Repaint || selected)
- m_CurveEditor.CurveGUI();
- }
- if (EditorGUI.EndChangeCheck())
- OnCurvesUpdated();
-
- DrawOverlay(localRect, localClipRange, DirectorStyles.Instance.customSkin.colorInlineCurveOutOfRangeOverlay);
- DrawGrid(localRect, localCurveRange);
- }
- }
-
- void SetupMarginsAndRect(Rect rect, Vector2 curveRange, WindowState state)
- {
- var timelineWidth = state.TimeToPixel(Mathf.Max((float)state.editSequence.duration, state.timeAreaShownRange.y));
- m_CurveEditor.rect = new Rect(-rect.xMin, 0.0f, timelineWidth, rect.height);
- m_CurveEditor.leftmargin = curveRange.x;
- m_CurveEditor.rightmargin = timelineWidth - curveRange.y;
- m_CurveEditor.topmargin = m_CurveEditor.bottommargin = CalculateTopMargin(rect.height);
- }
-
- void RestoreShownArea()
- {
- if (isNewSelection)
- FrameClip();
- else
- m_CurveEditor.shownAreaInsideMargins = m_ViewModel.inlineCurvesShownAreaInsideMargins;
- m_ShouldRestoreShownArea = false;
- }
-
- static void DrawCurveEditorBackground(Rect rect, Vector2 activeRange)
- {
- if (EditorGUIUtility.isProSkin)
- return;
-
- var animEditorBackgroundRect = Rect.MinMaxRect(0.0f, rect.yMin, rect.xMax, rect.yMax);
-
- // Curves are not legible in Personal Skin so we need to darken the background a bit.
- EditorGUI.DrawRect(animEditorBackgroundRect, DirectorStyles.Instance.customSkin.colorInlineCurvesBackground);
- }
-
- static float CalculateTopMargin(float height)
- {
- return Mathf.Clamp(0.15f * height, 10.0f, 40.0f);
- }
-
- static void DrawOutline(Rect rect, float thickness = 2.0f)
- {
- // Draw top selected lines.
- EditorGUI.DrawRect(new Rect(rect.xMin, rect.yMin, rect.width, thickness), Color.white);
-
- // Draw bottom selected lines.
- EditorGUI.DrawRect(new Rect(rect.xMin, rect.yMax - thickness, rect.width, thickness), Color.white);
-
- // Draw Left Selected Lines
- EditorGUI.DrawRect(new Rect(rect.xMin, rect.yMin, thickness, rect.height), Color.white);
-
- // Draw Right Selected Lines
- EditorGUI.DrawRect(new Rect(rect.xMax - thickness, rect.yMin, thickness, rect.height), Color.white);
- }
-
- static void DrawOverlay(Rect rect, Vector2 clipRange, Color color)
- {
- var leftSide = new Rect(rect.xMin, rect.yMin, clipRange.x - rect.xMin, rect.height);
- EditorGUI.DrawRect(leftSide, color);
-
- var rightSide = new Rect(Mathf.Max(0.0f, clipRange.y), rect.yMin, rect.xMax, rect.height);
- EditorGUI.DrawRect(rightSide, color);
- }
-
- void DrawGrid(Rect rect, Vector2 curveRange)
- {
- var gridXPos = Mathf.Max(curveRange.x - s_GridLabelWidth, rect.xMin);
- var gridRect = new Rect(gridXPos, rect.y, s_GridLabelWidth, rect.height);
- var originalRect = m_CurveEditor.rect;
-
- m_CurveEditor.rect = new Rect(0.0f, 0.0f, rect.width, rect.height);
- using (new GUIGroupScope(gridRect))
- m_CurveEditor.GridGUI();
- m_CurveEditor.rect = originalRect;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/ClipCurveEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/ClipCurveEditor.cs.meta
deleted file mode 100644
index 5ae80d2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/ClipCurveEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d49b2ed20045e034f9cdf6a6d95e6183
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurveDataSource.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurveDataSource.cs
deleted file mode 100644
index b5ad13b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurveDataSource.cs
+++ /dev/null
@@ -1,272 +0,0 @@
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- abstract class CurveDataSource
- {
- public static CurveDataSource Create(IRowGUI trackGUI)
- {
- if (trackGUI.asset is AnimationTrack)
- return new InfiniteClipCurveDataSource(trackGUI);
-
- return new TrackParametersCurveDataSource(trackGUI);
- }
-
- public static CurveDataSource Create(TimelineClipGUI clipGUI)
- {
- if (clipGUI.clip.animationClip != null)
- return new ClipAnimationCurveDataSource(clipGUI);
-
- return new ClipParametersCurveDataSource(clipGUI);
- }
-
- int? m_ID = null;
- public int id
- {
- get
- {
- if (!m_ID.HasValue)
- m_ID = CreateHashCode();
-
- return m_ID.Value;
- }
- }
-
- readonly IRowGUI m_TrackGUI;
- protected IRowGUI trackGUI { get { return m_TrackGUI; } }
-
- protected CurveDataSource(IRowGUI trackGUI)
- {
- m_TrackGUI = trackGUI;
- }
-
- public abstract AnimationClip animationClip { get; }
- public abstract float start { get; }
- public abstract float timeScale { get; }
- public abstract string groupingName { get; }
- public virtual void UpdateCurves(List<CurveWrapper> updatedCurves) {}
- public virtual void RebuildCurves() {} // Only necessary when using proxies
-
- public Rect GetBackgroundRect(WindowState state)
- {
- var trackRect = m_TrackGUI.boundingRect;
- return new Rect(
- state.timeAreaTranslation.x + trackRect.xMin,
- trackRect.y,
- (float)state.editSequence.asset.duration * state.timeAreaScale.x,
- trackRect.height
- );
- }
-
- public List<CurveWrapper> GenerateWrappers(List<EditorCurveBinding> bindings)
- {
- var wrappers = new List<CurveWrapper>(bindings.Count);
- int curveWrapperId = 0;
-
- foreach (EditorCurveBinding b in bindings)
- {
- // General configuration
- var wrapper = new CurveWrapper
- {
- id = curveWrapperId++,
- binding = b,
- groupId = -1,
- hidden = false,
- readOnly = false,
- getAxisUiScalarsCallback = () => new Vector2(1, 1)
- };
-
- // Specific configuration
- ConfigureCurveWrapper(wrapper);
-
- wrappers.Add(wrapper);
- }
-
- return wrappers;
- }
-
- protected virtual void ConfigureCurveWrapper(CurveWrapper wrapper)
- {
- wrapper.color = CurveUtility.GetPropertyColor(wrapper.binding.propertyName);
- wrapper.renderer = new NormalCurveRenderer(AnimationUtility.GetEditorCurve(animationClip, wrapper.binding));
- wrapper.renderer.SetCustomRange(0.0f, animationClip.length);
- }
-
- protected virtual int CreateHashCode()
- {
- return m_TrackGUI.asset.GetHashCode();
- }
- }
-
- class ClipAnimationCurveDataSource : CurveDataSource
- {
- static readonly string k_GroupingName = L10n.Tr("Animated Values");
-
- readonly TimelineClipGUI m_ClipGUI;
-
- public ClipAnimationCurveDataSource(TimelineClipGUI clipGUI) : base(clipGUI.parent)
- {
- m_ClipGUI = clipGUI;
- }
-
- public override AnimationClip animationClip
- {
- get { return m_ClipGUI.clip.animationClip; }
- }
-
- public override float start
- {
- get { return (float)m_ClipGUI.clip.FromLocalTimeUnbound(0.0); }
- }
-
- public override float timeScale
- {
- get { return (float)m_ClipGUI.clip.timeScale; }
- }
-
- public override string groupingName
- {
- get { return k_GroupingName; }
- }
-
- protected override int CreateHashCode()
- {
- return base.CreateHashCode().CombineHash(m_ClipGUI.clip.GetHashCode());
- }
- }
-
- class ClipParametersCurveDataSource : CurveDataSource
- {
- static readonly string k_GroupingName = L10n.Tr("Clip Properties");
-
- readonly TimelineClipGUI m_ClipGUI;
- readonly CurvesProxy m_CurvesProxy;
-
- public ClipParametersCurveDataSource(TimelineClipGUI clipGUI) : base(clipGUI.parent)
- {
- m_ClipGUI = clipGUI;
- m_CurvesProxy = new CurvesProxy(clipGUI.clip);
- }
-
- public override AnimationClip animationClip
- {
- get { return m_CurvesProxy.curves; }
- }
-
- public override float start
- {
- get { return (float)m_ClipGUI.clip.FromLocalTimeUnbound(0.0); }
- }
-
- public override float timeScale
- {
- get { return (float)m_ClipGUI.clip.timeScale; }
- }
-
- public override string groupingName
- {
- get { return k_GroupingName; }
- }
-
- public override void UpdateCurves(List<CurveWrapper> updatedCurves)
- {
- m_CurvesProxy.UpdateCurves(updatedCurves);
- }
-
- public override void RebuildCurves()
- {
- m_CurvesProxy.RebuildCurves();
- }
-
- protected override void ConfigureCurveWrapper(CurveWrapper wrapper)
- {
- m_CurvesProxy.ConfigureCurveWrapper(wrapper);
- }
-
- protected override int CreateHashCode()
- {
- return base.CreateHashCode().CombineHash(m_ClipGUI.clip.GetHashCode());
- }
- }
-
- class InfiniteClipCurveDataSource : CurveDataSource
- {
- static readonly string k_GroupingName = L10n.Tr("Animated Values");
-
- readonly AnimationTrack m_AnimationTrack;
-
- public InfiniteClipCurveDataSource(IRowGUI trackGui) : base(trackGui)
- {
- m_AnimationTrack = trackGui.asset as AnimationTrack;
- }
-
- public override AnimationClip animationClip
- {
- get { return m_AnimationTrack.infiniteClip; }
- }
-
- public override float start
- {
- get { return 0.0f; }
- }
-
- public override float timeScale
- {
- get { return 1.0f; }
- }
-
- public override string groupingName
- {
- get { return k_GroupingName; }
- }
- }
-
- class TrackParametersCurveDataSource : CurveDataSource
- {
- static readonly string k_GroupingName = L10n.Tr("Track Properties");
-
- readonly CurvesProxy m_CurvesProxy;
-
- public TrackParametersCurveDataSource(IRowGUI trackGui) : base(trackGui)
- {
- m_CurvesProxy = new CurvesProxy(trackGui.asset);
- }
-
- public override AnimationClip animationClip
- {
- get { return m_CurvesProxy.curves; }
- }
-
- public override float start
- {
- get { return 0.0f; }
- }
-
- public override float timeScale
- {
- get { return 1.0f; }
- }
-
- public override string groupingName
- {
- get { return k_GroupingName; }
- }
-
- public override void UpdateCurves(List<CurveWrapper> updatedCurves)
- {
- m_CurvesProxy.UpdateCurves(updatedCurves);
- }
-
- public override void RebuildCurves()
- {
- m_CurvesProxy.RebuildCurves();
- }
-
- protected override void ConfigureCurveWrapper(CurveWrapper wrapper)
- {
- m_CurvesProxy.ConfigureCurveWrapper(wrapper);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurveDataSource.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurveDataSource.cs.meta
deleted file mode 100644
index 6416ecf..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurveDataSource.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 87a1ae9719ec25d44a4dbec20ec0f892
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurvesProxy.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurvesProxy.cs
deleted file mode 100644
index ce17112..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurvesProxy.cs
+++ /dev/null
@@ -1,302 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityObject = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class CurvesProxy : ICurvesOwner
- {
- public AnimationClip curves
- {
- get { return proxyCurves != null ? proxyCurves : m_OriginalOwner.curves; }
- }
-
- public bool hasCurves
- {
- get { return m_IsAnimatable || m_OriginalOwner.hasCurves; }
- }
-
- public double duration
- {
- get { return m_OriginalOwner.duration; }
- }
-
- public string defaultCurvesName
- {
- get { return m_OriginalOwner.defaultCurvesName; }
- }
-
- public UnityObject asset
- {
- get { return m_OriginalOwner.asset; }
- }
-
- public UnityObject assetOwner
- {
- get { return m_OriginalOwner.assetOwner; }
- }
-
- public TrackAsset targetTrack
- {
- get { return m_OriginalOwner.targetTrack; }
- }
-
- readonly ICurvesOwner m_OriginalOwner;
- readonly bool m_IsAnimatable;
- readonly Dictionary<EditorCurveBinding, SerializedProperty> m_PropertiesMap = new Dictionary<EditorCurveBinding, SerializedProperty>();
- int m_ProxyIsRebuilding = 0;
-
- AnimationClip m_ProxyCurves;
- AnimationClip proxyCurves
- {
- get
- {
- if (!m_IsAnimatable) return null;
-
- if (m_ProxyCurves == null)
- RebuildProxyCurves();
-
- return m_ProxyCurves;
- }
- }
-
- List<SerializedProperty> m_AllAnimatableParameters;
- List<SerializedProperty> allAnimatableParameters
- {
- get
- {
- var so = AnimatedParameterUtility.GetSerializedPlayableAsset(m_OriginalOwner.asset);
- if (so == null)
- return null;
-
- so.UpdateIfRequiredOrScript();
-
- if (m_AllAnimatableParameters == null)
- m_AllAnimatableParameters = m_OriginalOwner.GetAllAnimatableParameters().ToList();
-
- return m_AllAnimatableParameters;
- }
- }
-
- public CurvesProxy([NotNull] ICurvesOwner originalOwner)
- {
- m_OriginalOwner = originalOwner;
- m_IsAnimatable = originalOwner.HasAnyAnimatableParameters();
-
- RebuildProxyCurves();
- }
-
- public void CreateCurves(string curvesClipName)
- {
- m_OriginalOwner.CreateCurves(curvesClipName);
- }
-
- public void ConfigureCurveWrapper(CurveWrapper wrapper)
- {
- var color = CurveUtility.GetPropertyColor(wrapper.binding.propertyName);
- wrapper.color = color;
-
- float h, s, v;
- Color.RGBToHSV(color, out h, out s, out v);
- wrapper.wrapColorMultiplier = Color.HSVToRGB(h, s * 0.33f, v * 1.15f);
-
- var curve = AnimationUtility.GetEditorCurve(proxyCurves, wrapper.binding);
-
- wrapper.renderer = new NormalCurveRenderer(curve);
-
- // Use curve length instead of animation clip length
- wrapper.renderer.SetCustomRange(0.0f, curve.keys.Last().time);
- }
-
- public void RebuildCurves()
- {
- RebuildProxyCurves();
- }
-
- public void UpdateCurves(List<CurveWrapper> updatedCurves)
- {
- if (m_ProxyIsRebuilding > 0)
- return;
-
- Undo.RegisterCompleteObjectUndo(m_OriginalOwner.asset, "Edit Clip Curve");
-
- if (m_OriginalOwner.curves != null)
- Undo.RegisterCompleteObjectUndo(m_OriginalOwner.curves, "Edit Clip Curve");
-
- foreach (var curve in updatedCurves)
- {
- UpdateCurve(curve.binding, curve.curve);
- }
-
- AnimatedParameterUtility.UpdateSerializedPlayableAsset(m_OriginalOwner.asset);
- }
-
- void UpdateCurve(EditorCurveBinding binding, AnimationCurve curve)
- {
- ApplyConstraints(binding, curve);
-
- if (curve.length == 0)
- {
- HandleAllKeysDeleted(binding);
- }
- else if (curve.length == 1)
- {
- HandleConstantCurveValueChanged(binding, curve);
- }
- else
- {
- HandleCurveUpdated(binding, curve);
- }
- }
-
- void ApplyConstraints(EditorCurveBinding binding, AnimationCurve curve)
- {
- if (curve.length == 0)
- return;
-
- var curveUpdated = false;
-
- var property = m_PropertiesMap[binding];
- if (property.propertyType == SerializedPropertyType.Boolean)
- {
- TimelineAnimationUtilities.ConstrainCurveToBooleanValues(curve);
- curveUpdated = true;
- }
- else
- {
- var range = AnimatedParameterUtility.GetAttributeForProperty<RangeAttribute>(property);
- if (range != null)
- {
- TimelineAnimationUtilities.ConstrainCurveToRange(curve, range.min, range.max);
- curveUpdated = true;
- }
- }
-
- if (!curveUpdated)
- return;
-
- using (new RebuildGuard(this))
- {
- AnimationUtility.SetEditorCurve(m_ProxyCurves, binding, curve);
- }
- }
-
- void HandleCurveUpdated(EditorCurveBinding binding, AnimationCurve updatedCurve)
- {
- if (!m_OriginalOwner.hasCurves)
- m_OriginalOwner.CreateCurves(null);
-
- AnimationUtility.SetEditorCurve(m_OriginalOwner.curves, binding, updatedCurve);
- }
-
- void HandleConstantCurveValueChanged(EditorCurveBinding binding, AnimationCurve updatedCurve)
- {
- var prop = m_PropertiesMap[binding];
- if (prop == null)
- return;
-
- Undo.RegisterCompleteObjectUndo(prop.serializedObject.targetObject, "Edit Clip Curve");
- prop.serializedObject.UpdateIfRequiredOrScript();
- CurveEditUtility.SetFromKeyValue(prop, updatedCurve.keys[0].value);
- prop.serializedObject.ApplyModifiedProperties();
- }
-
- void HandleAllKeysDeleted(EditorCurveBinding binding)
- {
- if (m_OriginalOwner.hasCurves)
- {
- // Remove curve from original asset
- AnimationUtility.SetEditorCurve(m_OriginalOwner.curves, binding, null);
- m_OriginalOwner.SanitizeCurvesData();
- }
-
- // Ensure proxy still has constant value
- RebuildProxyCurves();
- }
-
- void RebuildProxyCurves()
- {
- if (!m_IsAnimatable)
- return;
-
- using (new RebuildGuard(this))
- {
- if (m_ProxyCurves == null)
- {
- m_ProxyCurves = new AnimationClip
- {
- legacy = true,
- name = "Constant Curves",
- hideFlags = HideFlags.HideAndDontSave,
- frameRate = m_OriginalOwner.targetTrack.timelineAsset == null
- ? TimelineAsset.EditorSettings.kDefaultFps
- : m_OriginalOwner.targetTrack.timelineAsset.editorSettings.fps
- };
- }
- else
- {
- m_ProxyCurves.ClearCurves();
- }
-
- m_OriginalOwner.SanitizeCurvesData();
- AnimatedParameterUtility.UpdateSerializedPlayableAsset(m_OriginalOwner.asset);
-
- foreach (var param in allAnimatableParameters)
- CreateProxyCurve(param, m_ProxyCurves, m_OriginalOwner.asset, param.propertyPath);
-
- AnimationClipCurveCache.Instance.GetCurveInfo(m_ProxyCurves).dirty = true;
- }
- }
-
- void CreateProxyCurve(SerializedProperty prop, AnimationClip clip, UnityObject owner, string propertyName)
- {
- var binding = AnimatedParameterUtility.GetCurveBinding(owner, propertyName);
-
- var originalCurve = m_OriginalOwner.hasCurves
- ? AnimationUtility.GetEditorCurve(m_OriginalOwner.curves, binding)
- : null;
-
- if (originalCurve != null)
- {
- AnimationUtility.SetEditorCurve(clip, binding, originalCurve);
- }
- else
- {
- var curve = new AnimationCurve();
-
- CurveEditUtility.AddKeyFrameToCurve(
- curve, 0.0f, clip.frameRate, CurveEditUtility.GetKeyValue(prop),
- prop.propertyType == SerializedPropertyType.Boolean);
-
- AnimationUtility.SetEditorCurve(clip, binding, curve);
- }
-
- m_PropertiesMap[binding] = prop;
- }
-
- struct RebuildGuard : IDisposable
- {
- CurvesProxy m_Owner;
- AnimationUtility.OnCurveWasModified m_Callback;
-
- public RebuildGuard(CurvesProxy owner)
- {
- m_Callback = AnimationUtility.onCurveWasModified;
- AnimationUtility.onCurveWasModified = null;
- m_Owner = owner;
- m_Owner.m_ProxyIsRebuilding++;
- }
-
- public void Dispose()
- {
- AnimationUtility.onCurveWasModified = m_Callback;
- m_Owner.m_ProxyIsRebuilding--;
- m_Owner = null;
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurvesProxy.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurvesProxy.cs.meta
deleted file mode 100644
index 18e3029..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/CurvesProxy.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d72ccd2c66ea846fc842adf682b11526
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/TimelineAnimationUtilities.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/TimelineAnimationUtilities.cs
deleted file mode 100644
index 60cf7cc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/TimelineAnimationUtilities.cs
+++ /dev/null
@@ -1,435 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEditor;
-using UnityEngineInternal;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class TimelineAnimationUtilities
- {
- public enum OffsetEditMode
- {
- None = -1,
- Translation = 0,
- Rotation = 1
- }
-
- public static bool ValidateOffsetAvailabitity(PlayableDirector director, Animator animator)
- {
- if (director == null || animator == null)
- return false;
-
- return true;
- }
-
- public static TimelineClip GetPreviousClip(TimelineClip clip)
- {
- TimelineClip previousClip = null;
- foreach (var c in clip.parentTrack.clips)
- {
- if (c.start < clip.start && (previousClip == null || c.start >= previousClip.start))
- previousClip = c;
- }
- return previousClip;
- }
-
- public static TimelineClip GetNextClip(TimelineClip clip)
- {
- return clip.parentTrack.clips.Where(c => c.start > clip.start).OrderBy(c => c.start).FirstOrDefault();
- }
-
- public struct RigidTransform
- {
- public Vector3 position;
- public Quaternion rotation;
-
- public static RigidTransform Compose(Vector3 pos, Quaternion rot)
- {
- RigidTransform ret;
- ret.position = pos;
- ret.rotation = rot;
- return ret;
- }
-
- public static RigidTransform Mul(RigidTransform a, RigidTransform b)
- {
- RigidTransform ret;
- ret.rotation = a.rotation * b.rotation;
- ret.position = a.position + a.rotation * b.position;
- return ret;
- }
-
- public static RigidTransform Inverse(RigidTransform a)
- {
- RigidTransform ret;
- ret.rotation = Quaternion.Inverse(a.rotation);
- ret.position = ret.rotation * (-a.position);
- return ret;
- }
-
- public static RigidTransform identity
- {
- get { return Compose(Vector3.zero, Quaternion.identity); }
- }
- }
-
-
- private static Matrix4x4 GetTrackMatrix(Transform transform, AnimationTrack track)
- {
- Matrix4x4 trackMatrix = Matrix4x4.TRS(track.position, track.rotation, Vector3.one);
-
- // in scene off mode, the track offsets are set to the preview position which is stored in the track
- if (track.trackOffset == TrackOffset.ApplySceneOffsets)
- {
- trackMatrix = Matrix4x4.TRS(track.sceneOffsetPosition, Quaternion.Euler(track.sceneOffsetRotation), Vector3.one);
- }
-
- // put the parent transform on to the track matrix
- if (transform.parent != null)
- {
- trackMatrix = transform.parent.localToWorldMatrix * trackMatrix;
- }
-
- return trackMatrix;
- }
-
- // Given a world space position and rotation, updates the clip offsets to match that
- public static RigidTransform UpdateClipOffsets(AnimationPlayableAsset asset, AnimationTrack track, Transform transform, Vector3 globalPosition, Quaternion globalRotation)
- {
- Matrix4x4 worldToLocal = transform.worldToLocalMatrix;
- Matrix4x4 clipMatrix = Matrix4x4.TRS(asset.position, asset.rotation, Vector3.one);
- Matrix4x4 trackMatrix = GetTrackMatrix(transform, track);
-
-
- // Use the transform to find the proper goal matrix with scale taken into account
- var oldPos = transform.position;
- var oldRot = transform.rotation;
- transform.position = globalPosition;
- transform.rotation = globalRotation;
- Matrix4x4 goal = transform.localToWorldMatrix;
- transform.position = oldPos;
- transform.rotation = oldRot;
-
- // compute the new clip matrix.
- Matrix4x4 newClip = trackMatrix.inverse * goal * worldToLocal * trackMatrix * clipMatrix;
- return RigidTransform.Compose(newClip.GetColumn(3), MathUtils.QuaternionFromMatrix(newClip));
- }
-
- public static RigidTransform GetTrackOffsets(AnimationTrack track, Transform transform)
- {
- Vector3 position = track.position;
- Quaternion rotation = track.rotation;
- if (transform != null && transform.parent != null)
- {
- position = transform.parent.TransformPoint(position);
- rotation = transform.parent.rotation * rotation;
- MathUtils.QuaternionNormalize(ref rotation);
- }
-
- return RigidTransform.Compose(position, rotation);
- }
-
- public static void UpdateTrackOffset(AnimationTrack track, Transform transform, RigidTransform offsets)
- {
- if (transform != null && transform.parent != null)
- {
- offsets.position = transform.parent.InverseTransformPoint(offsets.position);
- offsets.rotation = Quaternion.Inverse(transform.parent.rotation) * offsets.rotation;
- MathUtils.QuaternionNormalize(ref offsets.rotation);
- }
-
- track.position = offsets.position;
- track.eulerAngles = AnimationUtility.GetClosestEuler(offsets.rotation, track.eulerAngles, RotationOrder.OrderZXY);
- track.UpdateClipOffsets();
- }
-
- static MatchTargetFields GetMatchFields(TimelineClip clip)
- {
- var track = clip.parentTrack as AnimationTrack;
- if (track == null)
- return MatchTargetFieldConstants.None;
-
- var asset = clip.asset as AnimationPlayableAsset;
- var fields = track.matchTargetFields;
- if (asset != null && !asset.useTrackMatchFields)
- fields = asset.matchTargetFields;
- return fields;
- }
-
- static void WriteMatchFields(AnimationPlayableAsset asset, RigidTransform result, MatchTargetFields fields)
- {
- Vector3 position = asset.position;
-
- position.x = fields.HasAny(MatchTargetFields.PositionX) ? result.position.x : position.x;
- position.y = fields.HasAny(MatchTargetFields.PositionY) ? result.position.y : position.y;
- position.z = fields.HasAny(MatchTargetFields.PositionZ) ? result.position.z : position.z;
-
- asset.position = position;
-
- // check first to avoid unnecessary conversion errors
- if (fields.HasAny(MatchTargetFieldConstants.Rotation))
- {
- Vector3 eulers = asset.eulerAngles;
- Vector3 resultEulers = result.rotation.eulerAngles;
-
- eulers.x = fields.HasAny(MatchTargetFields.RotationX) ? resultEulers.x : eulers.x;
- eulers.y = fields.HasAny(MatchTargetFields.RotationY) ? resultEulers.y : eulers.y;
- eulers.z = fields.HasAny(MatchTargetFields.RotationZ) ? resultEulers.z : eulers.z;
-
- asset.eulerAngles = AnimationUtility.GetClosestEuler(Quaternion.Euler(eulers), asset.eulerAngles, RotationOrder.OrderZXY);
- }
- }
-
- public static void MatchPrevious(TimelineClip currentClip, Transform matchPoint, PlayableDirector director)
- {
- const double timeEpsilon = 0.00001;
- MatchTargetFields matchFields = GetMatchFields(currentClip);
- if (matchFields == MatchTargetFieldConstants.None || matchPoint == null)
- return;
-
- double cachedTime = director.time;
-
- // finds previous clip
- TimelineClip previousClip = GetPreviousClip(currentClip);
- if (previousClip == null || currentClip == previousClip)
- return;
-
- // make sure the transform is properly updated before modifying the graph
- director.Evaluate();
-
- var parentTrack = currentClip.parentTrack as AnimationTrack;
-
- var blendIn = currentClip.blendInDuration;
- currentClip.blendInDuration = 0;
- var blendOut = previousClip.blendOutDuration;
- previousClip.blendOutDuration = 0;
-
- //evaluate previous without current
- parentTrack.RemoveClip(currentClip);
- director.RebuildGraph();
- double previousEndTime = currentClip.start > previousClip.end ? previousClip.end : currentClip.start;
- director.time = previousEndTime - timeEpsilon;
- director.Evaluate(); // add port to evaluate only track
-
- var targetPosition = matchPoint.position;
- var targetRotation = matchPoint.rotation;
-
- // evaluate current without previous
- parentTrack.AddClip(currentClip);
- parentTrack.RemoveClip(previousClip);
- director.RebuildGraph();
- director.time = currentClip.start + timeEpsilon;
- director.Evaluate();
-
- //////////////////////////////////////////////////////////////////////
- //compute offsets
-
- var animationPlayable = currentClip.asset as AnimationPlayableAsset;
- var match = UpdateClipOffsets(animationPlayable, parentTrack, matchPoint, targetPosition, targetRotation);
- WriteMatchFields(animationPlayable, match, matchFields);
-
- //////////////////////////////////////////////////////////////////////
-
- currentClip.blendInDuration = blendIn;
- previousClip.blendOutDuration = blendOut;
-
- parentTrack.AddClip(previousClip);
- director.RebuildGraph();
- director.time = cachedTime;
- director.Evaluate();
- }
-
- public static void MatchNext(TimelineClip currentClip, Transform matchPoint, PlayableDirector director)
- {
- const double timeEpsilon = 0.00001;
- MatchTargetFields matchFields = GetMatchFields(currentClip);
- if (matchFields == MatchTargetFieldConstants.None || matchPoint == null)
- return;
-
- double cachedTime = director.time;
-
- // finds next clip
- TimelineClip nextClip = GetNextClip(currentClip);
- if (nextClip == null || currentClip == nextClip)
- return;
-
- // make sure the transform is properly updated before modifying the graph
- director.Evaluate();
-
- var parentTrack = currentClip.parentTrack as AnimationTrack;
-
- var blendOut = currentClip.blendOutDuration;
- var blendIn = nextClip.blendInDuration;
- currentClip.blendOutDuration = 0;
- nextClip.blendInDuration = 0;
-
- //evaluate previous without current
- parentTrack.RemoveClip(currentClip);
- director.RebuildGraph();
- director.time = nextClip.start + timeEpsilon;
- director.Evaluate(); // add port to evaluate only track
-
- var targetPosition = matchPoint.position;
- var targetRotation = matchPoint.rotation;
-
- // evaluate current without next
- parentTrack.AddClip(currentClip);
- parentTrack.RemoveClip(nextClip);
- director.RebuildGraph();
- director.time = Math.Min(nextClip.start, currentClip.end - timeEpsilon);
- director.Evaluate();
-
- //////////////////////////////////////////////////////////////////////
- //compute offsets
-
- var animationPlayable = currentClip.asset as AnimationPlayableAsset;
- var match = UpdateClipOffsets(animationPlayable, parentTrack, matchPoint, targetPosition, targetRotation);
- WriteMatchFields(animationPlayable, match, matchFields);
-
- //////////////////////////////////////////////////////////////////////
-
- currentClip.blendOutDuration = blendOut;
- nextClip.blendInDuration = blendIn;
-
- parentTrack.AddClip(nextClip);
- director.RebuildGraph();
- director.time = cachedTime;
- director.Evaluate();
- }
-
- public static TimelineWindowTimeControl CreateTimeController(WindowState state, TimelineClip clip)
- {
- var animationWindow = EditorWindow.GetWindow<AnimationWindow>();
- var timeController = ScriptableObject.CreateInstance<TimelineWindowTimeControl>();
- timeController.Init(animationWindow.state, clip);
- return timeController;
- }
-
- public static TimelineWindowTimeControl CreateTimeController(WindowState state, TimelineWindowTimeControl.ClipData clipData)
- {
- var animationWindow = EditorWindow.GetWindow<AnimationWindow>();
- var timeController = ScriptableObject.CreateInstance<TimelineWindowTimeControl>();
- timeController.Init(animationWindow.state, clipData);
- return timeController;
- }
-
- public static void EditAnimationClipWithTimeController(AnimationClip animationClip, TimelineWindowTimeControl timeController, Object sourceObject)
- {
- var animationWindow = EditorWindow.GetWindow<AnimationWindow>();
- animationWindow.EditSequencerClip(animationClip, sourceObject, timeController);
- }
-
- public static void UnlinkAnimationWindowFromTracks(IEnumerable<TrackAsset> tracks)
- {
- var clips = new List<AnimationClip>();
- foreach (var track in tracks)
- {
- var animationTrack = track as AnimationTrack;
- if (animationTrack != null && animationTrack.infiniteClip != null)
- clips.Add(animationTrack.infiniteClip);
-
- GetAnimationClips(track.GetClips(), clips);
- }
- UnlinkAnimationWindowFromAnimationClips(clips);
- }
-
- public static void UnlinkAnimationWindowFromClips(IEnumerable<TimelineClip> timelineClips)
- {
- var clips = new List<AnimationClip>();
- GetAnimationClips(timelineClips, clips);
- UnlinkAnimationWindowFromAnimationClips(clips);
- }
-
- public static void UnlinkAnimationWindowFromAnimationClips(ICollection<AnimationClip> clips)
- {
- if (clips.Count == 0)
- return;
-
- UnityEngine.Object[] windows = Resources.FindObjectsOfTypeAll(typeof(AnimationWindow));
- foreach (var animWindow in windows.OfType<AnimationWindow>())
- {
- if (animWindow != null && animWindow.state != null && animWindow.state.linkedWithSequencer && clips.Contains(animWindow.state.activeAnimationClip))
- animWindow.UnlinkSequencer();
- }
- }
-
- public static void UnlinkAnimationWindow()
- {
- UnityEngine.Object[] windows = Resources.FindObjectsOfTypeAll(typeof(AnimationWindow));
- foreach (var animWindow in windows.OfType<AnimationWindow>())
- {
- if (animWindow != null && animWindow.state != null && animWindow.state.linkedWithSequencer)
- animWindow.UnlinkSequencer();
- }
- }
-
- private static void GetAnimationClips(IEnumerable<TimelineClip> timelineClips, List<AnimationClip> clips)
- {
- foreach (var timelineClip in timelineClips)
- {
- if (timelineClip.curves != null)
- clips.Add(timelineClip.curves);
- AnimationPlayableAsset apa = timelineClip.asset as AnimationPlayableAsset;
- if (apa != null && apa.clip != null)
- clips.Add(apa.clip);
- }
- }
-
- public static int GetAnimationWindowCurrentFrame()
- {
- var animationWindow = EditorWindow.GetWindow<AnimationWindow>();
- if (animationWindow)
- return animationWindow.state.currentFrame;
- return -1;
- }
-
- public static void SetAnimationWindowCurrentFrame(int frame)
- {
- var animationWindow = EditorWindow.GetWindow<AnimationWindow>();
- if (animationWindow)
- animationWindow.state.currentFrame = frame;
- }
-
- public static void ConstrainCurveToBooleanValues(AnimationCurve curve)
- {
- // Clamp the values first
- var keys = curve.keys;
- for (var i = 0; i < keys.Length; i++)
- {
- var key = keys[i];
- key.value = key.value < 0.5f ? 0.0f : 1.0f;
- keys[i] = key;
- }
- curve.keys = keys;
-
- // Update the tangents once all the values are clamped
- for (var i = 0; i < curve.length; i++)
- {
- AnimationUtility.SetKeyLeftTangentMode(curve, i, AnimationUtility.TangentMode.Constant);
- AnimationUtility.SetKeyRightTangentMode(curve, i, AnimationUtility.TangentMode.Constant);
- }
- }
-
- public static void ConstrainCurveToRange(AnimationCurve curve, float minValue, float maxValue)
- {
- var keys = curve.keys;
- for (var i = 0; i < keys.Length; i++)
- {
- var key = keys[i];
- key.value = Mathf.Clamp(key.value, minValue, maxValue);
- keys[i] = key;
- }
- curve.keys = keys;
- }
-
- public static bool IsAnimationClip(TimelineClip clip)
- {
- return clip != null && (clip.asset as AnimationPlayableAsset) != null;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/TimelineAnimationUtilities.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/TimelineAnimationUtilities.cs.meta
deleted file mode 100644
index 78ae589..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Animation/TimelineAnimationUtilities.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9685354eb873b8d4699078b307b0f260
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes.meta
deleted file mode 100644
index ceac198..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 919d97c1a707113409177d498d31cf51
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ActiveInModeAttribute.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ActiveInModeAttribute.cs
deleted file mode 100644
index 3032bc5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ActiveInModeAttribute.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System;
-
-namespace UnityEditor.Timeline
-{
- [AttributeUsage(AttributeTargets.Class)]
- class ActiveInModeAttribute : Attribute
- {
- public TimelineModes modes { get; private set; }
- public ActiveInModeAttribute(TimelineModes timelineModes)
- {
- modes = timelineModes;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ActiveInModeAttribute.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ActiveInModeAttribute.cs.meta
deleted file mode 100644
index 63fafba..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ActiveInModeAttribute.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3a784fb721704576b3b4c3a7f3324264
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/MenuEntryAttribute.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/MenuEntryAttribute.cs
deleted file mode 100644
index 29623d2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/MenuEntryAttribute.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- /// <summary>
- /// Used to indicate path and priority of classes that are auto added to the menu
- /// </summary>
- [AttributeUsage(AttributeTargets.Class)]
- internal class MenuEntryAttribute : Attribute
- {
- public readonly int priority;
- public readonly string name;
- public readonly string subMenuPath;
-
- public MenuEntryAttribute(string path, int priority)
- {
- path = path ?? string.Empty;
- path = L10n.Tr(path);
- this.priority = priority;
-
- int index = path.LastIndexOf('/');
- if (index >= 0)
- {
- name = (index == path.Length - 1) ? string.Empty : path.Substring(index + 1);
- subMenuPath = path.Substring(0, index + 1);
- }
- else
- {
- name = path;
- subMenuPath = string.Empty;
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/MenuEntryAttribute.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/MenuEntryAttribute.cs.meta
deleted file mode 100644
index 39a11ce..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/MenuEntryAttribute.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e6870f707805737429a719f575621041
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ShortcutAttribute.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ShortcutAttribute.cs
deleted file mode 100644
index 756a092..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ShortcutAttribute.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-using System;
-using System.Linq;
-using UnityEditor.ShortcutManagement;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- [AttributeUsage(AttributeTargets.Class, Inherited = false)]
- class ShortcutAttribute : Attribute
- {
- readonly string m_Identifier;
- readonly string m_EventCommandName;
- readonly string m_MenuShortcut;
-
- public ShortcutAttribute(string identifier)
- {
- m_Identifier = identifier;
- m_EventCommandName = identifier;
- }
-
- public ShortcutAttribute(string identifier, string commandName)
- {
- m_Identifier = identifier;
- m_EventCommandName = commandName;
- }
-
- public ShortcutAttribute(KeyCode key, ShortcutModifiers modifiers = ShortcutModifiers.None)
- {
- m_MenuShortcut = new KeyCombination(key, modifiers).ToMenuShortcutString();
- }
-
- public string GetMenuShortcut()
- {
- if (m_MenuShortcut != null)
- return m_MenuShortcut;
-
- //find the mapped shortcut in the shortcut manager
- var shortcut = ShortcutIntegration.instance.directory.FindShortcutEntry(m_Identifier);
- if (shortcut != null && shortcut.combinations.Any())
- {
- return KeyCombination.SequenceToMenuString(shortcut.combinations);
- }
-
- return string.Empty;
- }
-
- public bool MatchesEvent(Event evt)
- {
- if (evt.type != EventType.ExecuteCommand)
- return false;
- return evt.commandName == m_EventCommandName;
- }
- }
-
- [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
- class ShortcutPlatformOverrideAttribute : ShortcutAttribute
- {
- RuntimePlatform platform { get; }
-
- public ShortcutPlatformOverrideAttribute(RuntimePlatform platform, KeyCode key, ShortcutModifiers modifiers = ShortcutModifiers.None)
- : base(key, modifiers)
- {
- this.platform = platform;
- }
-
- public bool MatchesCurrentPlatform()
- {
- return Application.platform == platform;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ShortcutAttribute.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ShortcutAttribute.cs.meta
deleted file mode 100644
index 2d02db9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Attributes/ShortcutAttribute.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c50a694a8232898498c1cdd47ce9873f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio.meta
deleted file mode 100644
index 0313c34..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: e091bb444874ef244b1ba4a813fc1e34
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioClipPropertiesDrawer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioClipPropertiesDrawer.cs
deleted file mode 100644
index e3ec132..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioClipPropertiesDrawer.cs
+++ /dev/null
@@ -1,81 +0,0 @@
-using System;
-using System.Globalization;
-using System.Linq;
-using System.Text;
-using JetBrains.Annotations;
-using UnityEditor;
-using UnityEditor.Timeline;
-
-namespace UnityEngine.Timeline
-{
- [CustomPropertyDrawer(typeof(AudioClipProperties))]
- class AudioClipPropertiesDrawer : PropertyDrawer
- {
- [UsedImplicitly] // Also used by tests
- internal static class Styles
- {
- public const string VolumeControl = "AudioClipPropertiesDrawer.volume";
-
- const string k_Indent = " ";
- public const string valuesFormatter = "0.###";
- public static string mixedPropertiesInfo = L10n.Tr("The final {3} is {0}\n" +
- "Calculated from:\n" +
- k_Indent + "Clip: {1}\n" +
- k_Indent + "Track: {2}");
-
- public static string audioSourceContribution = L10n.Tr(k_Indent + "AudioSource: {0}");
- }
-
- static StringBuilder s_MixInfoBuilder = new StringBuilder();
-
- public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
- {
- var volumeProp = property.FindPropertyRelative("volume");
-
- GUI.SetNextControlName(Styles.VolumeControl);
- EditorGUI.Slider(position, volumeProp, 0.0f, 1.0f, AudioSourceInspector.Styles.volumeLabel);
-
- if (TimelineEditor.inspectedDirector == null)
- // Nothing more to do in asset mode
- return;
-
- var clip = SelectionManager.SelectedClips().FirstOrDefault(c => c.asset == property.serializedObject.targetObject);
-
- if (clip == null || clip.parentTrack == null)
- return;
-
- var clipVolume = volumeProp.floatValue;
- var trackVolume = new SerializedObject(clip.parentTrack).FindProperty("m_TrackProperties.volume").floatValue;
- var binding = TimelineEditor.inspectedDirector.GetGenericBinding(clip.parentTrack) as AudioSource;
-
- if (Math.Abs(clipVolume) < float.Epsilon &&
- Math.Abs(trackVolume) < float.Epsilon &&
- (binding == null || Math.Abs(binding.volume) < float.Epsilon))
- return;
-
- if (Math.Abs(clipVolume - 1) < float.Epsilon &&
- Math.Abs(trackVolume - 1) < float.Epsilon &&
- (binding == null || Math.Abs(binding.volume - 1) < float.Epsilon))
- return;
-
- s_MixInfoBuilder.Length = 0;
-
- var audioSourceVolume = binding == null ? 1.0f : binding.volume;
-
- s_MixInfoBuilder.AppendFormat(
- Styles.mixedPropertiesInfo,
- (clipVolume * trackVolume * audioSourceVolume).ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- clipVolume.ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- trackVolume.ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- AudioSourceInspector.Styles.volumeLabel.text);
-
- if (binding != null)
- s_MixInfoBuilder.Append("\n")
- .AppendFormat(Styles.audioSourceContribution,
- audioSourceVolume.ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture));
-
- EditorGUILayout.Space();
- EditorGUILayout.HelpBox(new GUIContent(s_MixInfoBuilder.ToString()));
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioClipPropertiesDrawer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioClipPropertiesDrawer.cs.meta
deleted file mode 100644
index 60501c3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioClipPropertiesDrawer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5b6cac4a98010394791c66942a33caf4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetEditor.cs
deleted file mode 100644
index 553c4d8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetEditor.cs
+++ /dev/null
@@ -1,84 +0,0 @@
-using System.Collections.Generic;
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomTimelineEditor(typeof(AudioPlayableAsset)), UsedImplicitly]
- class AudioPlayableAssetEditor : ClipEditor
- {
- readonly string k_NoClipAssignedError = LocalizationDatabase.GetLocalizedString("No audio clip assigned");
- readonly Dictionary<TimelineClip, WaveformPreview> m_PersistentPreviews = new Dictionary<TimelineClip, WaveformPreview>();
- ColorSpace m_ColorSpace = ColorSpace.Uninitialized;
-
- /// <inheritdoc/>
- public override ClipDrawOptions GetClipOptions(TimelineClip clip)
- {
- var clipOptions = base.GetClipOptions(clip);
- var audioAsset = clip.asset as AudioPlayableAsset;
- if (audioAsset != null && audioAsset.clip == null)
- clipOptions.errorText = k_NoClipAssignedError;
- return clipOptions;
- }
-
- /// <inheritdoc/>
- public override void DrawBackground(TimelineClip clip, ClipBackgroundRegion region)
- {
- if (!TimelineWindow.instance.state.showAudioWaveform)
- return;
-
- var rect = region.position;
- if (rect.width <= 0)
- return;
-
- var audioClip = clip.asset as AudioClip;
- if (audioClip == null)
- {
- var audioPlayableAsset = clip.asset as AudioPlayableAsset;
- if (audioPlayableAsset != null)
- audioClip = audioPlayableAsset.clip;
- }
-
- if (audioClip == null)
- return;
-
- var quantizedRect = new Rect(Mathf.Ceil(rect.x), Mathf.Ceil(rect.y), Mathf.Ceil(rect.width), Mathf.Ceil(rect.height));
- WaveformPreview preview;
-
- if (QualitySettings.activeColorSpace != m_ColorSpace)
- {
- m_ColorSpace = QualitySettings.activeColorSpace;
- m_PersistentPreviews.Clear();
- }
-
- if (!m_PersistentPreviews.TryGetValue(clip, out preview) || audioClip != preview.presentedObject)
- {
- preview = m_PersistentPreviews[clip] = WaveformPreviewFactory.Create((int)quantizedRect.width, audioClip);
- Color waveColour = GammaCorrect(DirectorStyles.Instance.customSkin.colorAudioWaveform);
- Color transparent = waveColour;
- transparent.a = 0;
- preview.backgroundColor = transparent;
- preview.waveColor = waveColour;
- preview.SetChannelMode(WaveformPreview.ChannelMode.MonoSum);
- preview.updated += () => TimelineEditor.Refresh(RefreshReason.WindowNeedsRedraw);
- }
-
- preview.looping = clip.SupportsLooping();
- preview.SetTimeInfo(region.startTime, region.endTime - region.startTime);
- preview.OptimizeForSize(quantizedRect.size);
-
- if (Event.current.type == EventType.Repaint)
- {
- preview.ApplyModifications();
- preview.Render(quantizedRect);
- }
- }
-
- static Color GammaCorrect(Color color)
- {
- return (QualitySettings.activeColorSpace == ColorSpace.Linear) ? color.gamma : color;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetEditor.cs.meta
deleted file mode 100644
index e9bee5a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 74374298effb78d47b85450f7f724cef
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetInspector.cs
deleted file mode 100644
index 31897fc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetInspector.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using UnityEditor;
-using UnityEditor.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEngine.Timeline
-{
- [CustomEditor(typeof(AudioPlayableAsset))]
- class AudioPlayableAssetInspector : BasicAssetInspector
- {
- public override void ApplyChanges()
- {
- // At this point, we are guaranteed that the Timeline window is focused on
- // the correct asset and that a single clip is selected (see ClipInspector)
-
- if (TimelineEditor.inspectedDirector == null)
- // Do nothing if in asset mode
- return;
-
- var asset = (AudioPlayableAsset)target;
-
- if (TimelineEditor.inspectedDirector.state == PlayState.Playing)
- asset.LiveLink();
- else
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetInspector.cs.meta
deleted file mode 100644
index b768ab9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioPlayableAssetInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 23884ce4c1de32846adafea2d53a4cee
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioTrackInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioTrackInspector.cs
deleted file mode 100644
index 0c1a110..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioTrackInspector.cs
+++ /dev/null
@@ -1,164 +0,0 @@
-using System;
-using System.Globalization;
-using System.Linq;
-using System.Text;
-using JetBrains.Annotations;
-using UnityEditor;
-using UnityEditor.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEngine.Timeline
-{
- [CustomEditor(typeof(AudioTrack))]
- [CanEditMultipleObjects]
- class AudioTrackInspector : TrackAssetInspector
- {
- [UsedImplicitly] // Also used by tests
- internal static class Styles
- {
- public const string VolumeControl = "AudioTrackInspector.volume";
- public const string StereoPanControl = "AudioTrackInspector.stereoPan";
- public const string SpatialBlendControl = "AudioTrackInspector.spatialBlend";
-
- const string k_Indent = " ";
- public const string valuesFormatter = "0.###";
- public const string mixInfoSectionSeparator = "\n\n";
- public static string mixedPropertiesInfo = L10n.Tr("The final {3} is {0}\n" +
- "Calculated from:\n" +
- k_Indent + "Track: {1}\n" +
- k_Indent + "AudioSource: {2}");
- }
-
- static StringBuilder s_MixInfoBuilder = new StringBuilder();
-
- SerializedProperty m_VolumeProperty;
- SerializedProperty m_StereoPanProperty;
- SerializedProperty m_SpatialBlendProperty;
- PlayableDirector m_Director;
-
- public override void OnEnable()
- {
- base.OnEnable();
-
- if (((AudioTrack)target).timelineAsset == TimelineEditor.inspectedAsset)
- m_Director = TimelineEditor.inspectedDirector;
-
- m_VolumeProperty = serializedObject.FindProperty("m_TrackProperties.volume");
- m_StereoPanProperty = serializedObject.FindProperty("m_TrackProperties.stereoPan");
- m_SpatialBlendProperty = serializedObject.FindProperty("m_TrackProperties.spatialBlend");
- }
-
- protected override void DrawTrackProperties()
- {
- // Volume
- GUI.SetNextControlName(Styles.VolumeControl);
- EditorGUILayout.Slider(m_VolumeProperty, 0.0f, 1.0f, AudioSourceInspector.Styles.volumeLabel);
- EditorGUILayout.Space();
-
- // Stereo Pan
- GUI.SetNextControlName(Styles.StereoPanControl);
- EditorGUIUtility.sliderLabels.SetLabels(AudioSourceInspector.Styles.panLeftLabel, AudioSourceInspector.Styles.panRightLabel);
- EditorGUILayout.Slider(m_StereoPanProperty, -1.0f, 1.0f, AudioSourceInspector.Styles.panStereoLabel);
- EditorGUIUtility.sliderLabels.SetLabels(null, null);
- EditorGUILayout.Space();
-
- // Spatial Blend
- using (new EditorGUI.DisabledScope(ShouldDisableSpatialBlend()))
- {
- GUI.SetNextControlName(Styles.SpatialBlendControl);
- EditorGUIUtility.sliderLabels.SetLabels(AudioSourceInspector.Styles.spatialLeftLabel, AudioSourceInspector.Styles.spatialRightLabel);
- EditorGUILayout.Slider(m_SpatialBlendProperty, 0.0f, 1.0f, AudioSourceInspector.Styles.spatialBlendLabel);
- EditorGUIUtility.sliderLabels.SetLabels(null, null);
- }
-
- DrawMixInfoSection();
- }
-
- void DrawMixInfoSection()
- {
- if (m_Director == null || targets.Length > 1)
- return;
-
- var binding = m_Director.GetGenericBinding(target) as AudioSource;
- if (binding == null)
- return;
-
- var audioSourceVolume = binding.volume;
- var audioSourcePan = binding.panStereo;
- var audioSourceBlend = binding.spatialBlend;
-
- var trackVolume = m_VolumeProperty.floatValue;
- var trackPan = m_StereoPanProperty.floatValue;
- var trackBlend = m_SpatialBlendProperty.floatValue;
-
- // Skip sections when result is obvious
-
- var skipVolumeInfo = Math.Abs(audioSourceVolume) < float.Epsilon && Math.Abs(trackVolume) < float.Epsilon || // All muted
- Math.Abs(audioSourceVolume - 1) < float.Epsilon && Math.Abs(trackVolume - 1) < float.Epsilon; // All max volume
-
- var skipPanInfo = Math.Abs(audioSourcePan) < float.Epsilon && Math.Abs(trackPan) < float.Epsilon || // All centered
- Math.Abs(audioSourcePan - 1) < float.Epsilon && Math.Abs(trackPan - 1) < float.Epsilon || // All right
- Math.Abs(audioSourcePan - (-1.0f)) < float.Epsilon && Math.Abs(trackPan - (-1.0f)) < float.Epsilon; // All left
-
- var skipBlendInfo = Math.Abs(audioSourceBlend) < float.Epsilon && Math.Abs(trackBlend) < float.Epsilon || // All 2D
- Math.Abs(audioSourceBlend - 1) < float.Epsilon && Math.Abs(trackBlend - 1) < float.Epsilon; // All 3D
-
- if (skipVolumeInfo && skipPanInfo && skipBlendInfo)
- return;
-
- s_MixInfoBuilder.Length = 0;
-
- if (!skipVolumeInfo)
- s_MixInfoBuilder.AppendFormat(
- Styles.mixedPropertiesInfo,
- (audioSourceVolume * trackVolume).ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- trackVolume.ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- audioSourceVolume.ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- AudioSourceInspector.Styles.volumeLabel.text);
-
- if (!skipVolumeInfo && !skipPanInfo)
- s_MixInfoBuilder.Append(Styles.mixInfoSectionSeparator);
-
- if (!skipPanInfo)
- s_MixInfoBuilder.AppendFormat(
- Styles.mixedPropertiesInfo,
- Mathf.Clamp(audioSourcePan + trackPan, -1.0f, 1.0f).ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- trackPan.ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- audioSourcePan.ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- AudioSourceInspector.Styles.panStereoLabel.text);
-
- if ((!skipVolumeInfo || !skipPanInfo) && !skipBlendInfo)
- s_MixInfoBuilder.Append(Styles.mixInfoSectionSeparator);
-
- if (!skipBlendInfo)
- s_MixInfoBuilder.AppendFormat(
- Styles.mixedPropertiesInfo,
- Mathf.Clamp01(audioSourceBlend + trackBlend).ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- trackBlend.ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- audioSourceBlend.ToString(Styles.valuesFormatter, CultureInfo.InvariantCulture),
- AudioSourceInspector.Styles.spatialBlendLabel.text);
-
- EditorGUILayout.Space();
- EditorGUILayout.HelpBox(new GUIContent(s_MixInfoBuilder.ToString()));
- }
-
- protected override void ApplyChanges()
- {
- var track = (AudioTrack)target;
-
- if (TimelineEditor.inspectedAsset != track.timelineAsset || TimelineEditor.inspectedDirector == null)
- return;
-
- if (TimelineEditor.inspectedDirector.state == PlayState.Playing)
- track.LiveLink();
- else
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
-
- bool ShouldDisableSpatialBlend()
- {
- return m_Director == null ||
- targets.Any(selectedTrack => m_Director.GetGenericBinding(selectedTrack) == null);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioTrackInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioTrackInspector.cs.meta
deleted file mode 100644
index 4d4bc76..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Audio/AudioTrackInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 57acdaad593b8d143b8fb5052a09d7d0
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack.meta
deleted file mode 100644
index 5489b64..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 7a24ec4b5c3e08e47bf50c8298c1fe0d
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack/ControlPlayableAssetEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack/ControlPlayableAssetEditor.cs
deleted file mode 100644
index 066e943..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack/ControlPlayableAssetEditor.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- [CustomTimelineEditor(typeof(ControlPlayableAsset))]
- class ControlPlayableAssetEditor : ClipEditor
- {
- static readonly Texture2D[] s_ParticleSystemIcon = {AssetPreview.GetMiniTypeThumbnail(typeof(ParticleSystem))};
-
- public override ClipDrawOptions GetClipOptions(TimelineClip clip)
- {
- var asset = (ControlPlayableAsset)clip.asset;
- var options = base.GetClipOptions(clip);
- if (asset.updateParticle && TimelineEditor.inspectedDirector != null && asset.controllingParticles)
- options.icons = s_ParticleSystemIcon;
- return options;
- }
-
- public override void OnCreate(TimelineClip clip, TrackAsset track, TimelineClip clonedFrom)
- {
- var asset = (ControlPlayableAsset)clip.asset;
- GameObject sourceObject = null;
-
- // go by sourceObject first, then by prefab
- if (TimelineEditor.inspectedDirector != null)
- sourceObject = asset.sourceGameObject.Resolve(TimelineEditor.inspectedDirector);
-
- if (sourceObject == null && asset.prefabGameObject != null)
- sourceObject = asset.prefabGameObject;
-
- if (sourceObject)
- {
- var directors = asset.GetComponent<PlayableDirector>(sourceObject);
- var particleSystems = asset.GetComponent<ParticleSystem>(sourceObject);
-
- // update the duration and loop values (used for UI purposes) here
- // so they are tied to the latest gameObject bound
- asset.UpdateDurationAndLoopFlag(directors, particleSystems);
-
- clip.displayName = sourceObject.name;
- }
- }
-
- public override void GetSubTimelines(TimelineClip clip, PlayableDirector director, List<PlayableDirector> subTimelines)
- {
- var asset = (ControlPlayableAsset)clip.asset;
-
- // If there is a prefab, it will override the source GameObject
- if (!asset.updateDirector || asset.prefabGameObject != null || director == null)
- return;
-
- var go = asset.sourceGameObject.Resolve(director);
- if (go == null)
- return;
-
- foreach (var subTimeline in asset.GetComponent<PlayableDirector>(go))
- {
- if (subTimeline == director || subTimeline == TimelineEditor.masterDirector || subTimeline == TimelineEditor.inspectedDirector)
- continue;
-
- if (subTimeline.playableAsset is TimelineAsset)
- subTimelines.Add(subTimeline);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack/ControlPlayableAssetEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack/ControlPlayableAssetEditor.cs.meta
deleted file mode 100644
index ece3e1f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/ControlTrack/ControlPlayableAssetEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b5489bb3cd68836439785588fffc67a4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CurveEditUtility.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CurveEditUtility.cs
deleted file mode 100644
index 0a4321e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CurveEditUtility.cs
+++ /dev/null
@@ -1,657 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditorInternal;
-using UnityEngine;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- // Utility class for editing animation clips from serialized properties
- static class CurveEditUtility
- {
- static bool IsRotationKey(EditorCurveBinding binding)
- {
- return binding.propertyName.Contains("localEulerAnglesRaw");
- }
-
- public static void AddKey(AnimationClip clip, EditorCurveBinding sourceBinding, SerializedProperty prop, double time)
- {
- if (sourceBinding.isPPtrCurve)
- {
- AddObjectKey(clip, sourceBinding, prop, time);
- }
- else if (IsRotationKey(sourceBinding))
- {
- AddRotationKey(clip, sourceBinding, prop, time);
- }
- else
- {
- AddFloatKey(clip, sourceBinding, prop, time);
- }
- }
-
- static void AddObjectKey(AnimationClip clip, EditorCurveBinding sourceBinding, SerializedProperty prop, double time)
- {
- if (prop.propertyType != SerializedPropertyType.ObjectReference)
- return;
-
- ObjectReferenceKeyframe[] curve = null;
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(clip);
- var curveIndex = Array.IndexOf(info.objectBindings, sourceBinding);
- if (curveIndex >= 0)
- {
- curve = info.objectCurves[curveIndex];
-
- // where in the array does the evaluation land?
- var evalIndex = EvaluateIndex(curve, (float)time);
-
- if (KeyCompare(curve[evalIndex].time, (float)time, clip.frameRate) == 0)
- {
- curve[evalIndex].value = prop.objectReferenceValue;
- }
- // check the next key (always return the minimum value)
- else if (evalIndex < curve.Length - 1 && KeyCompare(curve[evalIndex + 1].time, (float)time, clip.frameRate) == 0)
- {
- curve[evalIndex + 1].value = prop.objectReferenceValue;
- }
- // resize the array
- else
- {
- if (time > curve[0].time)
- evalIndex++;
- var key = new ObjectReferenceKeyframe();
- key.time = (float)time;
- key.value = prop.objectReferenceValue;
- ArrayUtility.Insert(ref curve, evalIndex, key);
- }
- }
- else // curve doesn't exist, add it
- {
- curve = new ObjectReferenceKeyframe[1];
- curve[0].time = (float)time;
- curve[0].value = prop.objectReferenceValue;
- }
-
- AnimationUtility.SetObjectReferenceCurve(clip, sourceBinding, curve);
- EditorUtility.SetDirty(clip);
- }
-
- static void AddRotationKey(AnimationClip clip, EditorCurveBinding sourceBind, SerializedProperty prop, double time)
- {
- if (prop.propertyType != SerializedPropertyType.Quaternion)
- {
- return;
- }
-
- var updateCurves = new List<AnimationCurve>();
- var updateBindings = new List<EditorCurveBinding>();
-
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(clip);
- for (var i = 0; i < info.bindings.Length; i++)
- {
- if (sourceBind.type != info.bindings[i].type)
- continue;
-
- if (info.bindings[i].propertyName.Contains("localEuler"))
- {
- updateBindings.Add(info.bindings[i]);
- updateCurves.Add(info.curves[i]);
- }
- }
-
- // use this instead of serialized properties because the editor will attempt to maintain
- // correct localeulers
- var eulers = ((Transform)prop.serializedObject.targetObject).localEulerAngles;
- if (updateBindings.Count == 0)
- {
- var propName = AnimationWindowUtility.GetPropertyGroupName(sourceBind.propertyName);
- updateBindings.Add(EditorCurveBinding.FloatCurve(sourceBind.path, sourceBind.type, propName + ".x"));
- updateBindings.Add(EditorCurveBinding.FloatCurve(sourceBind.path, sourceBind.type, propName + ".y"));
- updateBindings.Add(EditorCurveBinding.FloatCurve(sourceBind.path, sourceBind.type, propName + ".z"));
-
- var curveX = new AnimationCurve();
- var curveY = new AnimationCurve();
- var curveZ = new AnimationCurve();
- AddKeyFrameToCurve(curveX, (float)time, clip.frameRate, eulers.x, false);
- AddKeyFrameToCurve(curveY, (float)time, clip.frameRate, eulers.y, false);
- AddKeyFrameToCurve(curveZ, (float)time, clip.frameRate, eulers.z, false);
-
- updateCurves.Add(curveX);
- updateCurves.Add(curveY);
- updateCurves.Add(curveZ);
- }
-
- for (var i = 0; i < updateBindings.Count; i++)
- {
- var c = updateBindings[i].propertyName.Last();
- var value = eulers.x;
- if (c == 'y') value = eulers.y;
- else if (c == 'z') value = eulers.z;
- AddKeyFrameToCurve(updateCurves[i], (float)time, clip.frameRate, value, false);
- }
-
- UpdateEditorCurves(clip, updateBindings, updateCurves);
- }
-
- // Add a floating point curve key
- static void AddFloatKey(AnimationClip clip, EditorCurveBinding sourceBind, SerializedProperty prop, double time)
- {
- var updateCurves = new List<AnimationCurve>();
- var updateBindings = new List<EditorCurveBinding>();
-
- var updated = false;
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(clip);
- for (var i = 0; i < info.bindings.Length; i++)
- {
- var binding = info.bindings[i];
- if (binding.type != sourceBind.type)
- continue;
-
- SerializedProperty valProp = null;
- var curve = info.curves[i];
-
- // perfect match on property path, editting a float
- if (prop.propertyPath.Equals(binding.propertyName))
- {
- valProp = prop;
- }
- // this is a child object
- else if (binding.propertyName.Contains(prop.propertyPath))
- {
- valProp = prop.serializedObject.FindProperty(binding.propertyName);
- }
-
- if (valProp != null)
- {
- var value = GetKeyValue(valProp);
- if (!float.IsNaN(value)) // Nan indicates an error retrieving the property value
- {
- updated = true;
- AddKeyFrameToCurve(curve, (float)time, clip.frameRate, value, valProp.propertyType == SerializedPropertyType.Boolean);
- updateCurves.Add(curve);
- updateBindings.Add(binding);
- }
- }
- }
-
- // Curves don't exist, add them
- if (!updated)
- {
- var propName = AnimationWindowUtility.GetPropertyGroupName(sourceBind.propertyName);
- if (!prop.hasChildren)
- {
- var value = GetKeyValue(prop);
- if (!float.IsNaN(value))
- {
- updateBindings.Add(EditorCurveBinding.FloatCurve(sourceBind.path, sourceBind.type, sourceBind.propertyName));
- var curve = new AnimationCurve();
- AddKeyFrameToCurve(curve, (float)time, clip.frameRate, value, prop.propertyType == SerializedPropertyType.Boolean);
- updateCurves.Add(curve);
- }
- }
- else
- {
- // special case because subproperties on color aren't 'visible' so you can't iterate over them
- if (prop.propertyType == SerializedPropertyType.Color)
- {
- updateBindings.Add(EditorCurveBinding.FloatCurve(sourceBind.path, sourceBind.type, propName + ".r"));
- updateBindings.Add(EditorCurveBinding.FloatCurve(sourceBind.path, sourceBind.type, propName + ".g"));
- updateBindings.Add(EditorCurveBinding.FloatCurve(sourceBind.path, sourceBind.type, propName + ".b"));
- updateBindings.Add(EditorCurveBinding.FloatCurve(sourceBind.path, sourceBind.type, propName + ".a"));
-
- var c = prop.colorValue;
- for (var i = 0; i < 4; i++)
- {
- var curve = new AnimationCurve();
- AddKeyFrameToCurve(curve, (float)time, clip.frameRate, c[i], prop.propertyType == SerializedPropertyType.Boolean);
- updateCurves.Add(curve);
- }
- }
- else
- {
- prop = prop.Copy();
- foreach (SerializedProperty cp in prop)
- {
- updateBindings.Add(EditorCurveBinding.FloatCurve(sourceBind.path, sourceBind.type, cp.propertyPath));
- var curve = new AnimationCurve();
- AddKeyFrameToCurve(curve, (float)time, clip.frameRate, GetKeyValue(cp), cp.propertyType == SerializedPropertyType.Boolean);
- updateCurves.Add(curve);
- }
- }
- }
- }
-
- UpdateEditorCurves(clip, updateBindings, updateCurves);
- }
-
- public static void RemoveKey(AnimationClip clip, EditorCurveBinding sourceBinding, SerializedProperty prop, double time)
- {
- if (sourceBinding.isPPtrCurve)
- {
- RemoveObjectKey(clip, sourceBinding, time);
- }
- else if (IsRotationKey(sourceBinding))
- {
- RemoveRotationKey(clip, sourceBinding, prop, time);
- }
- else
- {
- RemoveFloatKey(clip, sourceBinding, prop, time);
- }
- }
-
- public static void RemoveObjectKey(AnimationClip clip, EditorCurveBinding sourceBinding, double time)
- {
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(clip);
- var curveIndex = Array.IndexOf(info.objectBindings, sourceBinding);
- if (curveIndex >= 0)
- {
- var curve = info.objectCurves[curveIndex];
- var evalIndex = GetKeyframeAtTime(curve, (float)time, clip.frameRate);
- if (evalIndex >= 0)
- {
- ArrayUtility.RemoveAt(ref curve, evalIndex);
- AnimationUtility.SetObjectReferenceCurve(clip, sourceBinding, curve.Length == 0 ? null : curve);
- EditorUtility.SetDirty(clip);
- }
- }
- }
-
- public static int GetObjectKeyCount(AnimationClip clip, EditorCurveBinding sourceBinding)
- {
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(clip);
- var curveIndex = Array.IndexOf(info.objectBindings, sourceBinding);
- if (curveIndex >= 0)
- {
- var curve = info.objectCurves[curveIndex];
- return curve.Length;
- }
-
- return 0;
- }
-
- static void RemoveRotationKey(AnimationClip clip, EditorCurveBinding sourceBind, SerializedProperty prop, double time)
- {
- if (prop.propertyType != SerializedPropertyType.Quaternion)
- {
- return;
- }
-
- var updateCurves = new List<AnimationCurve>();
- var updateBindings = new List<EditorCurveBinding>();
-
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(clip);
- for (var i = 0; i < info.bindings.Length; i++)
- {
- if (sourceBind.type != info.bindings[i].type)
- continue;
-
- if (info.bindings[i].propertyName.Contains("localEuler"))
- {
- updateBindings.Add(info.bindings[i]);
- updateCurves.Add(info.curves[i]);
- }
- }
-
- foreach (var c in updateCurves)
- {
- RemoveKeyFrameFromCurve(c, (float)time, clip.frameRate);
- }
-
- UpdateEditorCurves(clip, updateBindings, updateCurves);
- }
-
- // Removes the float keys from curves
- static void RemoveFloatKey(AnimationClip clip, EditorCurveBinding sourceBind, SerializedProperty prop, double time)
- {
- var updateCurves = new List<AnimationCurve>();
- var updateBindings = new List<EditorCurveBinding>();
-
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(clip);
- for (var i = 0; i < info.bindings.Length; i++)
- {
- var binding = info.bindings[i];
- if (binding.type != sourceBind.type)
- continue;
-
- SerializedProperty valProp = null;
- var curve = info.curves[i];
-
- // perfect match on property path, editting a float
- if (prop.propertyPath.Equals(binding.propertyName))
- {
- valProp = prop;
- }
- // this is a child object
- else if (binding.propertyName.Contains(prop.propertyPath))
- {
- valProp = prop.serializedObject.FindProperty(binding.propertyName);
- }
- if (valProp != null)
- {
- RemoveKeyFrameFromCurve(curve, (float)time, clip.frameRate);
- updateCurves.Add(curve);
- updateBindings.Add(binding);
- }
- }
-
- // update the curve. Do this last to not mess with the curve caches we are iterating over
- UpdateEditorCurves(clip, updateBindings, updateCurves);
- }
-
- static void UpdateEditorCurve(AnimationClip clip, EditorCurveBinding binding, AnimationCurve curve)
- {
- if (curve.keys.Length == 0)
- AnimationUtility.SetEditorCurve(clip, binding, null);
- else
- AnimationUtility.SetEditorCurve(clip, binding, curve);
- }
-
- static void UpdateEditorCurves(AnimationClip clip, List<EditorCurveBinding> bindings, List<AnimationCurve> curves)
- {
- if (curves.Count == 0)
- return;
-
- for (var i = 0; i < curves.Count; i++)
- {
- UpdateEditorCurve(clip, bindings[i], curves[i]);
- }
- EditorUtility.SetDirty(clip);
- }
-
- public static void RemoveCurves(AnimationClip clip, SerializedProperty prop)
- {
- if (clip == null || prop == null)
- return;
-
- var toRemove = new List<EditorCurveBinding>();
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(clip);
- for (var i = 0; i < info.bindings.Length; i++)
- {
- var binding = info.bindings[i];
-
- // check if we match directly, or with a child object
- if (prop.propertyPath.Equals(binding.propertyName) || binding.propertyName.Contains(prop.propertyPath))
- {
- toRemove.Add(binding);
- }
- }
- for (int i = 0; i < toRemove.Count; i++)
- {
- AnimationUtility.SetEditorCurve(clip, toRemove[i], null);
- }
- }
-
- // adds a stepped key frame to the given curve
- public static void AddKeyFrameToCurve(AnimationCurve curve, float time, float framerate, float value, bool stepped)
- {
- var key = new Keyframe();
-
- bool add = true;
- var keyIndex = GetKeyframeAtTime(curve, time, framerate);
- if (keyIndex != -1)
- {
- add = false;
- key = curve[keyIndex]; // retain the tangents and mode
- curve.RemoveKey(keyIndex);
- }
-
- key.value = value;
- key.time = GetKeyTime(time, framerate);
- keyIndex = curve.AddKey(key);
-
- if (stepped)
- {
- AnimationUtility.SetKeyBroken(curve, keyIndex, stepped);
- AnimationUtility.SetKeyLeftTangentMode(curve, keyIndex, AnimationUtility.TangentMode.Constant);
- AnimationUtility.SetKeyRightTangentMode(curve, keyIndex, AnimationUtility.TangentMode.Constant);
- key.outTangent = Mathf.Infinity;
- key.inTangent = Mathf.Infinity;
- }
- else if (add)
- {
- AnimationUtility.SetKeyLeftTangentMode(curve, keyIndex, AnimationUtility.TangentMode.ClampedAuto);
- AnimationUtility.SetKeyRightTangentMode(curve, keyIndex, AnimationUtility.TangentMode.ClampedAuto);
- }
-
- if (keyIndex != -1 && !stepped)
- {
- AnimationUtility.UpdateTangentsFromModeSurrounding(curve, keyIndex);
- AnimationUtility.SetKeyBroken(curve, keyIndex, false);
- }
- }
-
- // Removes a keyframe at the given time from the animation curve
- public static bool RemoveKeyFrameFromCurve(AnimationCurve curve, float time, float framerate)
- {
- var keyIndex = GetKeyframeAtTime(curve, time, framerate);
- if (keyIndex == -1)
- return false;
-
- curve.RemoveKey(keyIndex);
- return true;
- }
-
- // gets the value of the key
- public static float GetKeyValue(SerializedProperty prop)
- {
- switch (prop.propertyType)
- {
- case SerializedPropertyType.Integer:
- return prop.intValue;
- case SerializedPropertyType.Boolean:
- return prop.boolValue ? 1.0f : 0.0f;
- case SerializedPropertyType.Float:
- return prop.floatValue;
- default:
- Debug.LogError("Could not convert property type " + prop.propertyType.ToString() + " to float");
- break;
- }
- return float.NaN;
- }
-
- public static void SetFromKeyValue(SerializedProperty prop, float keyValue)
- {
- switch (prop.propertyType)
- {
- case SerializedPropertyType.Float:
- {
- prop.floatValue = keyValue;
- return;
- }
- case SerializedPropertyType.Integer:
- {
- prop.intValue = (int)keyValue;
- return;
- }
- case SerializedPropertyType.Boolean:
- {
- prop.boolValue = Math.Abs(keyValue) > 0.001f;
- return;
- }
- }
-
- Debug.LogError("Could not convert float to property type " + prop.propertyType.ToString());
- }
-
- // gets the index of the key, -1 if not found
- public static int GetKeyframeAtTime(AnimationCurve curve, float time, float frameRate)
- {
- var range = 0.5f / frameRate;
- var keys = curve.keys;
- for (var i = 0; i < keys.Length; i++)
- {
- var k = keys[i];
- if (k.time >= time - range && k.time < time + range)
- {
- return i;
- }
- }
-
- return -1;
- }
-
- public static int GetKeyframeAtTime(ObjectReferenceKeyframe[] curve, float time, float frameRate)
- {
- if (curve == null || curve.Length == 0)
- return -1;
-
- var range = 0.5f / frameRate;
- for (var i = 0; i < curve.Length; i++)
- {
- var t = curve[i].time;
- if (t >= time - range && t < time + range)
- {
- return i;
- }
- }
- return -1;
- }
-
- public static float GetKeyTime(float time, float frameRate)
- {
- return Mathf.Round(time * frameRate) / frameRate;
- }
-
- public static int KeyCompare(float timeA, float timeB, float frameRate)
- {
- if (Mathf.Abs(timeA - timeB) <= 0.5f / frameRate)
- return 0;
- return timeA < timeB ? -1 : 1;
- }
-
- // Evaluates an object (bool curve)
- public static Object Evaluate(ObjectReferenceKeyframe[] curve, float time)
- {
- return curve[EvaluateIndex(curve, time)].value;
- }
-
- // returns the index from evaluation
- public static int EvaluateIndex(ObjectReferenceKeyframe[] curve, float time)
- {
- if (curve == null || curve.Length == 0)
- throw new InvalidOperationException("Can not evaluate a PPtr curve with no entries");
-
- // clamp conditions
- if (time <= curve[0].time)
- return 0;
- if (time >= curve.Last().time)
- return curve.Length - 1;
-
- // binary search
- var max = curve.Length - 1;
- var min = 0;
- while (max - min > 1)
- {
- var imid = (min + max) / 2;
- if (Mathf.Approximately(curve[imid].time, time))
- return imid;
- if (curve[imid].time < time)
- min = imid;
- else if (curve[imid].time > time)
- max = imid;
- }
- return min;
- }
-
- // Shifts the animation clip so the time start at 0
- public static void ShiftBySeconds(this AnimationClip clip, float time)
- {
- var floatBindings = AnimationUtility.GetCurveBindings(clip);
- var objectBindings = AnimationUtility.GetObjectReferenceCurveBindings(clip);
-
- // update the float curves
- foreach (var bind in floatBindings)
- {
- var curve = AnimationUtility.GetEditorCurve(clip, bind);
- var keys = curve.keys;
- for (var i = 0; i < keys.Length; i++)
- keys[i].time += time;
- curve.keys = keys;
- AnimationUtility.SetEditorCurve(clip, bind, curve);
- }
-
- // update the PPtr curves
- foreach (var bind in objectBindings)
- {
- var curve = AnimationUtility.GetObjectReferenceCurve(clip, bind);
- for (var i = 0; i < curve.Length; i++)
- curve[i].time += time;
- AnimationUtility.SetObjectReferenceCurve(clip, bind, curve);
- }
-
- EditorUtility.SetDirty(clip);
- }
-
- public static void ScaleTime(this AnimationClip clip, float scale)
- {
- var floatBindings = AnimationUtility.GetCurveBindings(clip);
- var objectBindings = AnimationUtility.GetObjectReferenceCurveBindings(clip);
-
- // update the float curves
- foreach (var bind in floatBindings)
- {
- var curve = AnimationUtility.GetEditorCurve(clip, bind);
- var keys = curve.keys;
- for (var i = 0; i < keys.Length; i++)
- keys[i].time *= scale;
- curve.keys = keys.OrderBy(x => x.time).ToArray();
- AnimationUtility.SetEditorCurve(clip, bind, curve);
- }
-
- // update the PPtr curves
- foreach (var bind in objectBindings)
- {
- var curve = AnimationUtility.GetObjectReferenceCurve(clip, bind);
- for (var i = 0; i < curve.Length; i++)
- curve[i].time *= scale;
- curve = curve.OrderBy(x => x.time).ToArray();
- AnimationUtility.SetObjectReferenceCurve(clip, bind, curve);
- }
-
- EditorUtility.SetDirty(clip);
- }
-
- // Creates an opposing blend curve that matches the given curve to make sure the result is normalized
- public static AnimationCurve CreateMatchingCurve(AnimationCurve curve)
- {
- Keyframe[] keys = curve.keys;
-
- for (var i = 0; i != keys.Length; i++)
- {
- if (!Single.IsPositiveInfinity(keys[i].inTangent))
- keys[i].inTangent = -keys[i].inTangent;
- if (!Single.IsPositiveInfinity(keys[i].outTangent))
- keys[i].outTangent = -keys[i].outTangent;
- keys[i].value = 1.0f - keys[i].value;
- }
- return new AnimationCurve(keys);
- }
-
- // Sanitizes the keys on an animation to force the property to be normalized
- public static Keyframe[] SanitizeCurveKeys(Keyframe[] keys, bool easeIn)
- {
- if (keys.Length < 2)
- {
- if (easeIn)
- keys = new[] { new Keyframe(0, 0), new Keyframe(1, 1) };
- else
- keys = new[] { new Keyframe(0, 1), new Keyframe(1, 0) };
- }
- else if (easeIn)
- {
- keys[0].time = 0;
- keys[keys.Length - 1].time = 1;
- keys[keys.Length - 1].value = 1;
- }
- else
- {
- keys[0].time = 0;
- keys[0].value = 1;
- keys[keys.Length - 1].time = 1;
- }
- return keys;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CurveEditUtility.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CurveEditUtility.cs.meta
deleted file mode 100644
index 966ab3a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CurveEditUtility.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9e2b7a65f0a52974193ed497d145b0bc
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors.meta
deleted file mode 100644
index 2516d0e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: ad70ff8d98b257540b683737743828cb
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/ClipEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/ClipEditor.cs
deleted file mode 100644
index 9f133a1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/ClipEditor.cs
+++ /dev/null
@@ -1,256 +0,0 @@
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- /// <summary>
- /// Description of the on-screen area where a clip is drawn
- /// </summary>
- public struct ClipBackgroundRegion
- {
- /// <summary>
- /// The rectangle where the background of the clip is drawn.
- /// </summary>
- /// <remarks>
- /// The rectangle is clipped to the screen. The rectangle does not include clip borders.
- /// </remarks>
- public Rect position { get; private set; }
-
- /// <summary>
- /// The start time of the region, relative to the clip.
- /// </summary>
- public double startTime { get; private set; }
-
- /// <summary>
- /// The end time of the region, relative to the clip.
- /// </summary>
- public double endTime { get; private set; }
-
- /// <summary>
- /// Constructor
- /// </summary>
- /// <param name="_position"></param>
- /// <param name="_startTime"></param>
- /// <param name="_endTime"></param>
- public ClipBackgroundRegion(Rect _position, double _startTime, double _endTime)
- {
- position = _position;
- startTime = _startTime;
- endTime = _endTime;
- }
-
- public override bool Equals(object obj)
- {
- if (!(obj is ClipBackgroundRegion))
- return false;
-
- return Equals((ClipBackgroundRegion)obj);
- }
-
- public bool Equals(ClipBackgroundRegion other)
- {
- return position.Equals(other.position) &&
- startTime == other.startTime &&
- endTime == other.endTime;
- }
-
- public override int GetHashCode()
- {
- return HashUtility.CombineHash(
- position.GetHashCode(),
- startTime.GetHashCode(),
- endTime.GetHashCode()
- );
- }
-
- public static bool operator==(ClipBackgroundRegion region1, ClipBackgroundRegion region2)
- {
- return region1.Equals(region2);
- }
-
- public static bool operator!=(ClipBackgroundRegion region1, ClipBackgroundRegion region2)
- {
- return !region1.Equals(region2);
- }
- }
-
- /// <summary>
- /// The user-defined options for drawing a clip.
- /// </summary>
- public struct ClipDrawOptions
- {
- private IEnumerable<Texture2D> m_Icons;
-
- /// <summary>
- /// Text that indicates if the clip should display an error.
- /// </summary>
- /// <remarks>
- /// If the error text is not empty or null, then the clip displays a warning. The error text is used as the tooltip.
- /// </remarks>
- public string errorText { get; set; }
-
- /// <summary>
- /// The tooltip to show for the clip.
- /// </summary>
- public string tooltip { get; set; }
-
- /// <summary>
- /// The color drawn under the clip. By default, the color is the same as the track color.
- /// </summary>
- public Color highlightColor { get; set; }
-
-
- /// <summary>
- /// Icons to display on the clip.
- /// </summary>
- public IEnumerable<Texture2D> icons
- {
- get { return m_Icons ?? System.Linq.Enumerable.Empty<Texture2D>(); }
- set { m_Icons = value;}
- }
-
- public override bool Equals(object obj)
- {
- if (!(obj is ClipDrawOptions))
- return false;
-
- return Equals((ClipDrawOptions)obj);
- }
-
- public bool Equals(ClipDrawOptions other)
- {
- return errorText == other.errorText &&
- tooltip == other.tooltip &&
- highlightColor == other.highlightColor &&
- System.Linq.Enumerable.SequenceEqual(icons, other.icons);
- }
-
- public override int GetHashCode()
- {
- return HashUtility.CombineHash(
- errorText != null ? errorText.GetHashCode() : 0,
- tooltip != null ? tooltip.GetHashCode() : 0,
- highlightColor.GetHashCode(),
- icons != null ? icons.GetHashCode() : 0
- );
- }
-
- public static bool operator==(ClipDrawOptions options1, ClipDrawOptions options2)
- {
- return options1.Equals(options2);
- }
-
- public static bool operator!=(ClipDrawOptions options1, ClipDrawOptions options2)
- {
- return !options1.Equals(options2);
- }
- }
-
-
- /// <summary>
- /// Use this class to customize clip types in the TimelineEditor.
- /// </summary>
- public class ClipEditor
- {
- static readonly string k_NoPlayableAssetError = LocalizationDatabase.GetLocalizedString("This clip does not contain a valid playable asset");
- static readonly string k_ScriptLoadError = LocalizationDatabase.GetLocalizedString("The associated script can not be loaded");
-
- internal readonly bool supportsSubTimelines;
-
- /// <summary>
- /// Default constructor
- /// </summary>
- public ClipEditor()
- {
- supportsSubTimelines = TypeUtility.HasOverrideMethod(GetType(), nameof(GetSubTimelines));
- }
-
- /// <summary>
- /// Implement this method to override the default options for drawing a clip.
- /// </summary>
- /// <param name="clip">The clip being drawn.</param>
- /// <returns>The options for drawing a clip.</returns>
- public virtual ClipDrawOptions GetClipOptions(TimelineClip clip)
- {
- return new ClipDrawOptions()
- {
- errorText = GetErrorText(clip),
- tooltip = string.Empty,
- highlightColor = GetDefaultHighlightColor(clip),
- icons = System.Linq.Enumerable.Empty<Texture2D>()
- };
- }
-
- /// <summary>
- /// Override this method to draw a background for a clip .
- /// </summary>
- /// <param name="clip">The clip being drawn.</param>
- /// <param name="region">The on-screen area where the clip is drawn.</param>
- public virtual void DrawBackground(TimelineClip clip, ClipBackgroundRegion region)
- {
- }
-
- /// <summary>
- /// Called when a clip is created.
- /// </summary>
- /// <param name="clip">The newly created clip.</param>
- /// <param name="track">The track that the clip is assigned to.</param>
- /// <param name="clonedFrom">The source that the clip was copied from. This can be set to null if the clip is not a copy.</param>
- /// <remarks>
- /// The callback occurs before the clip is assigned to the track.
- /// </remarks>
- public virtual void OnCreate(TimelineClip clip, TrackAsset track, TimelineClip clonedFrom)
- {
- }
-
- /// <summary>
- /// Gets the error text for the specified clip.
- /// </summary>
- /// <param name="clip">The clip being drawn.</param>
- /// <returns>Returns the error text to be displayed as the tool tip for the clip. If there is no error to be displayed, this method returns string.Empty.</returns>
- public string GetErrorText(TimelineClip clip)
- {
- if (clip == null || clip.asset == null)
- return k_NoPlayableAssetError;
-
- var playableAsset = clip.asset as ScriptableObject;
- if (playableAsset == null || MonoScript.FromScriptableObject(playableAsset) == null)
- return k_ScriptLoadError;
-
- return string.Empty;
- }
-
- /// <summary>
- /// The color drawn under the clip. By default, the color is the same as the track color.
- /// </summary>
- /// <param name="clip">The clip being drawn.</param>
- /// <returns>Returns the highlight color of the clip being drawn.</returns>
- public Color GetDefaultHighlightColor(TimelineClip clip)
- {
- if (clip == null)
- return Color.white;
-
- return TrackResourceCache.GetTrackColor(clip.parentTrack);
- }
-
- /// <summary>
- /// Called when a clip is changed by the Editor.
- /// </summary>
- /// <param name="clip">The clip that changed.</param>
- public virtual void OnClipChanged(TimelineClip clip)
- {
- }
-
- /// <summary>
- /// Gets the sub-timelines for a specific clip. Implement this method if your clip supports playing nested timelines.
- /// </summary>
- /// <param name="clip">The clip with the ControlPlayableAsset.</param>
- /// <param name="director">The playable director driving the Timeline Clip. This may not be the same as TimelineEditor.inspectedDirector.</param>
- /// <param name="subTimelines">Specify the sub-timelines to control.</param>
- public virtual void GetSubTimelines(TimelineClip clip, PlayableDirector director, List<PlayableDirector> subTimelines)
- {
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/ClipEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/ClipEditor.cs.meta
deleted file mode 100644
index da1b7b5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/ClipEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 2537ddddebaa455409dec422eb08fd7e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/CustomTimelineEditorCache.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/CustomTimelineEditorCache.cs
deleted file mode 100644
index 8211a98..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/CustomTimelineEditorCache.cs
+++ /dev/null
@@ -1,155 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class CustomTimelineEditorCache
- {
- static class SubClassCache<TEditorClass> where TEditorClass : class, new()
- {
- private static Type[] s_SubClasses = null;
- private static readonly TEditorClass s_DefaultInstance = new TEditorClass();
- private static readonly Dictionary<System.Type, TEditorClass> s_TypeMap = new Dictionary<Type, TEditorClass>();
-
- public static TEditorClass DefaultInstance
- {
- get { return s_DefaultInstance; }
- }
-
- static Type[] SubClasses
- {
- get
- {
- // order the subclass array by built-ins then user defined so built-in classes are chosen first
- return s_SubClasses ??
- (s_SubClasses = TypeCache.GetTypesDerivedFrom<TEditorClass>().OrderBy(t => t.Assembly == typeof(UnityEditor.Timeline.TimelineEditor).Assembly ? 1 : 0).ToArray());
- }
- }
-
- public static TEditorClass GetEditorForType(Type type)
- {
- TEditorClass editorClass = null;
- if (!s_TypeMap.TryGetValue(type, out editorClass) || editorClass == null)
- {
- Type editorClassType = null;
- Type searchType = type;
- while (searchType != null)
- {
- // search our way up the runtime class hierarchy so we get the best match
- editorClassType = GetExactEditorClassForType(searchType);
- if (editorClassType != null)
- break;
- searchType = searchType.BaseType;
- }
-
- if (editorClassType == null)
- {
- editorClass = s_DefaultInstance;
- }
- else
- {
- try
- {
- editorClass = (TEditorClass)Activator.CreateInstance(editorClassType);
- }
- catch (Exception e)
- {
- Debug.LogWarningFormat("Could not create a Timeline editor class of type {0}: {1}", editorClassType, e.Message);
- editorClass = s_DefaultInstance;
- }
- }
-
- s_TypeMap[type] = editorClass;
- }
-
- return editorClass;
- }
-
- private static Type GetExactEditorClassForType(Type type)
- {
- foreach (var subClass in SubClasses)
- {
- // first check for exact match
- var attr = (CustomTimelineEditorAttribute)Attribute.GetCustomAttribute(subClass, typeof(CustomTimelineEditorAttribute), false);
- if (attr != null && attr.classToEdit == type)
- {
- return subClass;
- }
- }
-
- return null;
- }
-
- public static void Clear()
- {
- s_TypeMap.Clear();
- s_SubClasses = null;
- }
- }
-
- public static TEditorClass GetEditorForType<TEditorClass, TRuntimeClass>(Type type) where TEditorClass : class, new()
- {
- if (type == null)
- throw new ArgumentNullException(nameof(type));
-
- if (!typeof(TRuntimeClass).IsAssignableFrom(type))
- throw new ArgumentException(type.FullName + " does not inherit from" + typeof(TRuntimeClass));
-
- return SubClassCache<TEditorClass>.GetEditorForType(type);
- }
-
- public static void ClearCache<TEditorClass>() where TEditorClass : class, new()
- {
- SubClassCache<TEditorClass>.Clear();
- }
-
- public static ClipEditor GetClipEditor(TimelineClip clip)
- {
- if (clip == null)
- throw new ArgumentNullException(nameof(clip));
-
- var type = typeof(IPlayableAsset);
- if (clip.asset != null)
- type = clip.asset.GetType();
-
- if (!typeof(IPlayableAsset).IsAssignableFrom(type))
- return GetDefaultClipEditor();
-
- return GetEditorForType<ClipEditor, IPlayableAsset>(type);
- }
-
- public static ClipEditor GetDefaultClipEditor()
- {
- return SubClassCache<ClipEditor>.DefaultInstance;
- }
-
- public static TrackEditor GetTrackEditor(TrackAsset track)
- {
- if (track == null)
- throw new ArgumentNullException(nameof(track));
-
- return GetEditorForType<TrackEditor, TrackAsset>(track.GetType());
- }
-
- public static TrackEditor GetDefaultTrackEditor()
- {
- return SubClassCache<TrackEditor>.DefaultInstance;
- }
-
- public static MarkerEditor GetMarkerEditor(IMarker marker)
- {
- if (marker == null)
- throw new ArgumentNullException(nameof(marker));
- return GetEditorForType<MarkerEditor, IMarker>(marker.GetType());
- }
-
- public static MarkerEditor GetDefaultMarkerEditor()
- {
- return SubClassCache<MarkerEditor>.DefaultInstance;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/CustomTimelineEditorCache.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/CustomTimelineEditorCache.cs.meta
deleted file mode 100644
index 03cae8e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/CustomTimelineEditorCache.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: fd6ede1d2f47ab146b2ec0a3969a37cc
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerEditor.cs
deleted file mode 100644
index c0cf995..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerEditor.cs
+++ /dev/null
@@ -1,209 +0,0 @@
-using UnityEngine;
-using UnityEditor.Timeline;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- /// <summary>
- /// The flags that indicate the view status of a marker.
- /// </summary>
- [System.Flags]
- public enum MarkerUIStates
- {
- /// <summary>
- /// No extra state specified.
- /// </summary>
- None = 0,
-
- /// <summary>
- /// The marker is selected.
- /// </summary>
- Selected = 1 << 0,
-
- /// <summary>
- /// The marker is in a collapsed state.
- /// </summary>
- Collapsed = 1 << 1
- }
-
- /// <summary>
- /// The user-defined options for drawing a marker.
- /// </summary>
- public struct MarkerDrawOptions
- {
- /// <summary>
- /// The tooltip for the marker.
- /// </summary>
- public string tooltip { get; set; }
-
- /// <summary>
- /// Text that indicates if the marker should display an error.
- /// </summary>
- /// <remarks>
- /// If the error text is not empty or null, then the marker displays a warning. The error text is used as the tooltip.
- /// </remarks>
- public string errorText { get; set; }
-
- public override bool Equals(object obj)
- {
- if (!(obj is MarkerDrawOptions))
- return false;
-
- return Equals((MarkerDrawOptions)obj);
- }
-
- public bool Equals(MarkerDrawOptions other)
- {
- return errorText == other.errorText &&
- tooltip == other.tooltip;
- }
-
- public override int GetHashCode()
- {
- return HashUtility.CombineHash(
- errorText != null ? errorText.GetHashCode() : 0,
- tooltip != null ? tooltip.GetHashCode() : 0
- );
- }
-
- public static bool operator==(MarkerDrawOptions options1, MarkerDrawOptions options2)
- {
- return options1.Equals(options2);
- }
-
- public static bool operator!=(MarkerDrawOptions options1, MarkerDrawOptions options2)
- {
- return !options1.Equals(options2);
- }
- }
-
-
- /// <summary>
- /// The description of the on-screen area where the marker is drawn.
- /// </summary>
- public struct MarkerOverlayRegion
- {
- /// <summary>
- /// The area where the marker is being drawn.
- /// </summary>
- public Rect markerRegion { get; private set; }
-
- /// <summary>
- /// TThe area where the overlay is being drawn.
- /// </summary>
- public Rect timelineRegion { get; private set; }
-
- /// <summary>
- /// The start time of the visible region of the window.
- /// </summary>
- public double startTime { get; private set; }
-
- /// <summary>
- /// The end time of the visible region of the window.
- /// </summary>
- public double endTime { get; private set; }
-
- /// <summary>Constructor</summary>
- public MarkerOverlayRegion(Rect _markerRegion, Rect _timelineRegion, double _startTime, double _endTime)
- {
- markerRegion = _markerRegion;
- timelineRegion = _timelineRegion;
- startTime = _startTime;
- endTime = _endTime;
- }
-
- public override bool Equals(object obj)
- {
- if (!(obj is MarkerOverlayRegion))
- return false;
-
- return Equals((MarkerOverlayRegion)obj);
- }
-
- public bool Equals(MarkerOverlayRegion other)
- {
- return markerRegion == other.markerRegion &&
- timelineRegion == other.timelineRegion &&
- startTime == other.startTime &&
- endTime == other.endTime;
- }
-
- public override int GetHashCode()
- {
- return HashUtility.CombineHash(
- markerRegion.GetHashCode(),
- timelineRegion.GetHashCode(),
- startTime.GetHashCode(),
- endTime.GetHashCode()
- );
- }
-
- public static bool operator==(MarkerOverlayRegion region1, MarkerOverlayRegion region2)
- {
- return region1.Equals(region2);
- }
-
- public static bool operator!=(MarkerOverlayRegion region1, MarkerOverlayRegion region2)
- {
- return !region1.Equals(region2);
- }
- }
-
- /// <summary>
- /// Use this class to customize marker types in the TimelineEditor.
- /// </summary>
- public class MarkerEditor
- {
- internal readonly bool supportsDrawOverlay;
-
- /// <summary>
- /// Default constructor
- /// </summary>
- public MarkerEditor()
- {
- supportsDrawOverlay = TypeUtility.HasOverrideMethod(GetType(), nameof(DrawOverlay));
- }
-
- /// <summary>
- /// Implement this method to override the default options for drawing a marker.
- /// </summary>
- /// <param name="marker">The marker to draw.</param>
- /// <returns></returns>
- public virtual MarkerDrawOptions GetMarkerOptions(IMarker marker)
- {
- return new MarkerDrawOptions()
- {
- tooltip = string.Empty,
- errorText = string.Empty,
- };
- }
-
- /// <summary>
- /// Called when a marker is created.
- /// </summary>
- /// <param name="marker">The marker that is created.</param>
- /// <param name="clonedFrom">TThe source that the marker was copied from. This can be set to null if the marker is not a copy.</param>
- /// <remarks>
- /// The callback occurs before the marker is assigned to the track.
- /// </remarks>
- public virtual void OnCreate(IMarker marker, IMarker clonedFrom)
- {
- }
-
- /// <summary>
- /// Draws additional overlays for a marker.
- /// </summary>
- /// <param name="marker">The marker to draw.</param>
- /// <param name="uiState">The visual state of the marker.</param>
- /// <param name="region">The on-screen area where the marker is being drawn.</param>
- /// <remarks>
- /// Notes:
- /// * It is only called during TimelineWindow's Repaint step.
- /// * If there are multiple markers on top of each other, only the topmost marker receives the DrawOverlay call.
- /// </remarks>
- public virtual void DrawOverlay(IMarker marker, MarkerUIStates uiState, MarkerOverlayRegion region)
- {
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerEditor.cs.meta
deleted file mode 100644
index 7cbab44..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 99c5970046bb263469514e56eb6aa519
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerTrackEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerTrackEditor.cs
deleted file mode 100644
index e6e06fb..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerTrackEditor.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomTimelineEditor(typeof(MarkerTrack))]
- class MarkerTrackEditor : TrackEditor
- {
- public static readonly float DefaultMarkerTrackHeight = 20;
-
- public override TrackDrawOptions GetTrackOptions(TrackAsset track, Object binding)
- {
- var options = base.GetTrackOptions(track, binding);
- options.minimumHeight = DefaultMarkerTrackHeight;
- return options;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerTrackEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerTrackEditor.cs.meta
deleted file mode 100644
index 5c4b7a9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/MarkerTrackEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 844873d1afe1c3142ab922324950e1dd
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/TrackEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/TrackEditor.cs
deleted file mode 100644
index cd4f67c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/TrackEditor.cs
+++ /dev/null
@@ -1,284 +0,0 @@
-using System;
-using System.Linq;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- /// <summary>
- /// The user-defined options for drawing a track."
- /// </summary>
- public struct TrackDrawOptions
- {
- /// <summary>
- /// Text that indicates if the track should display an error.
- /// </summary>
- /// <remarks>
- /// If the error text is not empty or null, then the track displays a warning. The error text is used as the tooltip.
- /// </remarks>
- public string errorText { get; set; }
-
- /// <summary>
- /// The highlight color of the track.
- /// </summary>
- public Color trackColor { get; set; }
-
- /// <summary>
- /// The minimum height of the track.
- /// </summary>
- public float minimumHeight { get; set; }
-
- /// <summary>
- /// The icon displayed on the track header.
- /// </summary>
- /// <remarks>
- /// If this value is null, then the default icon for the track is used.
- /// </remarks>
- public Texture2D icon { get; set; }
-
- public override bool Equals(object obj)
- {
- if (!(obj is TrackDrawOptions))
- return false;
-
- return Equals((TrackDrawOptions)obj);
- }
-
- public bool Equals(TrackDrawOptions other)
- {
- return errorText == other.errorText &&
- trackColor == other.trackColor &&
- minimumHeight == other.minimumHeight &&
- icon == other.icon;
- }
-
- public override int GetHashCode()
- {
- return HashUtility.CombineHash(
- errorText != null ? errorText.GetHashCode() : 0,
- trackColor.GetHashCode(),
- minimumHeight.GetHashCode(),
- icon != null ? icon.GetHashCode() : 0
- );
- }
-
- public static bool operator==(TrackDrawOptions options1, TrackDrawOptions options2)
- {
- return options1.Equals(options2);
- }
-
- public static bool operator!=(TrackDrawOptions options1, TrackDrawOptions options2)
- {
- return !options1.Equals(options2);
- }
- }
-
-
- /// <summary>
- /// The errors displayed for the track binding.
- /// </summary>
- public enum TrackBindingErrors
- {
- /// <summary>
- /// Select no errors.
- /// </summary>
- None = 0,
-
- /// <summary>
- /// The bound GameObject is disabled.
- /// </summary>
- BoundGameObjectDisabled = 1 << 0,
-
- /// <summary>
- /// The bound GameObject does not have a valid component.
- /// </summary>
- NoValidComponent = 1 << 1,
-
- /// <summary>
- /// The bound Object is a disabled Behaviour.
- /// </summary>
- BehaviourIsDisabled = 1 << 2,
-
- /// <summary>
- /// The bound Object is not of the correct type.
- /// </summary>
- InvalidBinding = 1 << 3,
-
- /// <summary>
- /// The bound Object is part of a prefab, and not an instance.
- /// </summary>
- PrefabBound = 1 << 4,
-
- /// <summary>
- /// Select all errors.
- /// </summary>
- All = Int32.MaxValue
- }
-
- /// <summary>
- /// Use this class to customize track types in the TimelineEditor.
- /// </summary>
- public class TrackEditor
- {
- static readonly string k_BoundGameObjectDisabled = LocalizationDatabase.GetLocalizedString("The bound GameObject is disabled.");
- static readonly string k_NoValidComponent = LocalizationDatabase.GetLocalizedString("Could not find appropriate component on this gameObject");
- static readonly string k_RequiredComponentIsDisabled = LocalizationDatabase.GetLocalizedString("The component is disabled");
- static readonly string k_InvalidBinding = LocalizationDatabase.GetLocalizedString("The bound object is not the correct type.");
- static readonly string k_PrefabBound = LocalizationDatabase.GetLocalizedString("The bound object is a Prefab");
-
- readonly Dictionary<TrackAsset, System.Type> m_BindingCache = new Dictionary<TrackAsset, System.Type>();
-
- /// <summary>
- /// The default height of a track.
- /// </summary>
- public static readonly float DefaultTrackHeight = 30.0f;
-
- /// <summary>
- /// The minimum unscaled height of a track.
- /// </summary>
- public static readonly float MinimumTrackHeight = 10.0f;
-
- /// <summary>
- /// The maximum height of a track.
- /// </summary>
- public static readonly float MaximumTrackHeight = 256.0f;
-
- /// <summary>
- /// Implement this method to override the default options for drawing a track.
- /// </summary>
- /// <param name="track">The track from which track options are retrieved.</param>
- /// <param name="binding">The binding for the track.</param>
- /// <returns>The options for drawing the track.</returns>
- public virtual TrackDrawOptions GetTrackOptions(TrackAsset track, UnityEngine.Object binding)
- {
- return new TrackDrawOptions()
- {
- errorText = GetErrorText(track, binding, TrackBindingErrors.All),
- minimumHeight = DefaultTrackHeight,
- trackColor = GetTrackColor(track),
- icon = null
- };
- }
-
- /// <summary>
- /// Gets the error text for the specified track.
- /// </summary>
- /// <param name="track">The track to retrieve options for.</param>
- /// <param name="boundObject">The binding for the track.</param>
- /// <param name="detectErrors">The errors to check for.</param>
- /// <returns>An error to be displayed on the track, or string.Empty if there is no error.</returns>
- public string GetErrorText(TrackAsset track, UnityEngine.Object boundObject, TrackBindingErrors detectErrors)
- {
- if (track == null || boundObject == null)
- return string.Empty;
-
- var bindingType = GetBindingType(track);
- if (bindingType != null)
- {
- // bound to a prefab asset
- if (HasFlag(detectErrors, TrackBindingErrors.PrefabBound) && PrefabUtility.IsPartOfPrefabAsset(boundObject))
- {
- return k_PrefabBound;
- }
-
- // If we are a component, allow for bound game objects (legacy)
- if (typeof(Component).IsAssignableFrom(bindingType))
- {
- var gameObject = boundObject as GameObject;
- var component = boundObject as Component;
- if (component != null)
- gameObject = component.gameObject;
-
- // game object is bound with no component
- if (HasFlag(detectErrors, TrackBindingErrors.NoValidComponent) && gameObject != null && component == null)
- {
- component = gameObject.GetComponent(bindingType);
- if (component == null)
- {
- return k_NoValidComponent;
- }
- }
-
- // attached gameObject is disables (ignores Activation Track)
- if (HasFlag(detectErrors, TrackBindingErrors.BoundGameObjectDisabled) && gameObject != null && !gameObject.activeInHierarchy)
- {
- return k_BoundGameObjectDisabled;
- }
-
- // component is disabled
- var behaviour = component as Behaviour;
- if (HasFlag(detectErrors, TrackBindingErrors.BehaviourIsDisabled) && behaviour != null && !behaviour.enabled)
- {
- return k_RequiredComponentIsDisabled;
- }
-
- // mismatched binding
- if (HasFlag(detectErrors, TrackBindingErrors.InvalidBinding) && component != null && !bindingType.IsAssignableFrom(component.GetType()))
- {
- return k_InvalidBinding;
- }
- }
- // Mismatched binding (non-component)
- else if (HasFlag(detectErrors, TrackBindingErrors.InvalidBinding) && !bindingType.IsAssignableFrom(boundObject.GetType()))
- {
- return k_InvalidBinding;
- }
- }
-
- return string.Empty;
- }
-
- /// <summary>
- /// Gets the color information of a track.
- /// </summary>
- /// <param name="track"></param>
- /// <returns>Returns the color for the specified track.</returns>
- public Color GetTrackColor(TrackAsset track)
- {
- return TrackResourceCache.GetTrackColor(track);
- }
-
- /// <summary>
- /// Gets the binding type for a track.
- /// </summary>
- /// <param name="track">The track to retrieve the binding type from.</param>
- /// <returns>Returns the binding type for the specified track. Returns null if the track does not have binding.</returns>
- public System.Type GetBindingType(TrackAsset track)
- {
- if (track == null)
- return null;
-
- System.Type result = null;
- if (m_BindingCache.TryGetValue(track, out result))
- return result;
-
- result = track.outputs.Select(x => x.outputTargetType).FirstOrDefault();
- m_BindingCache[track] = result;
- return result;
- }
-
- /// <summary>
- /// Callback for when a track is created.
- /// </summary>
- /// <param name="track">The track that is created.</param>
- /// <param name="copiedFrom">The source that the track is copied from. This can be set to null if the track is not a copy.</param>
- public virtual void OnCreate(TrackAsset track, TrackAsset copiedFrom)
- {
- }
-
- /// <summary>
- /// Callback for when a track is changed.
- /// </summary>
- /// <param name="track">The track that is changed.</param>
- public virtual void OnTrackChanged(TrackAsset track)
- {
- }
-
- private static bool HasFlag(TrackBindingErrors errors, TrackBindingErrors flag)
- {
- return (errors & flag) != 0;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/TrackEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/TrackEditor.cs.meta
deleted file mode 100644
index a7ae571..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/CustomEditors/TrackEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 35cb34351b19cf44ba78afbd58746610
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorNamedColor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorNamedColor.cs
deleted file mode 100644
index 0f08c04..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorNamedColor.cs
+++ /dev/null
@@ -1,288 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-using System.IO;
-using System.Reflection;
-using System.Text;
-using UnityEditor.Timeline;
-
-namespace UnityEngine.Timeline
-{
- [Serializable]
- class DirectorNamedColor : ScriptableObject
- {
- [SerializeField]
- public Color colorPlayhead;
-
- [SerializeField]
- public Color colorSelection;
-
- [SerializeField]
- public Color colorEndmarker;
-
- [SerializeField]
- public Color colorGroup;
-
- [SerializeField]
- public Color colorGroupTrackBackground;
-
- [SerializeField]
- public Color colorAnimation;
-
- [SerializeField]
- public Color colorAnimationRecorded;
-
- [SerializeField]
- public Color colorAudio;
-
- [SerializeField]
- public Color colorAudioWaveform;
-
- [SerializeField]
- public Color colorActivation;
-
- [SerializeField]
- public Color colorDropTarget;
-
- [SerializeField]
- public Color colorClipFont;
-
- [SerializeField]
- public Color colorInvalidClipOverlay;
-
- [SerializeField]
- public Color colorTrackBackground;
-
- [SerializeField]
- public Color colorTrackHeaderBackground;
-
- [SerializeField]
- public Color colorTrackDarken;
-
- [SerializeField]
- public Color colorTrackBackgroundRecording;
-
- [SerializeField]
- public Color colorInfiniteTrackBackgroundRecording;
-
- [SerializeField]
- public Color colorTrackBackgroundSelected;
-
- [SerializeField]
- public Color colorTrackFont;
-
- [SerializeField]
- public Color colorClipUnion;
-
- [SerializeField]
- public Color colorTopOutline3;
-
- [SerializeField]
- public Color colorDurationLine;
-
- [SerializeField]
- public Color colorRange;
-
- [SerializeField]
- public Color colorSequenceBackground;
-
- [SerializeField]
- public Color colorTooltipBackground;
-
- [SerializeField]
- public Color colorInfiniteClipLine;
-
- [SerializeField]
- public Color colorDefaultTrackDrawer;
-
- [SerializeField]
- public Color colorDuration = new Color(0.66f, 0.66f, 0.66f, 1.0f);
-
- [SerializeField]
- public Color colorRecordingClipOutline = new Color(1, 0, 0, 0.9f);
-
- [SerializeField]
- public Color colorAnimEditorBinding = new Color(54.0f / 255.0f, 54.0f / 255.0f, 54.0f / 255.0f);
-
- [SerializeField]
- public Color colorTimelineBackground = new Color(0.2f, 0.2f, 0.2f, 1.0f);
-
- [SerializeField]
- public Color colorLockTextBG = Color.red;
-
- [SerializeField]
- public Color colorInlineCurveVerticalLines = new Color(1.0f, 1.0f, 1.0f, 0.2f);
-
- [SerializeField]
- public Color colorInlineCurveOutOfRangeOverlay = new Color(0.0f, 0.0f, 0.0f, 0.5f);
-
- [SerializeField]
- public Color colorInlineCurvesBackground;
-
- [SerializeField]
- public Color markerDrawerBackgroundColor = new Color(0.4f, 0.4f, 0.4f , 1.0f);
-
- [SerializeField]
- public Color markerHeaderDrawerBackgroundColor = new Color(0.5f, 0.5f, 0.5f , 1.0f);
-
- [SerializeField]
- public Color colorControl = new Color(0.2313f, 0.6353f, 0.5843f, 1.0f);
-
- [SerializeField]
- public Color colorSubSequenceBackground = new Color(0.1294118f, 0.1764706f, 0.1764706f, 1.0f);
-
- [SerializeField]
- public Color colorTrackSubSequenceBackground = new Color(0.1607843f, 0.2156863f, 0.2156863f, 1.0f);
-
- [SerializeField]
- public Color colorTrackSubSequenceBackgroundSelected = new Color(0.0726923f, 0.252f, 0.252f, 1.0f);
-
- [SerializeField]
- public Color colorSubSequenceOverlay = new Color(0.02f, 0.025f, 0.025f, 0.30f);
-
- [SerializeField]
- public Color colorSubSequenceDurationLine = new Color(0.0f, 1.0f, 0.88f, 0.46f);
-
- [SerializeField]
- public Color clipBckg = new Color(0.5f, 0.5f, 0.5f, 1.0f);
-
- [SerializeField]
- public Color clipSelectedBckg = new Color(0.7f, 0.7f, 0.7f, 1.0f);
-
- [SerializeField]
- public Color clipBorderColor = new Color(0.4f, 0.4f, 0.4f, 1.0f);
-
- [SerializeField]
- public Color clipEaseBckgColor = new Color(0.4f, 0.4f, 0.4f, 1.0f);
-
- [SerializeField]
- public Color clipBlendIn;
-
- [SerializeField]
- public Color clipBlendInSelected;
-
- [SerializeField]
- public Color clipBlendOut;
-
- [SerializeField]
- public Color clipBlendOutSelected;
-
- public void SetDefault()
- {
- colorPlayhead = DirectorStyles.Instance.timeCursor.normal.textColor;
- colorSelection = DirectorStyles.Instance.selectedStyle.normal.textColor;
- colorEndmarker = DirectorStyles.Instance.endmarker.normal.textColor;
-
- colorGroup = new Color(0.094f, 0.357f, 0.384f, 0.310f);
- colorGroupTrackBackground = new Color(0f, 0f, 0f, 1f);
- colorAnimation = new Color(0.3f, 0.39f, 0.46f, 1.0f);
- colorAnimationRecorded = new Color(colorAnimation.r * 0.75f, colorAnimation.g * 0.75f, colorAnimation.b * 0.75f, 1.0f);
- colorAudio = new Color(1f, 0.635f, 0f);
- colorAudioWaveform = new Color(0.129f, 0.164f, 0.254f);
- colorActivation = Color.green;
-
- colorDropTarget = new Color(0.514f, 0.627f, 0.827f);
- colorClipFont = DirectorStyles.Instance.fontClip.normal.textColor;
- colorTrackBackground = new Color(0.2f, 0.2f, 0.2f, 1.0f);
- colorTrackBackgroundSelected = new Color(1f, 1f, 1f, 0.33f);
-
- colorInlineCurvesBackground = new Color(0.25f, 0.25f, 0.25f, 0.6f);
-
- colorTrackFont = DirectorStyles.Instance.trackHeaderFont.normal.textColor;
-
- colorClipUnion = new Color(0.72f, 0.72f, 0.72f, 0.8f);
- colorTopOutline3 = new Color(0.274f, 0.274f, 0.274f, 1.0f);
-
- colorDurationLine = new Color(33.0f / 255.0f, 109.0f / 255.0f, 120.0f / 255.0f);
-
- colorRange = new Color(0.733f, 0.733f, 0.733f, 0.70f);
-
- colorSequenceBackground = new Color(0.16f, 0.16f, 0.16f, 1.0f);
-
- colorTooltipBackground = new Color(29.0f / 255.0f, 32.0f / 255.0f, 33.0f / 255.0f);
-
- colorInfiniteClipLine = new Color(72.0f / 255.0f, 78.0f / 255.0f, 82.0f / 255.0f);
-
- colorTrackBackgroundRecording = new Color(1, 0, 0, 0.1f);
-
- colorTrackDarken = new Color(0.0f, 0.0f, 0.0f, 0.4f);
-
- colorTrackHeaderBackground = new Color(51.0f / 255.0f, 51.0f / 255.0f, 51.0f / 255.0f, 1.0f);
-
- colorDefaultTrackDrawer = new Color(218.0f / 255.0f, 220.0f / 255.0f, 222.0f / 255.0f);
-
- colorRecordingClipOutline = new Color(1, 0, 0, 0.9f);
- colorInlineCurveVerticalLines = new Color(1.0f, 1.0f, 1.0f, 0.2f);
- colorInlineCurveOutOfRangeOverlay = new Color(0.0f, 0.0f, 0.0f, 0.5f);
- }
-
- public void ToText(string path)
- {
- StringBuilder builder = new StringBuilder();
-
- var fields = GetType().GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly);
- foreach (var f in fields)
- {
- if (f.FieldType != typeof(Color))
- continue;
-
- Color c = (Color)f.GetValue(this);
- builder.Append(f.Name + "," + c);
- builder.Append("\n");
- }
- File.WriteAllText(path, builder.ToString());
- }
-
- public void FromText(string text)
- {
- // parse to a map
- string[] lines = text.Split(new[] { '\n', '\r' }, StringSplitOptions.RemoveEmptyEntries);
- var map = new Dictionary<string, Color>();
- foreach (var line in lines)
- {
- var pieces = line.Replace("RGBA(", "").Replace(")", "").Split(',');
- if (pieces.Length == 5)
- {
- string name = pieces[0].Trim();
- Color c = Color.black;
- bool b = ParseFloat(pieces[1], out c.r) &&
- ParseFloat(pieces[2], out c.g) &&
- ParseFloat(pieces[3], out c.b) &&
- ParseFloat(pieces[4], out c.a);
-
- if (b)
- {
- map[name] = c;
- }
- }
- }
-
- var fields = typeof(DirectorNamedColor).GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly);
- foreach (var f in fields)
- {
- if (f.FieldType != typeof(Color))
- continue;
-
- Color c = Color.black;
- if (map.TryGetValue(f.Name, out c))
- {
- f.SetValue(this, c);
- }
- }
- }
-
- // Case 938534 - Timeline window has white background when running on .NET 4.6 depending on the set system language
- // Make sure we're using an invariant culture so "0.35" is parsed as 0.35 and not 35
- static bool ParseFloat(string str, out float f)
- {
- return float.TryParse(str, NumberStyles.Any, CultureInfo.InvariantCulture, out f);
- }
-
- public static DirectorNamedColor CreateAndLoadFromText(string text)
- {
- DirectorNamedColor instance = CreateInstance<DirectorNamedColor>();
- instance.FromText(text);
- return instance;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorNamedColor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorNamedColor.cs.meta
deleted file mode 100644
index 4ea6baf..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorNamedColor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 7116e04a377b195458798657c617e324
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorStyles.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorStyles.cs
deleted file mode 100644
index da3823e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorStyles.cs
+++ /dev/null
@@ -1,362 +0,0 @@
-using UnityEditor.Experimental;
-using UnityEditor.StyleSheets;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class DirectorStyles
- {
- const string k_Elipsis = "…";
- const string k_ImagePath = "Packages/com.unity.timeline/Editor/StyleSheets/Images/Icons/{0}.png";
- public const string resourcesPath = "Packages/com.unity.timeline/Editor/StyleSheets/res/";
-
- //Timeline resources
- public static readonly GUIContent referenceTrackLabel = TrTextContent("R", "This track references an external asset");
- public static readonly GUIContent recordingLabel = TrTextContent("Recording...");
- public static readonly GUIContent noTimelineAssetSelected = TrTextContent("To start creating a timeline, select a GameObject");
- public static readonly GUIContent createTimelineOnSelection = TrTextContent("To begin a new timeline with {0}, create {1}");
- public static readonly GUIContent noTimelinesInScene = TrTextContent("No timeline found in the scene");
- public static readonly GUIContent createNewTimelineText = TrTextContent("Create a new Timeline and Director Component for Game Object");
- public static readonly GUIContent previewContent = TrTextContent("Preview", "Enable/disable scene preview mode");
- public static readonly GUIContent mixOff = TrIconContent("TimelineEditModeMixOFF", "Mix Mode (1)");
- public static readonly GUIContent mixOn = TrIconContent("TimelineEditModeMixON", "Mix Mode (1)");
- public static readonly GUIContent rippleOff = TrIconContent("TimelineEditModeRippleOFF", "Ripple Mode (2)");
- public static readonly GUIContent rippleOn = TrIconContent("TimelineEditModeRippleON", "Ripple Mode (2)");
- public static readonly GUIContent replaceOff = TrIconContent("TimelineEditModeReplaceOFF", "Replace Mode (3)");
- public static readonly GUIContent replaceOn = TrIconContent("TimelineEditModeReplaceON", "Replace Mode (3)");
- public static readonly GUIContent showMarkersOn = TrIconContent("TimelineMarkerAreaButtonEnabled", "Show / Hide Timeline Markers");
- public static readonly GUIContent showMarkersOff = TrIconContent("TimelineMarkerAreaButtonDisabled", "Show / Hide Timeline Markers");
- public static readonly GUIContent showMarkersOnTimeline = TrTextContent("Show markers");
- public static readonly GUIContent timelineMarkerTrackHeader = TrTextContentWithIcon("Markers", string.Empty, "TimelineHeaderMarkerIcon");
- public static readonly GUIContent markerCollapseButton = TrTextContent(string.Empty, "Expand / Collapse Track Markers");
- public static readonly GUIContent signalTrackIcon = IconContent("TimelineSignal");
-
- //Unity Default Resources
- public static readonly GUIContent playContent = EditorGUIUtility.TrIconContent("Animation.Play", "Play the timeline (Space)");
- public static readonly GUIContent gotoBeginingContent = EditorGUIUtility.TrIconContent("Animation.FirstKey", "Go to the beginning of the timeline (Shift+<)");
- public static readonly GUIContent gotoEndContent = EditorGUIUtility.TrIconContent("Animation.LastKey", "Go to the end of the timeline (Shift+>)");
- public static readonly GUIContent nextFrameContent = EditorGUIUtility.TrIconContent("Animation.NextKey", "Go to the next frame");
- public static readonly GUIContent previousFrameContent = EditorGUIUtility.TrIconContent("Animation.PrevKey", "Go to the previous frame");
- public static readonly GUIContent newContent = EditorGUIUtility.IconContent("CreateAddNew", "Add new tracks.");
- public static readonly GUIContent optionsCogIcon = EditorGUIUtility.TrIconContent("_Popup", "Options");
- public static readonly GUIContent animationTrackIcon = EditorGUIUtility.IconContent("AnimationClip Icon");
- public static readonly GUIContent audioTrackIcon = EditorGUIUtility.IconContent("AudioSource Icon");
- public static readonly GUIContent playableTrackIcon = EditorGUIUtility.IconContent("cs Script Icon");
- public static readonly GUIContent timelineSelectorArrow = EditorGUIUtility.TrIconContent("icon dropdown", "Timeline Selector");
-
- public GUIContent playrangeContent;
-
- public static readonly float kBaseIndent = 15.0f;
- public static readonly float kDurationGuiThickness = 5.0f;
-
- // matches dark skin warning color.
- public static readonly Color kClipErrorColor = new Color(0.957f, 0.737f, 0.008f, 1f);
-
- // TODO: Make skinnable? If we do, we should probably also make the associated cursors skinnable...
- public static readonly Color kMixToolColor = Color.white;
- public static readonly Color kRippleToolColor = new Color(255f / 255f, 210f / 255f, 51f / 255f);
- public static readonly Color kReplaceToolColor = new Color(165f / 255f, 30f / 255f, 30f / 255f);
-
- public const string markerDefaultStyle = "MarkerItem";
-
- public GUIStyle groupBackground;
- public GUIStyle displayBackground;
- public GUIStyle fontClip;
- public GUIStyle fontClipLoop;
- public GUIStyle trackHeaderFont;
- public GUIStyle trackGroupAddButton;
- public GUIStyle groupFont;
- public GUIStyle timeCursor;
- public GUIStyle endmarker;
- public GUIStyle tinyFont;
- public GUIStyle foldout;
- public GUIStyle mute;
- public GUIStyle locked;
- public GUIStyle autoKey;
- public GUIStyle playTimeRangeStart;
- public GUIStyle playTimeRangeEnd;
- public GUIStyle selectedStyle;
- public GUIStyle trackSwatchStyle;
- public GUIStyle connector;
- public GUIStyle keyframe;
- public GUIStyle warning;
- public GUIStyle extrapolationHold;
- public GUIStyle extrapolationLoop;
- public GUIStyle extrapolationPingPong;
- public GUIStyle extrapolationContinue;
- public GUIStyle collapseMarkers;
- public GUIStyle markerMultiOverlay;
- public GUIStyle bottomShadow;
- public GUIStyle trackOptions;
- public GUIStyle infiniteTrack;
- public GUIStyle clipOut;
- public GUIStyle clipIn;
- public GUIStyle curves;
- public GUIStyle lockedBG;
- public GUIStyle activation;
- public GUIStyle playrange;
- public GUIStyle lockButton;
- public GUIStyle avatarMaskOn;
- public GUIStyle avatarMaskOff;
- public GUIStyle markerWarning;
- public GUIStyle editModeBtn;
- public GUIStyle showMarkersBtn;
- public GUIStyle sequenceSwitcher;
-
- static internal DirectorStyles s_Instance;
-
- DirectorNamedColor m_DarkSkinColors;
- DirectorNamedColor m_LightSkinColors;
- DirectorNamedColor m_DefaultSkinColors;
-
- const string k_DarkSkinPath = resourcesPath + "Timeline_DarkSkin.txt";
- const string k_LightSkinPath = resourcesPath + "Timeline_LightSkin.txt";
-
- static readonly GUIContent s_TempContent = new GUIContent();
-
- public static bool IsInitialized
- {
- get { return s_Instance != null; }
- }
-
- public static DirectorStyles Instance
- {
- get
- {
- if (s_Instance == null)
- {
- s_Instance = new DirectorStyles();
- s_Instance.Initialize();
- }
-
- return s_Instance;
- }
- }
-
- public static void ReloadStylesIfNeeded()
- {
- if (Instance.ShouldLoadStyles())
- {
- Instance.LoadStyles();
- if (!Instance.ShouldLoadStyles())
- Instance.Initialize();
- }
- }
-
- public DirectorNamedColor customSkin
- {
- get { return EditorGUIUtility.isProSkin ? m_DarkSkinColors : m_LightSkinColors; }
- internal set
- {
- if (EditorGUIUtility.isProSkin)
- m_DarkSkinColors = value;
- else
- m_LightSkinColors = value;
- }
- }
-
- DirectorNamedColor LoadColorSkin(string path)
- {
- var asset = EditorGUIUtility.LoadRequired(path) as TextAsset;
-
- if (asset != null && !string.IsNullOrEmpty(asset.text))
- {
- return DirectorNamedColor.CreateAndLoadFromText(asset.text);
- }
-
- return m_DefaultSkinColors;
- }
-
- static DirectorNamedColor CreateDefaultSkin()
- {
- var nc = ScriptableObject.CreateInstance<DirectorNamedColor>();
- nc.SetDefault();
- return nc;
- }
-
- public void ExportSkinToFile()
- {
- if (customSkin == m_DarkSkinColors)
- customSkin.ToText(k_DarkSkinPath);
-
- if (customSkin == m_LightSkinColors)
- customSkin.ToText(k_LightSkinPath);
- }
-
- public void ReloadSkin()
- {
- if (customSkin == m_DarkSkinColors)
- {
- m_DarkSkinColors = LoadColorSkin(k_DarkSkinPath);
- }
- else if (customSkin == m_LightSkinColors)
- {
- m_LightSkinColors = LoadColorSkin(k_LightSkinPath);
- }
- }
-
- public void Initialize()
- {
- m_DefaultSkinColors = CreateDefaultSkin();
- m_DarkSkinColors = LoadColorSkin(k_DarkSkinPath);
- m_LightSkinColors = LoadColorSkin(k_LightSkinPath);
-
- // add the built in colors (control track uses attribute)
- TrackResourceCache.ClearTrackColorCache();
- TrackResourceCache.SetTrackColor<AnimationTrack>(customSkin.colorAnimation);
- TrackResourceCache.SetTrackColor<PlayableTrack>(Color.white);
- TrackResourceCache.SetTrackColor<AudioTrack>(customSkin.colorAudio);
- TrackResourceCache.SetTrackColor<ActivationTrack>(customSkin.colorActivation);
- TrackResourceCache.SetTrackColor<GroupTrack>(customSkin.colorGroup);
- TrackResourceCache.SetTrackColor<ControlTrack>(customSkin.colorControl);
-
- // add default icons
- TrackResourceCache.ClearTrackIconCache();
- TrackResourceCache.SetTrackIcon<AnimationTrack>(animationTrackIcon);
- TrackResourceCache.SetTrackIcon<AudioTrack>(audioTrackIcon);
- TrackResourceCache.SetTrackIcon<PlayableTrack>(playableTrackIcon);
- TrackResourceCache.SetTrackIcon<ActivationTrack>(new GUIContent(GetBackgroundImage(activation)));
- TrackResourceCache.SetTrackIcon<SignalTrack>(signalTrackIcon);
- }
-
- DirectorStyles()
- {
- LoadStyles();
- }
-
- bool ShouldLoadStyles()
- {
- return endmarker == null ||
- endmarker.name == GUISkin.error.name;
- }
-
- void LoadStyles()
- {
- endmarker = GetGUIStyle("Icon-Endmarker");
- groupBackground = GetGUIStyle("groupBackground");
- displayBackground = GetGUIStyle("sequenceClip");
- fontClip = GetGUIStyle("Font-Clip");
- trackHeaderFont = GetGUIStyle("sequenceTrackHeaderFont");
- trackGroupAddButton = GetGUIStyle("sequenceTrackGroupAddButton");
- groupFont = GetGUIStyle("sequenceGroupFont");
- timeCursor = GetGUIStyle("Icon-TimeCursor");
- tinyFont = GetGUIStyle("tinyFont");
- foldout = GetGUIStyle("Icon-Foldout");
- mute = GetGUIStyle("Icon-Mute");
- locked = GetGUIStyle("Icon-Locked");
- autoKey = GetGUIStyle("Icon-AutoKey");
- playTimeRangeStart = GetGUIStyle("Icon-PlayAreaStart");
- playTimeRangeEnd = GetGUIStyle("Icon-PlayAreaEnd");
- selectedStyle = GetGUIStyle("Color-Selected");
- trackSwatchStyle = GetGUIStyle("Icon-TrackHeaderSwatch");
- connector = GetGUIStyle("Icon-Connector");
- keyframe = GetGUIStyle("Icon-Keyframe");
- warning = GetGUIStyle("Icon-Warning");
- extrapolationHold = GetGUIStyle("Icon-ExtrapolationHold");
- extrapolationLoop = GetGUIStyle("Icon-ExtrapolationLoop");
- extrapolationPingPong = GetGUIStyle("Icon-ExtrapolationPingPong");
- extrapolationContinue = GetGUIStyle("Icon-ExtrapolationContinue");
- bottomShadow = GetGUIStyle("Icon-Shadow");
- trackOptions = GetGUIStyle("Icon-TrackOptions");
- infiniteTrack = GetGUIStyle("Icon-InfiniteTrack");
- clipOut = GetGUIStyle("Icon-ClipOut");
- clipIn = GetGUIStyle("Icon-ClipIn");
- curves = GetGUIStyle("Icon-Curves");
- lockedBG = GetGUIStyle("Icon-LockedBG");
- activation = GetGUIStyle("Icon-Activation");
- playrange = GetGUIStyle("Icon-Playrange");
- lockButton = GetGUIStyle("IN LockButton");
- avatarMaskOn = GetGUIStyle("Icon-AvatarMaskOn");
- avatarMaskOff = GetGUIStyle("Icon-AvatarMaskOff");
- collapseMarkers = GetGUIStyle("TrackCollapseMarkerButton");
- markerMultiOverlay = GetGUIStyle("MarkerMultiOverlay");
- editModeBtn = GetGUIStyle("editModeBtn");
- showMarkersBtn = GetGUIStyle("showMarkerBtn");
- markerWarning = GetGUIStyle("markerWarningOverlay");
- sequenceSwitcher = GetGUIStyle("sequenceSwitcher");
-
- playrangeContent = new GUIContent(GetBackgroundImage(playrange)) { tooltip = "Toggle play range markers." };
-
- fontClipLoop = new GUIStyle(fontClip) { fontStyle = FontStyle.Bold };
- }
-
- public static GUIStyle GetGUIStyle(string s)
- {
- return EditorStyles.FromUSS(s);
- }
-
- public static GUIContent TrIconContent(string iconName, string tooltip = null)
- {
- return EditorGUIUtility.TrIconContent(iconName == null ? null : ResolveIcon(iconName), tooltip);
- }
-
- public static GUIContent IconContent(string iconName)
- {
- return EditorGUIUtility.IconContent(iconName == null ? null : ResolveIcon(iconName));
- }
-
- public static GUIContent TrTextContentWithIcon(string text, string tooltip, string iconName)
- {
- return EditorGUIUtility.TrTextContentWithIcon(text, tooltip, iconName == null ? null : ResolveIcon(iconName));
- }
-
- public static GUIContent TrTextContent(string text, string tooltip = null)
- {
- return EditorGUIUtility.TrTextContent(text, tooltip);
- }
-
- public static Texture2D LoadIcon(string iconName)
- {
- return EditorGUIUtility.LoadIconRequired(iconName == null ? null : ResolveIcon(iconName));
- }
-
- static string ResolveIcon(string icon)
- {
- return string.Format(k_ImagePath, icon);
- }
-
- public static string Elipsify(string label, Rect rect, GUIStyle style)
- {
- var ret = label;
-
- if (label.Length == 0)
- return ret;
-
- s_TempContent.text = label;
- float neededWidth = style.CalcSize(s_TempContent).x;
-
- return Elipsify(label, rect.width, neededWidth);
- }
-
- public static string Elipsify(string label, float destinationWidth, float neededWidth)
- {
- var ret = label;
-
- if (label.Length == 0)
- return ret;
-
- if (destinationWidth < neededWidth)
- {
- float averageWidthOfOneChar = neededWidth / label.Length;
- int floor = Mathf.Max((int)Mathf.Floor(destinationWidth / averageWidthOfOneChar), 0);
-
- if (floor < k_Elipsis.Length)
- ret = string.Empty;
- else if (floor == k_Elipsis.Length)
- ret = k_Elipsis;
- else if (floor < label.Length)
- ret = label.Substring(0, floor - k_Elipsis.Length) + k_Elipsis;
- }
-
- return ret;
- }
-
- public static Texture2D GetBackgroundImage(GUIStyle style, StyleState state = StyleState.normal)
- {
- var blockName = GUIStyleExtensions.StyleNameToBlockName(style.name, false);
- var styleBlock = EditorResources.GetStyle(blockName, state);
- return styleBlock.GetTexture(StyleCatalogKeyword.backgroundImage);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorStyles.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorStyles.cs.meta
deleted file mode 100644
index 22f86b1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/DirectorStyles.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d7b5b883d3aae8d479647d5ae6182974
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions.meta
deleted file mode 100644
index 6018dab..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: f601c0d674119f74db9c15166b3a58c4
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimatedParameterExtensions.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimatedParameterExtensions.cs
deleted file mode 100644
index 06f5e47..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimatedParameterExtensions.cs
+++ /dev/null
@@ -1,150 +0,0 @@
-using System.Collections.Generic;
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class AnimatedParameterExtensions
- {
- public static bool HasAnyAnimatableParameters(this ICurvesOwner curvesOwner)
- {
- return AnimatedParameterUtility.HasAnyAnimatableParameters(curvesOwner.asset);
- }
-
- public static IEnumerable<SerializedProperty> GetAllAnimatableParameters(this ICurvesOwner curvesOwner)
- {
- return AnimatedParameterUtility.GetAllAnimatableParameters(curvesOwner.asset);
- }
-
- public static bool IsParameterAnimatable(this ICurvesOwner curvesOwner, string parameterName)
- {
- return AnimatedParameterUtility.IsParameterAnimatable(curvesOwner.asset, parameterName);
- }
-
- public static bool IsParameterAnimated(this ICurvesOwner curvesOwner, string parameterName)
- {
- return AnimatedParameterUtility.IsParameterAnimated(curvesOwner.asset, curvesOwner.curves, parameterName);
- }
-
- public static EditorCurveBinding GetCurveBinding(this ICurvesOwner curvesOwner, string parameterName)
- {
- return AnimatedParameterUtility.GetCurveBinding(curvesOwner.asset, parameterName);
- }
-
- public static string GetUniqueRecordedClipName(this ICurvesOwner curvesOwner)
- {
- return AnimationTrackRecorder.GetUniqueRecordedClipName(curvesOwner.assetOwner, curvesOwner.defaultCurvesName);
- }
-
- public static AnimationCurve GetAnimatedParameter(this ICurvesOwner curvesOwner, string bindingName)
- {
- return AnimatedParameterUtility.GetAnimatedParameter(curvesOwner.asset, curvesOwner.curves, bindingName);
- }
-
- public static bool AddAnimatedParameterValueAt(this ICurvesOwner curvesOwner, string parameterName, float value, float time)
- {
- if (!curvesOwner.IsParameterAnimatable(parameterName))
- return false;
-
- if (curvesOwner.curves == null)
- curvesOwner.CreateCurves(curvesOwner.GetUniqueRecordedClipName());
-
- var binding = curvesOwner.GetCurveBinding(parameterName);
- var curve = AnimationUtility.GetEditorCurve(curvesOwner.curves, binding) ?? new AnimationCurve();
-
- var serializedObject = AnimatedParameterUtility.GetSerializedPlayableAsset(curvesOwner.asset);
- var property = serializedObject.FindProperty(parameterName);
-
- bool isStepped = property.propertyType == SerializedPropertyType.Boolean ||
- property.propertyType == SerializedPropertyType.Integer ||
- property.propertyType == SerializedPropertyType.Enum;
-
- CurveEditUtility.AddKeyFrameToCurve(curve, time, curvesOwner.curves.frameRate, value, isStepped);
- AnimationUtility.SetEditorCurve(curvesOwner.curves, binding, curve);
-
- return true;
- }
-
- public static void SanitizeCurvesData(this ICurvesOwner curvesOwner)
- {
- var curves = curvesOwner.curves;
- if (curves == null)
- return;
-
- // Remove any 0-length curves
- foreach (var binding in AnimationUtility.GetCurveBindings(curves))
- {
- var curve = AnimationUtility.GetEditorCurve(curves, binding);
- if (curve.length == 0)
- AnimationUtility.SetEditorCurve(curves, binding, null);
- }
-
- // If no curves remain, delete the curves asset
- if (curves.empty)
- {
- var track = curvesOwner.targetTrack;
- var timeline = track != null ? track.timelineAsset : null;
- TimelineUndo.PushDestroyUndo(timeline, track, curves, "Delete Parameter Curves");
- }
- }
-
- public static bool AddAnimatedParameter(this ICurvesOwner curvesOwner, string parameterName)
- {
- var newBinding = new EditorCurveBinding();
-
- SerializedProperty property;
- if (!InternalAddParameter(curvesOwner, parameterName, ref newBinding, out property))
- return false;
-
- var duration = (float)curvesOwner.duration;
- CurveEditUtility.AddKey(curvesOwner.curves, newBinding, property, 0);
- CurveEditUtility.AddKey(curvesOwner.curves, newBinding, property, duration);
- return true;
- }
-
- public static bool RemoveAnimatedParameter(this ICurvesOwner curvesOwner, string parameterName)
- {
- if (!curvesOwner.IsParameterAnimated(parameterName) || curvesOwner.curves == null)
- return false;
-
- var binding = curvesOwner.GetCurveBinding(parameterName);
- AnimationUtility.SetEditorCurve(curvesOwner.curves, binding, null);
- return true;
- }
-
- // Set an animated parameter. Requires the field identifier 'position.x', but will add default curves to all fields
- public static bool SetAnimatedParameter(this ICurvesOwner curvesOwner, string parameterName, AnimationCurve curve)
- {
- // this will add a basic curve for all the related parameters
- if (!curvesOwner.IsParameterAnimated(parameterName) && !curvesOwner.AddAnimatedParameter(parameterName))
- return false;
-
- var binding = curvesOwner.GetCurveBinding(parameterName);
- AnimationUtility.SetEditorCurve(curvesOwner.curves, binding, curve);
- return true;
- }
-
- static bool InternalAddParameter([NotNull] ICurvesOwner curvesOwner, string parameterName, ref EditorCurveBinding binding, out SerializedProperty property)
- {
- property = null;
-
- if (curvesOwner.IsParameterAnimated(parameterName))
- return false;
-
- var serializedObject = AnimatedParameterUtility.GetSerializedPlayableAsset(curvesOwner.asset);
- if (serializedObject == null)
- return false;
-
- property = serializedObject.FindProperty(parameterName);
- if (property == null || !AnimatedParameterUtility.IsTypeAnimatable(property.propertyType))
- return false;
-
- if (curvesOwner.curves == null)
- curvesOwner.CreateCurves(curvesOwner.GetUniqueRecordedClipName());
-
- binding = curvesOwner.GetCurveBinding(parameterName);
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimatedParameterExtensions.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimatedParameterExtensions.cs.meta
deleted file mode 100644
index 21de3d3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimatedParameterExtensions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 7d3aa106cfe752241997b3759bf80163
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimationTrackExtensions.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimationTrackExtensions.cs
deleted file mode 100644
index 41677ec..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimationTrackExtensions.cs
+++ /dev/null
@@ -1,134 +0,0 @@
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class AnimationTrackExtensions
- {
- public static void ConvertToClipMode(this AnimationTrack track)
- {
- if (!track.CanConvertToClipMode())
- return;
-
- TimelineUndo.PushUndo(track, "Convert To Clip");
-
- if (!track.infiniteClip.empty)
- {
- var animClip = track.infiniteClip;
- TimelineUndo.PushUndo(animClip, "Convert To Clip");
- TimelineUndo.PushUndo(track, "Convert To Clip");
- var start = AnimationClipCurveCache.Instance.GetCurveInfo(animClip).keyTimes.FirstOrDefault();
- animClip.ShiftBySeconds(-start);
-
- track.infiniteClip = null;
- var clip = track.CreateClip(animClip);
-
- clip.start = start;
- clip.preExtrapolationMode = track.infiniteClipPreExtrapolation;
- clip.postExtrapolationMode = track.infiniteClipPostExtrapolation;
- clip.recordable = true;
- if (Mathf.Abs(animClip.length) < TimelineClip.kMinDuration)
- {
- clip.duration = 1;
- }
-
- var animationAsset = clip.asset as AnimationPlayableAsset;
- if (animationAsset)
- {
- animationAsset.position = track.infiniteClipOffsetPosition;
- animationAsset.eulerAngles = track.infiniteClipOffsetEulerAngles;
-
- // going to / from infinite mode should reset this. infinite mode
- animationAsset.removeStartOffset = track.infiniteClipRemoveOffset;
- animationAsset.applyFootIK = track.infiniteClipApplyFootIK;
- animationAsset.loop = track.infiniteClipLoop;
-
- track.infiniteClipOffsetPosition = Vector3.zero;
- track.infiniteClipOffsetEulerAngles = Vector3.zero;
- }
-
- track.CalculateExtrapolationTimes();
- }
-
- track.infiniteClip = null;
-
- EditorUtility.SetDirty(track);
- }
-
- public static void ConvertFromClipMode(this AnimationTrack track, TimelineAsset timeline)
- {
- if (!track.CanConvertFromClipMode())
- return;
-
- TimelineUndo.PushUndo(track, "Convert From Clip");
-
- var clip = track.clips[0];
- var delta = (float)clip.start;
- track.infiniteClipTimeOffset = 0.0f;
- track.infiniteClipPreExtrapolation = clip.preExtrapolationMode;
- track.infiniteClipPostExtrapolation = clip.postExtrapolationMode;
-
- var animAsset = clip.asset as AnimationPlayableAsset;
- if (animAsset)
- {
- track.infiniteClipOffsetPosition = animAsset.position;
- track.infiniteClipOffsetEulerAngles = animAsset.eulerAngles;
- track.infiniteClipRemoveOffset = animAsset.removeStartOffset;
- track.infiniteClipApplyFootIK = animAsset.applyFootIK;
- track.infiniteClipLoop = animAsset.loop;
- }
-
- // clone it, it may not be in the same asset
- var animClip = clip.animationClip;
-
- float scale = (float)clip.timeScale;
- if (!Mathf.Approximately(scale, 1.0f))
- {
- if (!Mathf.Approximately(scale, 0.0f))
- scale = 1.0f / scale;
- animClip.ScaleTime(scale);
- }
-
- TimelineUndo.PushUndo(animClip, "Convert From Clip");
- animClip.ShiftBySeconds(delta);
-
- // manually delete the clip
- var asset = clip.asset;
- clip.asset = null;
-
- // Remove the clip, remove old assets
- ClipModifier.Delete(timeline, clip);
- TimelineUndo.PushDestroyUndo(null, track, asset, "Convert From Clip");
-
- track.infiniteClip = animClip;
-
- EditorUtility.SetDirty(track);
- }
-
- public static bool CanConvertToClipMode(this AnimationTrack track)
- {
- if (track == null || track.inClipMode)
- return false;
- return (track.infiniteClip != null && !track.infiniteClip.empty);
- }
-
- // Requirements to go from clip mode
- // - one clip, recordable, and animation clip belongs to the same asset as the track
- public static bool CanConvertFromClipMode(this AnimationTrack track)
- {
- if ((track == null) ||
- (!track.inClipMode) ||
- (track.clips.Length != 1) ||
- (track.clips[0].start < 0) ||
- (!track.clips[0].recordable))
- return false;
-
- var asset = track.clips[0].asset as AnimationPlayableAsset;
- if (asset == null)
- return false;
-
- return TimelineHelpers.HaveSameContainerAsset(track, asset.clip);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimationTrackExtensions.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimationTrackExtensions.cs.meta
deleted file mode 100644
index df81151..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/AnimationTrackExtensions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5a31542ccf4e8584ca4f60843e9d02d0
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/TrackExtensions.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/TrackExtensions.cs
deleted file mode 100644
index 637e239..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/TrackExtensions.cs
+++ /dev/null
@@ -1,495 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- // Editor-only extension methods on track assets
- static class TrackExtensions
- {
- public static readonly double kMinOverlapTime = TimeUtility.kTimeEpsilon * 1000;
-
- public static AnimationClip GetOrCreateClip(this AnimationTrack track)
- {
- if (track.infiniteClip == null && !track.inClipMode)
- track.CreateInfiniteClip(AnimationTrackRecorder.GetUniqueRecordedClipName(track, AnimationTrackRecorder.kRecordClipDefaultName));
-
- return track.infiniteClip;
- }
-
- public static TimelineClip CreateClip(this TrackAsset track, double time)
- {
- var attr = track.GetType().GetCustomAttributes(typeof(TrackClipTypeAttribute), true);
-
- if (attr.Length == 0)
- return null;
-
- if (TimelineWindow.instance.state == null)
- return null;
-
- if (attr.Length == 1)
- {
- var clipClass = (TrackClipTypeAttribute)attr[0];
-
- var clip = TimelineHelpers.CreateClipOnTrack(clipClass.inspectedType, track, TimelineWindow.instance.state);
- clip.start = time;
- return clip;
- }
-
- return null;
- }
-
- static bool Overlaps(TimelineClip blendOut, TimelineClip blendIn)
- {
- if (blendIn == blendOut)
- return false;
-
- if (Math.Abs(blendIn.start - blendOut.start) < TimeUtility.kTimeEpsilon)
- {
- return blendIn.duration >= blendOut.duration;
- }
-
- return blendIn.start >= blendOut.start && blendIn.start < blendOut.end;
- }
-
- public static void ComputeBlendsFromOverlaps(this TrackAsset asset)
- {
- ComputeBlendsFromOverlaps(asset.clips);
- }
-
- internal static void ComputeBlendsFromOverlaps(TimelineClip[] clips)
- {
- foreach (var clip in clips)
- {
- clip.blendInDuration = -1;
- clip.blendOutDuration = -1;
- }
-
- foreach (var clip in clips)
- {
- var blendIn = clip;
- var blendOut = clips
- .Where(c => Overlaps(c, blendIn))
- .OrderBy(c => c.start)
- .FirstOrDefault();
-
- if (blendOut != null)
- {
- UpdateClipIntersection(blendOut, blendIn);
- }
- }
- }
-
- internal static void UpdateClipIntersection(TimelineClip blendOutClip, TimelineClip blendInClip)
- {
- if (!blendOutClip.SupportsBlending() || !blendInClip.SupportsBlending())
- return;
-
- if (blendInClip.end < blendOutClip.end)
- return;
-
- double duration = Math.Max(0, blendOutClip.start + blendOutClip.duration - blendInClip.start);
- duration = duration <= kMinOverlapTime ? 0 : duration;
- blendOutClip.blendOutDuration = duration;
- blendInClip.blendInDuration = duration;
-
- var blendInMode = blendInClip.blendInCurveMode;
- var blendOutMode = blendOutClip.blendOutCurveMode;
-
- if (blendInMode == TimelineClip.BlendCurveMode.Manual && blendOutMode == TimelineClip.BlendCurveMode.Auto)
- {
- blendOutClip.mixOutCurve = CurveEditUtility.CreateMatchingCurve(blendInClip.mixInCurve);
- }
- else if (blendInMode == TimelineClip.BlendCurveMode.Auto && blendOutMode == TimelineClip.BlendCurveMode.Manual)
- {
- blendInClip.mixInCurve = CurveEditUtility.CreateMatchingCurve(blendOutClip.mixOutCurve);
- }
- else if (blendInMode == TimelineClip.BlendCurveMode.Auto && blendOutMode == TimelineClip.BlendCurveMode.Auto)
- {
- blendInClip.mixInCurve = null; // resets to default curves
- blendOutClip.mixOutCurve = null;
- }
- }
-
- internal static void RecursiveSubtrackClone(TrackAsset source, TrackAsset duplicate, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable, PlayableAsset assetOwner)
- {
- var subtracks = source.GetChildTracks();
- foreach (var sub in subtracks)
- {
- var newSub = TimelineHelpers.Clone(duplicate, sub, sourceTable, destTable, assetOwner);
- duplicate.AddChild(newSub);
- RecursiveSubtrackClone(sub, newSub, sourceTable, destTable, assetOwner);
-
- // Call the custom editor on Create
- var customEditor = CustomTimelineEditorCache.GetTrackEditor(newSub);
- try
- {
- customEditor.OnCreate(newSub, sub);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
-
- // registration has to happen AFTER recursion
- TimelineCreateUtilities.SaveAssetIntoObject(newSub, assetOwner);
- TimelineUndo.RegisterCreatedObjectUndo(newSub, "Duplicate");
- }
- }
-
- internal static TrackAsset Duplicate(this TrackAsset track, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable,
- TimelineAsset destinationTimeline = null)
- {
- if (track == null)
- return null;
-
- // if the destination is us, clear to avoid bad parenting (case 919421)
- if (destinationTimeline == track.timelineAsset)
- destinationTimeline = null;
-
- var timelineParent = track.parent as TimelineAsset;
- var trackParent = track.parent as TrackAsset;
- if (timelineParent == null && trackParent == null)
- {
- Debug.LogWarning("Cannot duplicate track because it is not parented to known type");
- return null;
- }
-
- // Determine who the final parent is. If we are pasting into another track, it's always the timeline.
- // Otherwise it's the original parent
- PlayableAsset finalParent = destinationTimeline != null ? destinationTimeline : track.parent;
-
- // grab the list of tracks to generate a name from (923360) to get the list of names
- // no need to do this part recursively
- var finalTrackParent = finalParent as TrackAsset;
- var finalTimelineAsset = finalParent as TimelineAsset;
- var otherTracks = (finalTimelineAsset != null) ? finalTimelineAsset.trackObjects : finalTrackParent.subTracksObjects;
-
- // Important to create the new objects before pushing the original undo, or redo breaks the
- // sequence
- var newTrack = TimelineHelpers.Clone(finalParent, track, sourceTable, destTable, finalParent);
- newTrack.name = TimelineCreateUtilities.GenerateUniqueActorName(otherTracks, newTrack.name);
-
- RecursiveSubtrackClone(track, newTrack, sourceTable, destTable, finalParent);
- TimelineCreateUtilities.SaveAssetIntoObject(newTrack, finalParent);
- TimelineUndo.RegisterCreatedObjectUndo(newTrack, "Duplicate");
- TimelineUndo.PushUndo(finalParent, "Duplicate");
-
- if (destinationTimeline != null) // other timeline
- destinationTimeline.AddTrackInternal(newTrack);
- else if (timelineParent != null) // this timeline, no parent
- ReparentTracks(new List<TrackAsset> { newTrack }, timelineParent, timelineParent.GetRootTracks().Last(), false);
- else // this timeline, with parent
- trackParent.AddChild(newTrack);
-
- // Call the custom editor. this check prevents the call when copying to the clipboard
- if (destinationTimeline == null || destinationTimeline == TimelineEditor.inspectedAsset)
- {
- var customEditor = CustomTimelineEditorCache.GetTrackEditor(newTrack);
- try
- {
- customEditor.OnCreate(newTrack, track);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
- }
-
- return newTrack;
- }
-
- // Reparents a list of tracks to a new parent
- // the new parent cannot be null (has to be track asset or sequence)
- // the insertAfter can be null (will not reorder)
- internal static bool ReparentTracks(List<TrackAsset> tracksToMove, PlayableAsset targetParent,
- TrackAsset insertMarker = null, bool insertBefore = false)
- {
- var targetParentTrack = targetParent as TrackAsset;
- var targetSequenceTrack = targetParent as TimelineAsset;
-
- if (tracksToMove == null || tracksToMove.Count == 0 || (targetParentTrack == null && targetSequenceTrack == null))
- return false;
-
- // invalid parent type on a track
- if (targetParentTrack != null && tracksToMove.Any(x => !TimelineCreateUtilities.ValidateParentTrack(targetParentTrack, x.GetType())))
- return false;
-
- // no valid tracks means this is simply a rearrangement
- var validTracks = tracksToMove.Where(x => x.parent != targetParent).ToList();
- if (insertMarker == null && !validTracks.Any())
- return false;
-
- var parents = validTracks.Select(x => x.parent).Where(x => x != null).Distinct().ToList();
-
- // push the current state of the tracks that will change
- foreach (var p in parents)
- {
- TimelineUndo.PushUndo(p, "Reparent");
- }
- foreach (var t in validTracks)
- {
- TimelineUndo.PushUndo(t, "Reparent");
- }
- TimelineUndo.PushUndo(targetParent, "Reparent");
-
- // need to reparent tracks first, before moving them.
- foreach (var t in validTracks)
- {
- if (t.parent != targetParent)
- {
- TrackAsset toMoveParent = t.parent as TrackAsset;
- TimelineAsset toMoveTimeline = t.parent as TimelineAsset;
- if (toMoveTimeline != null)
- {
- toMoveTimeline.RemoveTrack(t);
- }
- else if (toMoveParent != null)
- {
- toMoveParent.RemoveSubTrack(t);
- }
-
- if (targetParentTrack != null)
- {
- targetParentTrack.AddChild(t);
- targetParentTrack.SetCollapsed(false);
- }
- else
- {
- targetSequenceTrack.AddTrackInternal(t);
- }
- }
- }
-
-
- if (insertMarker != null)
- {
- // re-ordering track. This is using internal APIs, so invalidation of the tracks must be done manually to avoid
- // cache mismatches
- var children = targetParentTrack != null ? targetParentTrack.subTracksObjects : targetSequenceTrack.trackObjects;
- TimelineUtility.ReorderTracks(children, tracksToMove, insertMarker, insertBefore);
- if (targetParentTrack != null)
- targetParentTrack.Invalidate();
- if (insertMarker.timelineAsset != null)
- insertMarker.timelineAsset.Invalidate();
- }
-
- return true;
- }
-
- internal static IEnumerable<TrackAsset> FilterTracks(IEnumerable<TrackAsset> tracks)
- {
- var nTracks = tracks.Count();
- // Duplicate is recursive. If should not have parent and child in the list
- var hash = new HashSet<TrackAsset>(tracks);
- var take = new Dictionary<TrackAsset, bool>(nTracks);
-
- foreach (var track in tracks)
- {
- var parent = track.parent as TrackAsset;
- var foundParent = false;
- // go up the hierarchy
- while (parent != null && !foundParent)
- {
- if (hash.Contains(parent))
- {
- foundParent = true;
- }
-
- parent = parent.parent as TrackAsset;
- }
-
- take[track] = !foundParent;
- }
-
- foreach (var track in tracks)
- {
- if (take[track])
- yield return track;
- }
- }
-
- internal static bool IsVisibleRecursive(this TrackAsset track)
- {
- var t = track;
- while ((t = t.parent as TrackAsset) != null)
- {
- if (t.GetCollapsed())
- return false;
- }
-
- return true;
- }
-
- internal static bool GetCollapsed(this TrackAsset track)
- {
- return TimelineWindowViewPrefs.IsTrackCollapsed(track);
- }
-
- internal static void SetCollapsed(this TrackAsset track, bool collapsed)
- {
- TimelineWindowViewPrefs.SetTrackCollapsed(track, collapsed);
- }
-
- internal static bool GetShowMarkers(this TrackAsset track)
- {
- return TimelineWindowViewPrefs.IsShowMarkers(track);
- }
-
- internal static void SetShowMarkers(this TrackAsset track, bool collapsed)
- {
- TimelineWindowViewPrefs.SetTrackShowMarkers(track, collapsed);
- }
-
- internal static bool GetShowInlineCurves(this TrackAsset track)
- {
- return TimelineWindowViewPrefs.GetShowInlineCurves(track);
- }
-
- internal static void SetShowInlineCurves(this TrackAsset track, bool inlineOn)
- {
- TimelineWindowViewPrefs.SetShowInlineCurves(track, inlineOn);
- }
-
- internal static bool ShouldShowInfiniteClipEditor(this TrackAsset track)
- {
- var animationTrack = track as AnimationTrack;
- if (animationTrack != null)
- return animationTrack.ShouldShowInfiniteClipEditor();
-
- return track.HasAnyAnimatableParameters();
- }
-
- internal static bool ShouldShowInfiniteClipEditor(this AnimationTrack track)
- {
- return track != null && !track.inClipMode && track.infiniteClip != null;
- }
-
- // Special method to remove a track that is in a broken state. i.e. the script won't load
- internal static bool RemoveBrokenTrack(PlayableAsset parent, ScriptableObject track)
- {
- var parentTrack = parent as TrackAsset;
- var parentTimeline = parent as TimelineAsset;
-
- if (parentTrack == null && parentTimeline == null)
- throw new ArgumentException("parent is not a valid parent type", "parent");
-
- // this object must be a Unity null, but not actually null;
- object trackAsObject = track;
- if (trackAsObject == null || track != null) // yes, this is correct
- throw new ArgumentException("track is not in a broken state");
-
- // this belongs to a parent track
- if (parentTrack != null)
- {
- int index = parentTrack.subTracksObjects.FindIndex(t => t.GetInstanceID() == track.GetInstanceID());
- if (index >= 0)
- {
- TimelineUndo.PushUndo(parentTrack, "Remove Track");
- parentTrack.subTracksObjects.RemoveAt(index);
- parentTrack.Invalidate();
- Undo.DestroyObjectImmediate(track);
- return true;
- }
- }
- else if (parentTimeline != null)
- {
- int index = parentTimeline.trackObjects.FindIndex(t => t.GetInstanceID() == track.GetInstanceID());
- if (index >= 0)
- {
- TimelineUndo.PushUndo(parentTimeline, "Remove Track");
- parentTimeline.trackObjects.RemoveAt(index);
- parentTimeline.Invalidate();
- Undo.DestroyObjectImmediate(track);
- return true;
- }
- }
-
- return false;
- }
-
- // Find the gap at the given time
- // return true if there is a gap, false if there is an intersection
- // endGap will be Infinity if the gap has no end
- internal static bool GetGapAtTime(this TrackAsset track, double time, out double startGap, out double endGap)
- {
- startGap = 0;
- endGap = Double.PositiveInfinity;
-
- if (track == null || !track.GetClips().Any())
- {
- return false;
- }
-
- var discreteTime = new DiscreteTime(time);
-
- track.SortClips();
- var sortedByStartTime = track.clips;
- for (int i = 0; i < sortedByStartTime.Length; i++)
- {
- var clip = sortedByStartTime[i];
-
- // intersection
- if (discreteTime >= new DiscreteTime(clip.start) && discreteTime < new DiscreteTime(clip.end))
- {
- endGap = time;
- startGap = time;
- return false;
- }
-
- if (clip.end < time)
- {
- startGap = clip.end;
- }
- if (clip.start > time)
- {
- endGap = clip.start;
- break;
- }
- }
-
- if (endGap - startGap < TimelineClip.kMinDuration)
- {
- startGap = time;
- endGap = time;
- return false;
- }
-
- return true;
- }
-
- public static bool IsCompatibleWithClip(this TrackAsset track, TimelineClip clip)
- {
- if (track == null || clip == null || clip.asset == null)
- return false;
-
- return TypeUtility.GetPlayableAssetsHandledByTrack(track.GetType()).Contains(clip.asset.GetType());
- }
-
- // Get a flattened list of all child tracks
- public static void GetFlattenedChildTracks(this TrackAsset asset, List<TrackAsset> list)
- {
- if (asset == null || list == null)
- return;
-
- foreach (var track in asset.GetChildTracks())
- {
- list.Add(track);
- GetFlattenedChildTracks(track, list);
- }
- }
-
- public static IEnumerable<TrackAsset> GetFlattenedChildTracks(this TrackAsset asset)
- {
- if (asset == null || !asset.GetChildTracks().Any())
- return Enumerable.Empty<TrackAsset>();
-
- var flattenedChildTracks = new List<TrackAsset>();
- GetFlattenedChildTracks(asset, flattenedChildTracks);
- return flattenedChildTracks;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/TrackExtensions.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/TrackExtensions.cs.meta
deleted file mode 100644
index 1e9f0c2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Extensions/TrackExtensions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5b24618beecc3bf41acadfcf2246d772
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items.meta
deleted file mode 100644
index 65e8d92..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 3a5038547af7c7f46bd90a015862e0b3
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ClipItem.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ClipItem.cs
deleted file mode 100644
index d500257..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ClipItem.cs
+++ /dev/null
@@ -1,143 +0,0 @@
-using System;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class ClipItem : IBlendable, ITrimmable
- {
- readonly TimelineClip m_Clip;
-
- public TimelineClip clip
- {
- get { return m_Clip; }
- }
-
- public ClipItem(TimelineClip clip)
- {
- m_Clip = clip;
- }
-
- public TrackAsset parentTrack
- {
- get { return m_Clip.parentTrack; }
- set { m_Clip.parentTrack = value; }
- }
-
- public double start
- {
- get { return m_Clip.start; }
- set { m_Clip.start = value; }
- }
-
- public double end
- {
- get { return m_Clip.end; }
- }
-
- public double duration
- {
- get { return m_Clip.duration; }
- }
-
- public bool IsCompatibleWithTrack(TrackAsset track)
- {
- return track.IsCompatibleWithClip(m_Clip);
- }
-
- public void PushUndo(string operation)
- {
- TimelineUndo.PushUndo(m_Clip.parentTrack, operation);
- }
-
- public TimelineItemGUI gui
- {
- get { return ItemToItemGui.GetGuiForClip(m_Clip); }
- }
-
- public bool supportsBlending
- {
- get { return m_Clip.SupportsBlending(); }
- }
-
- public bool hasLeftBlend
- {
- get { return m_Clip.hasBlendIn; }
- }
-
- public bool hasRightBlend
- {
- get { return m_Clip.hasBlendOut; }
- }
-
- public double leftBlendDuration
- {
- get { return m_Clip.hasBlendIn ? m_Clip.blendInDuration : m_Clip.easeInDuration; }
- }
-
- public double rightBlendDuration
- {
- get { return m_Clip.hasBlendOut ? m_Clip.blendOutDuration : m_Clip.easeOutDuration; }
- }
-
- public void SetStart(double time)
- {
- ClipModifier.SetStart(m_Clip, time);
- }
-
- public void SetEnd(double time, bool affectTimeScale)
- {
- ClipModifier.SetEnd(m_Clip, time, affectTimeScale);
- }
-
- public void Delete()
- {
- EditorClipFactory.RemoveEditorClip(m_Clip);
- ClipModifier.Delete(m_Clip.parentTrack.timelineAsset, m_Clip);
- }
-
- public void TrimStart(double time)
- {
- ClipModifier.TrimStart(m_Clip, time);
- }
-
- public void TrimEnd(double time)
- {
- ClipModifier.TrimEnd(m_Clip, time);
- }
-
- public ITimelineItem CloneTo(TrackAsset parent, double time)
- {
- return new ClipItem(TimelineHelpers.Clone(m_Clip, TimelineEditor.inspectedDirector, TimelineEditor.inspectedDirector, time, parent));
- }
-
- public override string ToString()
- {
- return m_Clip.ToString();
- }
-
- public bool Equals(ClipItem otherClip)
- {
- if (ReferenceEquals(null, otherClip)) return false;
- if (ReferenceEquals(this, otherClip)) return true;
- return Equals(m_Clip, otherClip.m_Clip);
- }
-
- public override int GetHashCode()
- {
- return (m_Clip != null ? m_Clip.GetHashCode() : 0);
- }
-
- public bool Equals(ITimelineItem other)
- {
- return Equals((object)other);
- }
-
- public override bool Equals(object obj)
- {
- if (ReferenceEquals(null, obj)) return false;
- if (ReferenceEquals(this, obj)) return true;
- var other = obj as ClipItem;
- return other != null && Equals(other);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ClipItem.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ClipItem.cs.meta
deleted file mode 100644
index df97840..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ClipItem.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d143f3edd0494bc4c98a421bd59564fa
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ITimelineItem.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ITimelineItem.cs
deleted file mode 100644
index 092c2b0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ITimelineItem.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-using System;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- interface ITimelineItem : IEquatable<ITimelineItem>
- {
- double start { get; set; }
- double end { get; }
- double duration { get; }
-
- TrackAsset parentTrack { get; set; }
- bool IsCompatibleWithTrack(TrackAsset track);
-
- void Delete();
- ITimelineItem CloneTo(TrackAsset parent, double time);
- void PushUndo(string operation);
-
- TimelineItemGUI gui { get; }
- }
-
- interface ITrimmable : ITimelineItem
- {
- void SetStart(double time);
- void SetEnd(double time, bool affectTimeScale);
- void TrimStart(double time);
- void TrimEnd(double time);
- }
-
- interface IBlendable : ITimelineItem
- {
- bool supportsBlending { get; }
- bool hasLeftBlend { get; }
- bool hasRightBlend { get; }
-
- double leftBlendDuration { get; }
- double rightBlendDuration { get; }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ITimelineItem.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ITimelineItem.cs.meta
deleted file mode 100644
index a23827c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ITimelineItem.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 2c87ec8c97244cd47945ec90a99abe35
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsGroup.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsGroup.cs
deleted file mode 100644
index 41ff657..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsGroup.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class ItemsGroup
- {
- readonly ITimelineItem[] m_Items;
- readonly ITimelineItem m_LeftMostItem;
- readonly ITimelineItem m_RightMostItem;
-
- public ITimelineItem[] items
- {
- get { return m_Items; }
- }
-
- public double start
- {
- get { return m_LeftMostItem.start; }
- set
- {
- var offset = value - m_LeftMostItem.start;
-
- foreach (var clip in m_Items)
- clip.start += offset;
- }
- }
-
- public double end
- {
- get { return m_RightMostItem.end; }
- }
-
- public ITimelineItem leftMostItem
- {
- get { return m_LeftMostItem; }
- }
-
- public ITimelineItem rightMostItem
- {
- get { return m_RightMostItem; }
- }
-
- public ItemsGroup(IEnumerable<ITimelineItem> items)
- {
- Debug.Assert(items != null && items.Any());
-
- m_Items = items.ToArray();
- m_LeftMostItem = null;
- m_RightMostItem = null;
-
- foreach (var item in m_Items)
- {
- if (m_LeftMostItem == null || item.start < m_LeftMostItem.start)
- m_LeftMostItem = item;
-
- if (m_RightMostItem == null || item.end > m_RightMostItem.end)
- m_RightMostItem = item;
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsGroup.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsGroup.cs.meta
deleted file mode 100644
index 1da6246..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsGroup.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1ec4b8ec4b34f4344bac53c19288eaa2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsPerTrack.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsPerTrack.cs
deleted file mode 100644
index 78a86ef..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsPerTrack.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class ItemsPerTrack
- {
- public virtual TrackAsset targetTrack { get; }
-
- public IEnumerable<ITimelineItem> items
- {
- get { return m_ItemsGroup.items; }
- }
-
- public IEnumerable<TimelineClip> clips
- {
- get { return m_ItemsGroup.items.OfType<ClipItem>().Select(i => i.clip); }
- }
-
- public IEnumerable<IMarker> markers
- {
- get { return m_ItemsGroup.items.OfType<MarkerItem>().Select(i => i.marker); }
- }
-
- public ITimelineItem leftMostItem
- {
- get { return m_ItemsGroup.leftMostItem; }
- }
-
- public ITimelineItem rightMostItem
- {
- get { return m_ItemsGroup.rightMostItem; }
- }
-
- protected readonly ItemsGroup m_ItemsGroup;
-
- public ItemsPerTrack(TrackAsset targetTrack, IEnumerable<ITimelineItem> items)
- {
- this.targetTrack = targetTrack;
- m_ItemsGroup = new ItemsGroup(items);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsPerTrack.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsPerTrack.cs.meta
deleted file mode 100644
index 77da4ae..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsPerTrack.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 647e1bbd3809b30459d946b4a1ddf22b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsUtils.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsUtils.cs
deleted file mode 100644
index 90e7985..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsUtils.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class ItemsUtils
- {
- static readonly Dictionary<TimelineClip, ClipItem> s_ClipCache = new Dictionary<TimelineClip, ClipItem>();
- static readonly Dictionary<IMarker, MarkerItem> s_MarkerCache = new Dictionary<IMarker, MarkerItem>();
-
- public static IEnumerable<ItemsPerTrack> ToItemsPerTrack(this IEnumerable<ITimelineItem> items)
- {
- var groupedItems = items.GroupBy(c => c.parentTrack);
- foreach (var group in groupedItems)
- {
- yield return new ItemsPerTrack(group.Key, group.ToArray());
- }
- }
-
- public static ITimelineItem ToItem(this TimelineClip clip)
- {
- if (s_ClipCache.ContainsKey(clip))
- return s_ClipCache[clip];
-
- var ret = new ClipItem(clip);
- s_ClipCache.Add(clip, ret);
- return ret;
- }
-
- public static ITimelineItem ToItem(this IMarker marker)
- {
- if (s_MarkerCache.ContainsKey(marker))
- return s_MarkerCache[marker];
-
- var ret = new MarkerItem(marker);
- s_MarkerCache.Add(marker, ret);
- return ret;
- }
-
- public static IEnumerable<ITimelineItem> ToItems(this IEnumerable<TimelineClip> clips)
- {
- return clips.Select(ToItem);
- }
-
- public static IEnumerable<ITimelineItem> ToItems(this IEnumerable<IMarker> markers)
- {
- return markers.Select(ToItem);
- }
-
- public static IEnumerable<ITimelineItem> GetItems(this TrackAsset track)
- {
- var list = track.clips.Select(clip => (ITimelineItem) new ClipItem(clip)).ToList();
- list.AddRange(track.GetMarkers().Select(marker => (ITimelineItem) new MarkerItem(marker)));
-
- list = list.OrderBy(x => x.start).ThenBy(x => x.end).ToList();
- return list;
- }
-
- public static void GetItemRange(this TrackAsset track, out double start, out double end)
- {
- start = 0;
- end = 0;
- var items = track.GetItems().ToList();
- if (items.Any())
- {
- start = items.Min(p => p.start);
- end = items.Max(p => p.end);
- }
- }
-
- public static IEnumerable<ITimelineItem> GetItemsExcept(this TrackAsset track, IEnumerable<ITimelineItem> items)
- {
- return GetItems(track).Except(items);
- }
-
- public static IEnumerable<Type> GetItemTypes(IEnumerable<ITimelineItem> items)
- {
- var types = new List<Type>();
- if (items.OfType<ClipItem>().Any())
- types.Add(typeof(ClipItem));
- if (items.OfType<MarkerItem>().Any())
- types.Add(typeof(MarkerItem));
-
- return types;
- }
-
- public static IEnumerable<Type> GetItemTypes(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- return GetItemTypes(itemsGroups.SelectMany(i => i.items)).Distinct();
- }
-
- public static void SetItemsStartTime(IEnumerable<ItemsPerTrack> newItems, double time)
- {
- var startTimes = newItems.Select(d => d.items.Min(x => x.start)).ToList();
- var min = startTimes.Min();
- startTimes = startTimes.Select(x => x - min + time).ToList();
-
- for (int i = 0; i < newItems.Count(); ++i)
- EditModeUtils.SetStart(newItems.ElementAt(i).items, startTimes[i]);
- }
-
- public static double TimeGapBetweenItems(ITimelineItem leftItem, ITimelineItem rightItem, WindowState state)
- {
- if (leftItem is MarkerItem && rightItem is MarkerItem)
- {
- var markerType = ((MarkerItem)leftItem).marker.GetType();
- var gap = state.PixelDeltaToDeltaTime(StyleManager.UssStyleForType(markerType).fixedWidth);
- return gap;
- }
-
- return 0.0;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsUtils.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsUtils.cs.meta
deleted file mode 100644
index 65dca1e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/ItemsUtils.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5653477a5039f674da8f856adcf47172
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/MarkerItem.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/MarkerItem.cs
deleted file mode 100644
index e62c348..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/MarkerItem.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-using System;
-using UnityEngine.Timeline;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class MarkerItem : ITimelineItem
- {
- readonly IMarker m_Marker;
-
- public IMarker marker
- {
- get { return m_Marker; }
- }
-
- public MarkerItem(IMarker marker)
- {
- m_Marker = marker;
- }
-
- public TrackAsset parentTrack
- {
- get { return m_Marker.parent; }
- set {}
- }
-
- public double start
- {
- get { return m_Marker.time; }
- set { m_Marker.time = value; }
- }
-
- public double end
- {
- get { return m_Marker.time; }
- }
-
- public double duration
- {
- get { return 0.0; }
- }
-
- public bool IsCompatibleWithTrack(TrackAsset track)
- {
- return true;
- }
-
- public void PushUndo(string operation)
- {
- var m = m_Marker as Object;
- if (m != null)
- {
- TimelineUndo.PushUndo(m, operation);
- }
- else
- {
- TimelineUndo.PushUndo(m_Marker.parent, operation);
- }
- }
-
- public TimelineItemGUI gui
- {
- get { return ItemToItemGui.GetGuiForMarker(m_Marker); }
- }
-
- public void Delete()
- {
- MarkerModifier.DeleteMarker(m_Marker);
- }
-
- public ITimelineItem CloneTo(TrackAsset parent, double time)
- {
- var item = new MarkerItem(MarkerModifier.CloneMarkerToParent(m_Marker, parent));
- item.start = time;
- return item;
- }
-
- protected bool Equals(MarkerItem otherMarker)
- {
- return Equals(m_Marker, otherMarker.m_Marker);
- }
-
- public override int GetHashCode()
- {
- return (m_Marker != null ? m_Marker.GetHashCode() : 0);
- }
-
- public override string ToString()
- {
- return m_Marker.ToString();
- }
-
- public bool Equals(ITimelineItem other)
- {
- return Equals((object)other);
- }
-
- public override bool Equals(object obj)
- {
- if (ReferenceEquals(null, obj)) return false;
- if (ReferenceEquals(this, obj)) return true;
- var other = obj as MarkerItem;
- return other != null && Equals(other);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/MarkerItem.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/MarkerItem.cs.meta
deleted file mode 100644
index 8d20ad8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Items/MarkerItem.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 452534715106564439d2240d82999d88
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators.meta
deleted file mode 100644
index c5ec4d2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: cae60a41b37427b48a00027b3e0fc1e6
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete.meta
deleted file mode 100644
index b18202d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: db34f310723c62440a05d3e69f262a70
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeMix.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeMix.cs
deleted file mode 100644
index 2e8a429..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeMix.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-
-namespace UnityEditor.Timeline
-{
- class AddDeleteItemModeMix : IAddDeleteItemMode
- {
- public void InsertItemsAtTime(IEnumerable<ItemsPerTrack> itemsGroups, double requestedTime)
- {
- ItemsUtils.SetItemsStartTime(itemsGroups, requestedTime);
- EditModeMixUtils.PrepareItemsForInsertion(itemsGroups);
-
- if (!EditModeMixUtils.CanInsert(itemsGroups))
- {
- var validTime = itemsGroups.Select(c => c.targetTrack).Max(parent => parent.duration);
- ItemsUtils.SetItemsStartTime(itemsGroups, validTime);
- }
- }
-
- public void RemoveItems(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeMix.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeMix.cs.meta
deleted file mode 100644
index d3d73d7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeMix.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 41e14f40b915ca743a3dffd18ffc65ab
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeReplace.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeReplace.cs
deleted file mode 100644
index 6cda779..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeReplace.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using System.Collections.Generic;
-
-namespace UnityEditor.Timeline
-{
- class AddDeleteItemModeReplace : IAddDeleteItemMode
- {
- public void InsertItemsAtTime(IEnumerable<ItemsPerTrack> itemsGroups, double requestedTime)
- {
- ItemsUtils.SetItemsStartTime(itemsGroups, requestedTime);
- EditModeReplaceUtils.Insert(itemsGroups);
- }
-
- public void RemoveItems(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeReplace.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeReplace.cs.meta
deleted file mode 100644
index ea32217..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeReplace.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ea28dc637ae40484da709200d3328587
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeRipple.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeRipple.cs
deleted file mode 100644
index 97de7d1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeRipple.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using System.Collections.Generic;
-
-namespace UnityEditor.Timeline
-{
- class AddDeleteItemModeRipple : IAddDeleteItemMode
- {
- public void InsertItemsAtTime(IEnumerable<ItemsPerTrack> itemsGroups, double requestedTime)
- {
- ItemsUtils.SetItemsStartTime(itemsGroups, requestedTime);
- EditModeRippleUtils.Insert(itemsGroups);
- }
-
- public void RemoveItems(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- EditModeRippleUtils.Remove(itemsGroups);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeRipple.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeRipple.cs.meta
deleted file mode 100644
index 94155e5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/AddDeleteItemModeRipple.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 88338eb35defad644a48718188e8f219
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/IAddDeleteItemMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/IAddDeleteItemMode.cs
deleted file mode 100644
index e943ac1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/IAddDeleteItemMode.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using System.Collections.Generic;
-
-namespace UnityEditor.Timeline
-{
- interface IAddDeleteItemMode
- {
- void InsertItemsAtTime(IEnumerable<ItemsPerTrack> itemsGroups, double requestedTime);
- void RemoveItems(IEnumerable<ItemsPerTrack> itemsGroups);
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/IAddDeleteItemMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/IAddDeleteItemMode.cs.meta
deleted file mode 100644
index 1296e1f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/AddDelete/IAddDeleteItemMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4db13e1060deaae48b30246ed63b7c9b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors.meta
deleted file mode 100644
index 0647cb5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 4ad09461bf994e54da846f726a23118e
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors/TimelineCursors.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors/TimelineCursors.cs
deleted file mode 100644
index 4935cab..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors/TimelineCursors.cs
+++ /dev/null
@@ -1,95 +0,0 @@
-using System.Collections.Generic;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class TimelineCursors
- {
- public enum CursorType
- {
- MixBoth,
- MixLeft,
- MixRight,
- Replace,
- Ripple,
-
- Pan
- }
-
- class CursorInfo
- {
- public readonly string assetPath;
- public readonly Vector2 hotSpot;
- public readonly MouseCursor mouseCursorType;
-
- public CursorInfo(string assetPath, Vector2 hotSpot, MouseCursor mouseCursorType)
- {
- this.assetPath = assetPath;
- this.hotSpot = hotSpot;
- this.mouseCursorType = mouseCursorType;
- }
- }
-
- const string k_CursorAssetRoot = "Cursors/";
- const string k_CursorAssetsNamespace = "Timeline.";
- const string k_CursorAssetExtension = ".png";
-
- const string k_MixBothCursorAssetName = k_CursorAssetsNamespace + "MixBoth" + k_CursorAssetExtension;
- const string k_MixLeftCursorAssetName = k_CursorAssetsNamespace + "MixLeft" + k_CursorAssetExtension;
- const string k_MixRightCursorAssetName = k_CursorAssetsNamespace + "MixRight" + k_CursorAssetExtension;
- const string k_ReplaceCursorAssetName = k_CursorAssetsNamespace + "Replace" + k_CursorAssetExtension;
- const string k_RippleCursorAssetName = k_CursorAssetsNamespace + "Ripple" + k_CursorAssetExtension;
-
- static readonly string s_PlatformPath = (Application.platform == RuntimePlatform.WindowsEditor) ? "Windows/" : "macOS/";
- static readonly string s_CursorAssetDirectory = k_CursorAssetRoot + s_PlatformPath;
-
- static readonly Dictionary<CursorType, CursorInfo> s_CursorInfoLookup = new Dictionary<CursorType, CursorInfo>
- {
- {CursorType.MixBoth, new CursorInfo(s_CursorAssetDirectory + k_MixBothCursorAssetName, new Vector2(16, 18), MouseCursor.CustomCursor)},
- {CursorType.MixLeft, new CursorInfo(s_CursorAssetDirectory + k_MixLeftCursorAssetName, new Vector2(7, 18), MouseCursor.CustomCursor)},
- {CursorType.MixRight, new CursorInfo(s_CursorAssetDirectory + k_MixRightCursorAssetName, new Vector2(25, 18), MouseCursor.CustomCursor)},
- {CursorType.Replace, new CursorInfo(s_CursorAssetDirectory + k_ReplaceCursorAssetName, new Vector2(16, 28), MouseCursor.CustomCursor)},
- {CursorType.Ripple, new CursorInfo(s_CursorAssetDirectory + k_RippleCursorAssetName, new Vector2(26, 19), MouseCursor.CustomCursor)},
- {CursorType.Pan, new CursorInfo(null, Vector2.zero, MouseCursor.Pan)}
- };
-
- static readonly Dictionary<string, Texture2D> s_CursorAssetCache = new Dictionary<string, Texture2D>();
-
- static CursorType? s_CurrentCursor;
-
- public static void SetCursor(CursorType cursorType)
- {
- if (s_CurrentCursor.HasValue && s_CurrentCursor.Value == cursorType) return;
-
- s_CurrentCursor = cursorType;
- var cursorInfo = s_CursorInfoLookup[cursorType];
-
- Texture2D cursorAsset = null;
-
- if (cursorInfo.mouseCursorType == MouseCursor.CustomCursor)
- {
- cursorAsset = LoadCursorAsset(cursorInfo.assetPath);
- }
-
- EditorGUIUtility.SetCurrentViewCursor(cursorAsset, cursorInfo.hotSpot, cursorInfo.mouseCursorType);
- }
-
- public static void ClearCursor()
- {
- if (!s_CurrentCursor.HasValue) return;
-
- EditorGUIUtility.ClearCurrentViewCursor();
- s_CurrentCursor = null;
- }
-
- static Texture2D LoadCursorAsset(string assetPath)
- {
- if (!s_CursorAssetCache.ContainsKey(assetPath))
- {
- s_CursorAssetCache.Add(assetPath, (Texture2D)EditorGUIUtility.Load(assetPath));
- }
-
- return s_CursorAssetCache[assetPath];
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors/TimelineCursors.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors/TimelineCursors.cs.meta
deleted file mode 100644
index 0e017d0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Cursors/TimelineCursors.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f16e09785c984c445a0467e30f845636
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditMode.cs
deleted file mode 100644
index 475b586..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditMode.cs
+++ /dev/null
@@ -1,344 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class EditMode
- {
- public enum EditType
- {
- None = -1,
- Mix = 0,
- Ripple = 1,
- Replace = 2
- }
-
- interface ISubEditMode
- {
- IMoveItemMode moveItemMode { get; }
- IMoveItemDrawer moveItemDrawer { get; }
- ITrimItemMode trimItemMode { get; }
- ITrimItemDrawer trimItemDrawer { get; }
- IAddDeleteItemMode addDeleteItemMode { get; }
-
- Color color { get; }
- KeyCode clutchKey { get; }
-
- void Reset();
- }
-
- class SubEditMode<TMoveMode, TTrimMode, TAddDeleteMode>: ISubEditMode
- where TMoveMode : class, IMoveItemMode, IMoveItemDrawer, new()
- where TTrimMode : class, ITrimItemMode, ITrimItemDrawer, new()
- where TAddDeleteMode : class, IAddDeleteItemMode, new()
- {
- public SubEditMode(Color guiColor, KeyCode key)
- {
- color = guiColor;
- clutchKey = key;
- Reset();
- }
-
- public void Reset()
- {
- m_MoveItemMode = new TMoveMode();
- m_TrimItemMode = new TTrimMode();
- m_AddDeleteItemMode = new TAddDeleteMode();
- }
-
- TMoveMode m_MoveItemMode;
- TTrimMode m_TrimItemMode;
- TAddDeleteMode m_AddDeleteItemMode;
-
- public IMoveItemMode moveItemMode { get { return m_MoveItemMode; } }
- public IMoveItemDrawer moveItemDrawer { get { return m_MoveItemMode; } }
- public ITrimItemMode trimItemMode { get { return m_TrimItemMode; } }
- public ITrimItemDrawer trimItemDrawer { get { return m_TrimItemMode; } }
- public IAddDeleteItemMode addDeleteItemMode { get { return m_AddDeleteItemMode; } }
- public Color color { get; }
- public KeyCode clutchKey { get; }
- }
-
- static readonly Dictionary<EditType, ISubEditMode> k_EditModes = new Dictionary<EditType, ISubEditMode>
- {
- { EditType.Mix, new SubEditMode<MoveItemModeMix, TrimItemModeMix, AddDeleteItemModeMix>(DirectorStyles.kMixToolColor, KeyCode.Alpha1) },
- { EditType.Ripple, new SubEditMode<MoveItemModeRipple, TrimItemModeRipple, AddDeleteItemModeRipple>(DirectorStyles.kRippleToolColor, KeyCode.Alpha2) },
- { EditType.Replace, new SubEditMode<MoveItemModeReplace, TrimItemModeReplace, AddDeleteItemModeReplace>(DirectorStyles.kReplaceToolColor, KeyCode.Alpha3) }
- };
-
- static EditType s_CurrentEditType = EditType.Mix;
- static EditType s_OverrideEditType = EditType.None;
-
- static ITrimmable s_CurrentTrimItem;
- static TrimEdge s_CurrentTrimDirection;
- static MoveItemHandler s_CurrentMoveItemHandler;
- static EditModeInputHandler s_InputHandler = new EditModeInputHandler();
-
- static ITrimItemMode trimMode
- {
- get { return GetSubEditMode(editType).trimItemMode; }
- }
-
- static ITrimItemDrawer trimDrawer
- {
- get { return GetSubEditMode(editType).trimItemDrawer; }
- }
-
- static IMoveItemMode moveMode
- {
- get { return GetSubEditMode(editType).moveItemMode; }
- }
-
- static IMoveItemDrawer moveDrawer
- {
- get { return GetSubEditMode(editType).moveItemDrawer; }
- }
-
- static IAddDeleteItemMode addDeleteMode
- {
- get { return GetSubEditMode(editType).addDeleteItemMode; }
- }
-
- public static EditModeInputHandler inputHandler
- {
- get { return s_InputHandler; }
- }
-
- static Color modeColor
- {
- get { return GetSubEditMode(editType).color; }
- }
-
- public static EditType editType
- {
- get
- {
- if (s_OverrideEditType != EditType.None)
- return s_OverrideEditType;
-
- var window = TimelineWindow.instance;
- if (window != null)
- s_CurrentEditType = window.state.editType;
-
- return s_CurrentEditType;
- }
- set
- {
- s_CurrentEditType = value;
-
- var window = TimelineWindow.instance;
- if (window != null)
- window.state.editType = value;
-
- s_OverrideEditType = EditType.None;
- }
- }
-
- static ISubEditMode GetSubEditMode(EditType type)
- {
- var subEditMode = k_EditModes[type];
- if (subEditMode != null)
- return subEditMode;
-
- Debug.LogError("Unsupported editmode type");
- return null;
- }
-
- static EditType GetSubEditType(KeyCode key)
- {
- foreach (var subEditMode in k_EditModes)
- {
- if (subEditMode.Value.clutchKey == key)
- return subEditMode.Key;
- }
- return EditType.None;
- }
-
- public static void ClearEditMode()
- {
- k_EditModes[editType].Reset();
- }
-
- public static void BeginTrim(ITimelineItem item, TrimEdge trimDirection)
- {
- var itemToTrim = item as ITrimmable;
- if (itemToTrim == null) return;
-
- s_CurrentTrimItem = itemToTrim;
- s_CurrentTrimDirection = trimDirection;
- trimMode.OnBeforeTrim(itemToTrim, trimDirection);
- TimelineUndo.PushUndo(itemToTrim.parentTrack, "Trim Clip");
- }
-
- public static void TrimStart(ITimelineItem item, double time)
- {
- var itemToTrim = item as ITrimmable;
- if (itemToTrim == null) return;
-
- trimMode.TrimStart(itemToTrim, time);
- }
-
- public static void TrimEnd(ITimelineItem item, double time, bool affectTimeScale)
- {
- var itemToTrim = item as ITrimmable;
- if (itemToTrim == null) return;
-
- trimMode.TrimEnd(itemToTrim, time, affectTimeScale);
- }
-
- public static void DrawTrimGUI(WindowState state, TimelineItemGUI item, TrimEdge edge)
- {
- trimDrawer.DrawGUI(state, item.rect, modeColor, edge);
- }
-
- public static void FinishTrim()
- {
- s_CurrentTrimItem = null;
-
- TimelineCursors.ClearCursor();
- ClearEditMode();
-
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
-
- public static void BeginMove(MoveItemHandler moveItemHandler)
- {
- s_CurrentMoveItemHandler = moveItemHandler;
- moveMode.BeginMove(s_CurrentMoveItemHandler.movingItems);
- }
-
- public static void UpdateMove()
- {
- moveMode.UpdateMove(s_CurrentMoveItemHandler.movingItems);
- }
-
- public static void OnTrackDetach(IEnumerable<ItemsPerTrack> grabbedTrackItems)
- {
- moveMode.OnTrackDetach(grabbedTrackItems);
- }
-
- public static void HandleTrackSwitch(IEnumerable<ItemsPerTrack> grabbedTrackItems)
- {
- moveMode.HandleTrackSwitch(grabbedTrackItems);
- }
-
- public static bool AllowTrackSwitch()
- {
- return moveMode.AllowTrackSwitch();
- }
-
- public static double AdjustStartTime(WindowState state, ItemsPerTrack itemsGroup, double time)
- {
- return moveMode.AdjustStartTime(state, itemsGroup, time);
- }
-
- public static bool ValidateDrag(ItemsPerTrack itemsGroup)
- {
- return moveMode.ValidateMove(itemsGroup);
- }
-
- public static void DrawMoveGUI(WindowState state, IEnumerable<MovingItems> movingItems)
- {
- moveDrawer.DrawGUI(state, movingItems, modeColor);
- }
-
- public static void FinishMove()
- {
- var manipulatedItemsList = s_CurrentMoveItemHandler.movingItems;
- moveMode.FinishMove(manipulatedItemsList);
-
- foreach (var itemsGroup in manipulatedItemsList)
- foreach (var item in itemsGroup.items)
- item.parentTrack = itemsGroup.targetTrack;
-
- s_CurrentMoveItemHandler = null;
-
- TimelineCursors.ClearCursor();
- ClearEditMode();
-
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
-
- public static void FinalizeInsertItemsAtTime(IEnumerable<ItemsPerTrack> newItems, double requestedTime)
- {
- addDeleteMode.InsertItemsAtTime(newItems, requestedTime);
- }
-
- public static void PrepareItemsDelete(IEnumerable<ItemsPerTrack> newItems)
- {
- addDeleteMode.RemoveItems(newItems);
- }
-
- public static void HandleModeClutch()
- {
- if (Event.current.type == EventType.KeyDown && EditorGUI.IsEditingTextField())
- return;
-
- var prevType = editType;
-
- if (Event.current.type == EventType.KeyDown)
- {
- var clutchEditType = GetSubEditType(Event.current.keyCode);
- if (clutchEditType != EditType.None)
- {
- s_OverrideEditType = clutchEditType;
- Event.current.Use();
- }
- }
- else if (Event.current.type == EventType.KeyUp)
- {
- var clutchEditType = GetSubEditType(Event.current.keyCode);
- if (clutchEditType == s_OverrideEditType)
- {
- s_OverrideEditType = EditType.None;
- Event.current.Use();
- }
- }
-
- if (prevType != editType)
- {
- if (s_CurrentTrimItem != null)
- {
- trimMode.OnBeforeTrim(s_CurrentTrimItem, s_CurrentTrimDirection);
- }
- else if (s_CurrentMoveItemHandler != null)
- {
- if (s_CurrentMoveItemHandler.movingItems == null)
- {
- s_CurrentMoveItemHandler = null;
- return;
- }
-
- foreach (var movingItems in s_CurrentMoveItemHandler.movingItems)
- {
- if (movingItems != null && movingItems.HasAnyDetachedParents())
- {
- foreach (var items in movingItems.items)
- {
- items.parentTrack = movingItems.originalTrack;
- }
- }
- }
-
- var movingSelection = s_CurrentMoveItemHandler.movingItems;
-
- // Handle clutch key transition if needed
- GetSubEditMode(prevType).moveItemMode.OnModeClutchExit(movingSelection);
- moveMode.OnModeClutchEnter(movingSelection);
-
- moveMode.BeginMove(movingSelection);
- moveMode.HandleTrackSwitch(movingSelection);
-
- UpdateMove();
- s_CurrentMoveItemHandler.RefreshPreviewItems();
-
- TimelineWindow.instance.state.rebuildGraph = true; // TODO Rebuild only if parent changed
- }
-
- TimelineWindow.instance.Repaint(); // TODO Refresh the toolbar without doing a full repaint?
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditMode.cs.meta
deleted file mode 100644
index 4ec42d4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: dfd084fea478f3148b7de3d83bab1d8c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditModeInputHandler.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditModeInputHandler.cs
deleted file mode 100644
index 6a204d9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditModeInputHandler.cs
+++ /dev/null
@@ -1,199 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class EditModeInputHandler
- {
- readonly MoveInputHandler m_MoveHandler;
- readonly TrimInputHandler m_TrimHandler;
-
- public EditModeInputHandler()
- {
- m_MoveHandler = new MoveInputHandler();
- m_TrimHandler = new TrimInputHandler();
- }
-
- public void ProcessMove(InputEvent action, double value)
- {
- if (TimelineWindow.instance != null && TimelineWindow.instance.state != null)
- ProcessInputAction(m_MoveHandler, action, value, TimelineWindow.instance.state);
- }
-
- public void ProcessTrim(InputEvent action, double value, bool stretch)
- {
- if (TimelineWindow.instance != null && TimelineWindow.instance.state != null)
- {
- m_TrimHandler.stretch = stretch;
- ProcessInputAction(m_TrimHandler, action, value, TimelineWindow.instance.state);
- }
- }
-
- public void SetValueForEdge(IEnumerable<ITimelineItem> items, AttractedEdge edge, double value)
- {
- if (TimelineWindow.instance != null && TimelineWindow.instance.state != null)
- MoveInputHandler.SetValueForEdge(items, edge, value, TimelineWindow.instance.state);
- }
-
- public void OnGUI(WindowState state, Event evt)
- {
- if (TimelineWindow.instance != null && TimelineWindow.instance.state != null)
- {
- m_MoveHandler.OnGUI(evt);
- m_TrimHandler.OnGUI(state);
- }
- }
-
- static void ProcessInputAction(IInputHandler handler, InputEvent action, double value, WindowState state)
- {
- var items = SelectionManager.SelectedItems();
- switch (action)
- {
- case InputEvent.None:
- return;
- case InputEvent.DragEnter:
- handler.OnEnterDrag(items, state);
- break;
- case InputEvent.Drag:
- handler.OnDrag(value, state);
- break;
- case InputEvent.DragExit:
- handler.OnExitDrag();
- break;
- case InputEvent.KeyboardInput:
- handler.OnSetValue(items, value, state);
- break;
- default:
- return;
- }
- }
-
- interface IInputHandler
- {
- void OnEnterDrag(IEnumerable<ITimelineItem> items, WindowState state);
- void OnDrag(double value, WindowState state);
- void OnExitDrag();
- void OnSetValue(IEnumerable<ITimelineItem> items, double value, WindowState state);
- }
-
- class TrimInputHandler : IInputHandler
- {
- bool isDragging { get; set; }
- public bool stretch { get; set; }
-
- IEnumerable<ITimelineItem> grabbedItems { get; set; }
-
- public void OnEnterDrag(IEnumerable<ITimelineItem> items, WindowState state)
- {
- grabbedItems = items.OfType<ITrimmable>().ToArray();
- foreach (var item in grabbedItems)
- {
- EditMode.BeginTrim(item, TrimEdge.End);
- }
-
- isDragging = true;
- }
-
- public void OnDrag(double endValue, WindowState state)
- {
- var trimValue = endValue;
- trimValue = TimelineWindow.instance.state.SnapToFrameIfRequired(trimValue);
-
- foreach (var item in grabbedItems)
- {
- EditMode.TrimEnd(item, trimValue, stretch);
- }
- state.UpdateRootPlayableDuration(state.editSequence.duration);
- }
-
- public void OnExitDrag()
- {
- isDragging = false;
- EditMode.FinishTrim();
- TimelineWindow.instance.Repaint();
- }
-
- public void OnSetValue(IEnumerable<ITimelineItem> items, double endValue, WindowState state)
- {
- foreach (var item in items.OfType<ITrimmable>())
- {
- EditMode.BeginTrim(item, TrimEdge.End);
- EditMode.TrimEnd(item, endValue, stretch);
- EditMode.FinishTrim();
- }
- state.UpdateRootPlayableDuration(state.editSequence.duration);
- }
-
- public void OnGUI(WindowState state)
- {
- if (!isDragging) return;
-
- foreach (var item in grabbedItems)
- {
- EditMode.DrawTrimGUI(state, item.gui, TrimEdge.End);
- }
- }
- }
-
- class MoveInputHandler : IInputHandler
- {
- MoveItemHandler m_MoveItemHandler;
-
- public void OnEnterDrag(IEnumerable<ITimelineItem> items, WindowState state)
- {
- if (items.Any())
- {
- m_MoveItemHandler = new MoveItemHandler(state);
- m_MoveItemHandler.Grab(items, items.First().parentTrack);
- }
- }
-
- public void OnDrag(double value, WindowState state)
- {
- if (m_MoveItemHandler == null) return;
-
- var startValue = value;
- startValue = state.SnapToFrameIfRequired(startValue);
- m_MoveItemHandler.OnAttractedEdge(null, ManipulateEdges.Both, AttractedEdge.None, startValue);
- }
-
- public void OnExitDrag()
- {
- if (m_MoveItemHandler == null) return;
-
- m_MoveItemHandler.Drop();
- m_MoveItemHandler = null;
- GUIUtility.ExitGUI();
- }
-
- public void OnSetValue(IEnumerable<ITimelineItem> items, double value, WindowState state)
- {
- if (!items.Any()) return;
-
- m_MoveItemHandler = new MoveItemHandler(state);
- m_MoveItemHandler.Grab(items, items.First().parentTrack);
- m_MoveItemHandler.OnAttractedEdge(null, ManipulateEdges.Both, AttractedEdge.None, value);
- m_MoveItemHandler.Drop();
- m_MoveItemHandler = null;
- }
-
- public void OnGUI(Event evt)
- {
- if (m_MoveItemHandler != null)
- m_MoveItemHandler.OnGUI(evt);
- }
-
- public static void SetValueForEdge(IEnumerable<ITimelineItem> items, AttractedEdge edge, double value, WindowState state)
- {
- var handler = new MoveItemHandler(state);
- foreach (var item in items)
- {
- handler.Grab(new[] {item}, item.parentTrack);
- handler.OnAttractedEdge(null, ManipulateEdges.Both, edge, value);
- handler.Drop();
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditModeInputHandler.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditModeInputHandler.cs.meta
deleted file mode 100644
index 7ea2d6d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/EditModeInputHandler.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 459f6a07ee4a58b42ba2568b097c3ec4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move.meta
deleted file mode 100644
index b8648c3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: bd3ffb9a97575a44a82f9ca086813154
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/IMoveItemMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/IMoveItemMode.cs
deleted file mode 100644
index ac459ca..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/IMoveItemMode.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System.Collections.Generic;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- interface IMoveItemMode
- {
- void OnTrackDetach(IEnumerable<ItemsPerTrack> itemsGroups);
- void HandleTrackSwitch(IEnumerable<ItemsPerTrack> itemsGroups);
- bool AllowTrackSwitch();
-
- double AdjustStartTime(WindowState state, ItemsPerTrack itemsGroup, double time);
-
- void OnModeClutchEnter(IEnumerable<ItemsPerTrack> itemsGroups);
- void OnModeClutchExit(IEnumerable<ItemsPerTrack> itemsGroups);
-
- void BeginMove(IEnumerable<ItemsPerTrack> itemsGroups);
- void UpdateMove(IEnumerable<ItemsPerTrack> itemsGroups);
- void FinishMove(IEnumerable<ItemsPerTrack> itemsGroups);
-
- bool ValidateMove(ItemsPerTrack itemsGroup);
- }
-
- interface IMoveItemDrawer
- {
- void DrawGUI(WindowState state, IEnumerable<MovingItems> movingItems, Color color);
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/IMoveItemMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/IMoveItemMode.cs.meta
deleted file mode 100644
index 619723e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/IMoveItemMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3ff3d24ea34f9f74cb138e435f5f491e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemHandler.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemHandler.cs
deleted file mode 100644
index aac3e4d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemHandler.cs
+++ /dev/null
@@ -1,312 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class MoveItemHandler : IAttractable, IAttractionHandler
- {
- bool m_Grabbing;
-
- MovingItems m_LeftMostMovingItems;
- MovingItems m_RightMostMovingItems;
-
- HashSet<TimelineItemGUI> m_ItemGUIs;
- ItemsGroup m_ItemsGroup;
-
- public TrackAsset targetTrack { get; private set; }
-
- public bool allowTrackSwitch { get; private set; }
-
- int m_GrabbedModalUndoGroup = -1;
-
- readonly WindowState m_State;
-
- public MovingItems[] movingItems { get; private set; }
-
- public MoveItemHandler(WindowState state)
- {
- m_State = state;
- }
-
- public void Grab(IEnumerable<ITimelineItem> items, TrackAsset referenceTrack)
- {
- Grab(items, referenceTrack, Vector2.zero);
- }
-
- public void Grab(IEnumerable<ITimelineItem> items, TrackAsset referenceTrack, Vector2 mousePosition)
- {
- if (items == null) return;
-
- items = items.ToArray(); // Cache enumeration result
-
- if (!items.Any()) return;
-
- m_GrabbedModalUndoGroup = Undo.GetCurrentGroup();
-
- var trackItems = items.GroupBy(c => c.parentTrack).ToArray();
- var trackItemsCount = trackItems.Length;
- var tracks = items.Select(c => c.parentTrack).Where(x => x != null).Distinct();
-
- movingItems = new MovingItems[trackItemsCount];
-
- allowTrackSwitch = trackItemsCount == 1 && !trackItems.SelectMany(x => x).Any(x => x is MarkerItem); // For now, track switch is only supported when all items are on the same track and there are no items
- foreach (var sourceTrack in tracks)
- {
- // one push per track handles all the clips on the track
- TimelineUndo.PushUndo(sourceTrack, "Move Items");
-
- // push all markers on the track because of ripple
- foreach (var marker in sourceTrack.GetMarkers().OfType<ScriptableObject>())
- TimelineUndo.PushUndo(marker, "Move Items");
- }
-
- for (var i = 0; i < trackItemsCount; ++i)
- {
- var track = trackItems[i].Key;
- var grabbedItems = new MovingItems(m_State, track, trackItems[i].ToArray(), referenceTrack, mousePosition, allowTrackSwitch);
- movingItems[i] = grabbedItems;
- }
-
- m_LeftMostMovingItems = null;
- m_RightMostMovingItems = null;
-
- foreach (var grabbedTrackItems in movingItems)
- {
- if (m_LeftMostMovingItems == null || m_LeftMostMovingItems.start > grabbedTrackItems.start)
- m_LeftMostMovingItems = grabbedTrackItems;
-
- if (m_RightMostMovingItems == null || m_RightMostMovingItems.end < grabbedTrackItems.end)
- m_RightMostMovingItems = grabbedTrackItems;
- }
-
- m_ItemGUIs = new HashSet<TimelineItemGUI>();
- m_ItemsGroup = new ItemsGroup(items);
-
- foreach (var item in items)
- m_ItemGUIs.Add(item.gui);
-
- targetTrack = referenceTrack;
-
- EditMode.BeginMove(this);
- m_Grabbing = true;
- }
-
- public void Drop()
- {
- if (IsValidDrop())
- {
- foreach (var grabbedItems in movingItems)
- {
- var track = grabbedItems.targetTrack;
- TimelineUndo.PushUndo(track, "Move Items");
-
- if (EditModeUtils.IsInfiniteTrack(track) && grabbedItems.clips.Any())
- ((AnimationTrack)track).ConvertToClipMode();
- }
-
- EditMode.FinishMove();
-
- Done();
- }
- else
- {
- Cancel();
- }
-
- EditMode.ClearEditMode();
- }
-
- bool IsValidDrop()
- {
- return movingItems.All(g => g.canDrop);
- }
-
- void Cancel()
- {
- if (!m_Grabbing)
- return;
-
- // TODO fix undo reselection persistency
- // identify the clips by their playable asset, since that reference will survive the undo
- // This is a workaround, until a more persistent fix for selection of clips across Undo can be found
- var assets = movingItems.SelectMany(x => x.clips).Select(x => x.asset);
-
- Undo.RevertAllDownToGroup(m_GrabbedModalUndoGroup);
-
- // reselect the clips from the original clip
- var clipsToSelect = movingItems.Select(x => x.originalTrack).SelectMany(x => x.GetClips()).Where(x => assets.Contains(x.asset)).ToArray();
- SelectionManager.RemoveTimelineSelection();
-
- foreach (var c in clipsToSelect)
- SelectionManager.Add(c);
-
- Done();
- }
-
- void Done()
- {
- foreach (var movingItem in movingItems)
- {
- foreach (var item in movingItem.items)
- {
- if (item.gui != null)
- item.gui.isInvalid = false;
- }
- }
-
- movingItems = null;
- m_LeftMostMovingItems = null;
- m_RightMostMovingItems = null;
- m_Grabbing = false;
-
- m_State.Refresh();
- }
-
- public double start { get { return m_ItemsGroup.start; } }
-
- public double end { get { return m_ItemsGroup.end; } }
-
- public bool ShouldSnapTo(ISnappable snappable)
- {
- var itemGUI = snappable as TimelineItemGUI;
- return itemGUI != null && !m_ItemGUIs.Contains(itemGUI);
- }
-
- public void UpdateTrackTarget(TrackAsset track)
- {
- if (!EditMode.AllowTrackSwitch())
- return;
-
- targetTrack = track;
-
- var targetTracksChanged = false;
-
- foreach (var grabbedItem in movingItems)
- {
- var prevTrackGUI = grabbedItem.targetTrack;
-
- grabbedItem.SetReferenceTrack(track);
-
- targetTracksChanged = grabbedItem.targetTrack != prevTrackGUI;
- }
-
- if (targetTracksChanged)
- EditMode.HandleTrackSwitch(movingItems);
-
- RefreshPreviewItems();
-
- m_State.rebuildGraph |= targetTracksChanged;
- }
-
- public void OnGUI(Event evt)
- {
- if (!m_Grabbing)
- return;
-
- if (evt.type != EventType.Repaint)
- return;
-
- var isValid = IsValidDrop();
-
- using (new GUIViewportScope(m_State.GetWindow().sequenceContentRect))
- {
- foreach (var grabbedClip in movingItems)
- {
- grabbedClip.RefreshBounds(m_State, evt.mousePosition);
-
- if (!grabbedClip.HasAnyDetachedParents())
- continue;
-
- grabbedClip.Draw(isValid);
- }
-
- if (isValid)
- {
- EditMode.DrawMoveGUI(m_State, movingItems);
- }
- else
- {
- TimelineCursors.ClearCursor();
- }
- }
- }
-
- public void OnAttractedEdge(IAttractable attractable, ManipulateEdges manipulateEdges, AttractedEdge edge, double time)
- {
- double offset;
-
- if (edge == AttractedEdge.Right)
- {
- var duration = end - start;
- var startTime = time - duration;
- startTime = EditMode.AdjustStartTime(m_State, m_RightMostMovingItems, startTime);
-
- offset = startTime + duration - end;
- }
- else
- {
- if (edge == AttractedEdge.Left)
- time = EditMode.AdjustStartTime(m_State, m_LeftMostMovingItems, time);
-
- offset = time - start;
- }
-
- if (start + offset < 0.0)
- offset = -start;
-
- if (!offset.Equals(0.0))
- {
- foreach (var grabbedClips in movingItems)
- grabbedClips.start += offset;
-
- EditMode.UpdateMove();
-
- RefreshPreviewItems();
- }
- }
-
- public void RefreshPreviewItems()
- {
- foreach (var movingItemsGroup in movingItems)
- {
- // Check validity
- var valid = ValidateItemDrag(movingItemsGroup);
-
- foreach (var item in movingItemsGroup.items)
- {
- if (item.gui != null)
- item.gui.isInvalid = !valid;
- }
-
- movingItemsGroup.canDrop = valid;
- }
- }
-
- static bool ValidateItemDrag(ItemsPerTrack itemsGroup)
- {
- //TODO-marker: this is to prevent the drag operation from being canceled when moving only markers
- if (itemsGroup.clips.Any())
- {
- if (itemsGroup.targetTrack == null)
- return false;
-
- if (itemsGroup.targetTrack.lockedInHierarchy)
- return false;
-
- if (itemsGroup.items.Any(i => !i.IsCompatibleWithTrack(itemsGroup.targetTrack)))
- return false;
-
- return EditMode.ValidateDrag(itemsGroup);
- }
-
- return true;
- }
-
- public void OnTrackDetach()
- {
- EditMode.OnTrackDetach(movingItems);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemHandler.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemHandler.cs.meta
deleted file mode 100644
index 43dce6a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemHandler.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f6bd368ab00d75c459e2582e017191e6
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeMix.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeMix.cs
deleted file mode 100644
index d4df368..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeMix.cs
+++ /dev/null
@@ -1,138 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class MoveItemModeMix : IMoveItemMode, IMoveItemDrawer
- {
- public void OnTrackDetach(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
-
- public void HandleTrackSwitch(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- foreach (var itemsGroup in itemsGroups)
- {
- var targetTrack = itemsGroup.targetTrack;
- if (targetTrack != null && itemsGroup.items.Any())
- {
- var compatible = itemsGroup.items.First().IsCompatibleWithTrack(targetTrack) &&
- !EditModeUtils.IsInfiniteTrack(targetTrack);
- var track = compatible ? targetTrack : null;
-
- if (track != null)
- TimelineUndo.PushUndo(track, "Move Items");
-
- EditModeUtils.SetParentTrack(itemsGroup.items, track);
- }
- else
- {
- EditModeUtils.SetParentTrack(itemsGroup.items, null);
- }
- }
- }
-
- public bool AllowTrackSwitch()
- {
- return true;
- }
-
- public double AdjustStartTime(WindowState state, ItemsPerTrack itemsGroup, double time)
- {
- return time;
- }
-
- public void OnModeClutchEnter(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
-
- public void OnModeClutchExit(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
-
- public void BeginMove(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
-
- public void UpdateMove(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
-
- public void FinishMove(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
-
- public bool ValidateMove(ItemsPerTrack itemsGroup)
- {
- var track = itemsGroup.targetTrack;
- var items = itemsGroup.items;
-
- if (EditModeUtils.IsInfiniteTrack(track))
- {
- double startTime;
- double stopTime;
- EditModeUtils.GetInfiniteClipBoundaries(track, out startTime, out stopTime);
-
- return items.All(item =>
- !EditModeUtils.IsItemWithinRange(item, startTime, stopTime) &&
- !EditModeUtils.IsRangeWithinItem(startTime, stopTime, item));
- }
-
- var siblings = ItemsUtils.GetItemsExcept(itemsGroup.targetTrack, items);
- return items.All(item => EditModeMixUtils.GetPlacementValidity(item, siblings) == PlacementValidity.Valid);
- }
-
- public void DrawGUI(WindowState state, IEnumerable<MovingItems> movingItems, Color color)
- {
- var selectionHasAnyBlendIn = false;
- var selectionHasAnyBlendOut = false;
-
- foreach (var grabbedItems in movingItems)
- {
- var bounds = grabbedItems.onTrackItemsBounds;
-
- var counter = 0;
- foreach (var item in grabbedItems.items.OfType<IBlendable>())
- {
- if (item.hasLeftBlend)
- {
- EditModeGUIUtils.DrawBoundsEdge(bounds[counter], color, TrimEdge.Start);
- selectionHasAnyBlendIn = true;
- }
-
- if (item.hasRightBlend)
- {
- EditModeGUIUtils.DrawBoundsEdge(bounds[counter], color, TrimEdge.End);
- selectionHasAnyBlendOut = true;
- }
- counter++;
- }
- }
-
- if (selectionHasAnyBlendIn && selectionHasAnyBlendOut)
- {
- TimelineCursors.SetCursor(TimelineCursors.CursorType.MixBoth);
- }
- else if (selectionHasAnyBlendIn)
- {
- TimelineCursors.SetCursor(TimelineCursors.CursorType.MixLeft);
- }
- else if (selectionHasAnyBlendOut)
- {
- TimelineCursors.SetCursor(TimelineCursors.CursorType.MixRight);
- }
- else
- {
- TimelineCursors.ClearCursor();
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeMix.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeMix.cs.meta
deleted file mode 100644
index 966ebfa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeMix.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a2a8aecb05814e644abbb070fbd91156
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeReplace.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeReplace.cs
deleted file mode 100644
index 4d55820..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeReplace.cs
+++ /dev/null
@@ -1,99 +0,0 @@
-using System.Collections.Generic;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class MoveItemModeReplace : IMoveItemMode, IMoveItemDrawer
- {
- public void OnTrackDetach(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
-
- public void HandleTrackSwitch(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
-
- public bool AllowTrackSwitch()
- {
- return true;
- }
-
- public double AdjustStartTime(WindowState state, ItemsPerTrack itemsGroup, double time)
- {
- return time;
- }
-
- public void OnModeClutchEnter(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // TODO
- }
-
- public void OnModeClutchExit(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // TODO
- }
-
- public void BeginMove(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- foreach (var itemsGroup in itemsGroups)
- {
- EditModeUtils.SetParentTrack(itemsGroup.items, null);
- }
- }
-
- public void UpdateMove(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
-
- public void FinishMove(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- EditModeReplaceUtils.Insert(itemsGroups);
- }
-
- public bool ValidateMove(ItemsPerTrack itemsGroup)
- {
- return true;
- }
-
- public void DrawGUI(WindowState state, IEnumerable<MovingItems> movingItems, Color color)
- {
- var operationWillReplace = false;
-
- foreach (var itemsPerTrack in movingItems)
- {
- var bounds = itemsPerTrack.onTrackItemsBounds;
-
- var counter = 0;
- foreach (var item in itemsPerTrack.items)
- {
- if (EditModeUtils.GetFirstIntersectedItem(itemsPerTrack.items, item.start) != null)
- {
- EditModeGUIUtils.DrawBoundsEdge(bounds[counter], color, TrimEdge.Start);
- operationWillReplace = true;
- }
-
- if (EditModeUtils.GetFirstIntersectedItem(itemsPerTrack.items, item.end) != null)
- {
- EditModeGUIUtils.DrawBoundsEdge(bounds[counter], color, TrimEdge.End);
- operationWillReplace = true;
- }
-
- counter++;
- // TODO Display swallowed clips?
- }
- }
-
- if (operationWillReplace)
- {
- TimelineCursors.SetCursor(TimelineCursors.CursorType.Replace);
- }
- else
- {
- TimelineCursors.ClearCursor();
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeReplace.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeReplace.cs.meta
deleted file mode 100644
index abcc2f3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeReplace.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ea5e2240e8a7d9046a651557deec40b2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeRipple.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeRipple.cs
deleted file mode 100644
index aadf5f7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeRipple.cs
+++ /dev/null
@@ -1,271 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class MoveItemModeRipple : IMoveItemMode, IMoveItemDrawer
- {
- const float k_SnapToEdgeDistance = 30.0f;
-
- class PrevItemInfo
- {
- public ITimelineItem item;
- public ITimelineItem firstSelectedItem;
- public bool blending;
-
- public PrevItemInfo(ITimelineItem item, ITimelineItem firstSelectedItem)
- {
- this.item = item;
- this.firstSelectedItem = firstSelectedItem;
- blending = item != null && item.end > firstSelectedItem.start;
- }
- }
-
- readonly Dictionary<Object, List<ITimelineItem>> m_NextItems = new Dictionary<Object, List<ITimelineItem>>();
- readonly Dictionary<Object, PrevItemInfo> m_PreviousItem = new Dictionary<Object, PrevItemInfo>();
- double m_PreviousEnd;
-
- bool m_TrackLocked;
- bool m_Detached;
-
- public void OnTrackDetach(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- if (m_TrackLocked)
- return;
-
- if (m_Detached)
- return;
-
- if (itemsGroups.Any(x => x.markers.Any()))
- return;
-
- // Ripple can either remove or not clips when detaching them from their track.
- // Keep it off for now. TODO: add clutch key to toggle this feature?
- //EditModeRippleUtils.Remove(manipulatedClipsList);
-
- StartDetachMode(itemsGroups);
- }
-
- public void HandleTrackSwitch(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- // Nothing
- }
-
- public bool AllowTrackSwitch()
- {
- return !m_TrackLocked;
- }
-
- public double AdjustStartTime(WindowState state, ItemsPerTrack itemsGroup, double time)
- {
- var track = itemsGroup.targetTrack;
- if (track == null)
- return time;
-
- double start;
- double end;
-
- if (EditModeUtils.IsInfiniteTrack(track))
- {
- EditModeUtils.GetInfiniteClipBoundaries(track, out start, out end);
- }
- else
- {
- var siblings = ItemsUtils.GetItemsExcept(track, itemsGroup.items);
- var firstIntersectedItem = EditModeUtils.GetFirstIntersectedItem(siblings, time);
-
- if (firstIntersectedItem == null)
- return time;
-
- start = firstIntersectedItem.start;
- end = firstIntersectedItem.end;
- }
-
- var closestTime = Math.Abs(time - start) < Math.Abs(time - end) ? start : end;
-
- var pixelTime = state.TimeToPixel(time);
- var pixelClosestTime = state.TimeToPixel(closestTime);
-
- if (Math.Abs(pixelTime - pixelClosestTime) < k_SnapToEdgeDistance)
- return closestTime;
-
- return time;
- }
-
- void StartDetachMode(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- m_Detached = true;
-
- foreach (var itemsGroup in itemsGroups)
- EditModeUtils.SetParentTrack(itemsGroup.items, null);
- }
-
- public void OnModeClutchEnter(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- StartDetachMode(itemsGroups);
- m_TrackLocked = false;
- }
-
- public void OnModeClutchExit(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- m_Detached = false;
- m_TrackLocked = false;
- }
-
- public void BeginMove(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- m_NextItems.Clear();
- m_PreviousItem.Clear();
- var itemTypes = ItemsUtils.GetItemTypes(itemsGroups).ToList();
-
- foreach (var itemsGroup in itemsGroups)
- {
- //can only ripple items of the same type as those selected
- var sortedSelectedItems = itemsGroup.items.OrderBy(i => i.start).ToList();
- var siblings = itemsGroup.targetTrack.GetItemsExcept(itemsGroup.items);
- var sortedSiblingsToRipple = siblings.Where(i => itemTypes.Contains(i.GetType())).OrderBy(i => i.start).ToList();
- var start = sortedSelectedItems.First().start;
-
- m_NextItems.Add(itemsGroup.targetTrack, sortedSiblingsToRipple.Where(i => i.start > start).ToList());
- m_PreviousItem.Add(itemsGroup.targetTrack, CalculatePrevItemInfo(sortedSelectedItems, sortedSiblingsToRipple, itemTypes));
- }
-
- m_PreviousEnd = itemsGroups.Max(m => m.items.Max(c => c.end));
- }
-
- public void UpdateMove(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- if (m_Detached)
- return;
-
- m_TrackLocked = true;
-
- var overlap = 0.0;
- foreach (var itemsGroup in itemsGroups)
- {
- var track = itemsGroup.targetTrack;
- if (track == null) continue;
-
- var prevItemInfo = m_PreviousItem[track];
- if (prevItemInfo.item != null)
- {
- var prevItem = prevItemInfo.item;
- var firstItem = prevItemInfo.firstSelectedItem;
-
- if (prevItemInfo.blending)
- prevItemInfo.blending = prevItem.end > firstItem.start;
-
- if (prevItemInfo.blending)
- {
- var b = EditModeUtils.BlendDuration(firstItem, TrimEdge.End);
- overlap = Math.Max(overlap, Math.Max(prevItem.start, prevItem.end - firstItem.end + firstItem.start + b) - firstItem.start);
- }
- else
- {
- overlap = Math.Max(overlap, prevItem.end - firstItem.start);
- }
- }
- }
-
- if (overlap > 0)
- {
- foreach (var itemsGroup in itemsGroups)
- {
- foreach (var item in itemsGroup.items)
- item.start += overlap;
- }
- }
-
- var newEnd = itemsGroups.Max(m => m.items.Max(c => c.end));
-
- var offset = newEnd - m_PreviousEnd;
- m_PreviousEnd = newEnd;
-
- foreach (var itemsGroup in itemsGroups)
- {
- foreach (var item in m_NextItems[itemsGroup.targetTrack])
- item.start += offset;
- }
- }
-
- static PrevItemInfo CalculatePrevItemInfo(List<ITimelineItem> orderedSelection, List<ITimelineItem> orderedSiblings, IEnumerable<Type> itemTypes)
- {
- ITimelineItem previousItem = null;
- ITimelineItem firstSelectedItem = null;
- var gap = double.PositiveInfinity;
-
- foreach (var type in itemTypes)
- {
- var firstSelectedItemOfType = orderedSelection.FirstOrDefault(i => i.GetType() == type);
- if (firstSelectedItemOfType == null) continue;
-
- var previousItemOfType = orderedSiblings.LastOrDefault(i => i.GetType() == type && i.start < firstSelectedItemOfType.start);
- if (previousItemOfType == null) continue;
-
- var currentGap = firstSelectedItemOfType.start - previousItemOfType.end;
- if (currentGap < gap)
- {
- gap = currentGap;
- firstSelectedItem = firstSelectedItemOfType;
- previousItem = previousItemOfType;
- }
- }
-
- return new PrevItemInfo(previousItem, firstSelectedItem);
- }
-
- public bool ValidateMove(ItemsPerTrack itemsGroup)
- {
- return true;
- }
-
- public void FinishMove(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- if (m_Detached)
- EditModeRippleUtils.Insert(itemsGroups);
-
- m_Detached = false;
- m_TrackLocked = false;
- }
-
- public void DrawGUI(WindowState state, IEnumerable<MovingItems> movingItems, Color color)
- {
- if (m_Detached)
- {
- var xMin = float.MaxValue;
- var xMax = float.MinValue;
-
- foreach (var grabbedItems in movingItems)
- {
- xMin = Math.Min(xMin, grabbedItems.onTrackItemsBounds.Min(b => b.xMin)); // TODO Cache this?
- xMax = Math.Max(xMax, grabbedItems.onTrackItemsBounds.Max(b => b.xMax));
- }
-
- foreach (var grabbedItems in movingItems)
- {
- var bounds = Rect.MinMaxRect(xMin, grabbedItems.onTrackItemsBounds[0].yMin,
- xMax, grabbedItems.onTrackItemsBounds[0].yMax);
-
- EditModeGUIUtils.DrawOverlayRect(bounds, new Color(1.0f, 1.0f, 1.0f, 0.5f));
-
- EditModeGUIUtils.DrawBoundsEdge(bounds, color, TrimEdge.Start);
- }
- }
- else
- {
- foreach (var grabbedItems in movingItems)
- {
- var bounds = Rect.MinMaxRect(grabbedItems.onTrackItemsBounds.Min(b => b.xMin), grabbedItems.onTrackItemsBounds[0].yMin,
- grabbedItems.onTrackItemsBounds.Max(b => b.xMax), grabbedItems.onTrackItemsBounds[0].yMax);
-
- EditModeGUIUtils.DrawBoundsEdge(bounds, color, TrimEdge.Start);
- }
- }
-
- TimelineCursors.SetCursor(TimelineCursors.CursorType.Ripple);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeRipple.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeRipple.cs.meta
deleted file mode 100644
index 890c3ed..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MoveItemModeRipple.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: eebde5009793ce948bf5d4c4435b89b9
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MovingItems.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MovingItems.cs
deleted file mode 100644
index 1620269..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MovingItems.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class MovingItems : ItemsPerTrack
- {
- TrackAsset m_ReferenceTrack;
- readonly bool m_AllowTrackSwitch;
-
- readonly Rect[] m_ItemsBoundsOnTrack;
- readonly Vector2[] m_ItemsMouseOffsets;
-
- static readonly Rect s_InvisibleBounds = new Rect(float.MaxValue, float.MaxValue, 0.0f, 0.0f);
-
- public TrackAsset originalTrack { get; }
-
- public override TrackAsset targetTrack
- {
- get
- {
- if (m_AllowTrackSwitch)
- return m_ReferenceTrack;
-
- return originalTrack;
- }
- }
-
- public bool canDrop;
-
- public double start
- {
- get { return m_ItemsGroup.start; }
- set { m_ItemsGroup.start = value; }
- }
-
- public double end
- {
- get { return m_ItemsGroup.end; }
- }
-
- public Rect[] onTrackItemsBounds
- {
- get { return m_ItemsBoundsOnTrack; }
- }
-
- public MovingItems(WindowState state, TrackAsset parentTrack, ITimelineItem[] items, TrackAsset referenceTrack, Vector2 mousePosition, bool allowTrackSwitch)
- : base(parentTrack, items)
- {
- originalTrack = parentTrack;
- m_ReferenceTrack = referenceTrack;
- m_AllowTrackSwitch = allowTrackSwitch;
-
- m_ItemsBoundsOnTrack = new Rect[items.Length];
- m_ItemsMouseOffsets = new Vector2[items.Length];
-
- for (int i = 0; i < items.Length; ++i)
- {
- var itemGUi = items[i].gui;
-
- if (itemGUi != null)
- {
- m_ItemsBoundsOnTrack[i] = itemGUi.rect;
- m_ItemsMouseOffsets[i] = mousePosition - m_ItemsBoundsOnTrack[i].position;
- }
- }
-
- canDrop = true;
- }
-
- public void SetReferenceTrack(TrackAsset track)
- {
- m_ReferenceTrack = track;
- }
-
- public bool HasAnyDetachedParents()
- {
- return m_ItemsGroup.items.Any(x => x.parentTrack == null);
- }
-
- public void RefreshBounds(WindowState state, Vector2 mousePosition)
- {
- for (int i = 0; i < m_ItemsGroup.items.Length; ++i)
- {
- var item = m_ItemsGroup.items[i];
- var itemGUI = item.gui;
-
- if (item.parentTrack != null)
- {
- m_ItemsBoundsOnTrack[i] = itemGUI.visible ? itemGUI.rect : s_InvisibleBounds;
- }
- else
- {
- if (targetTrack != null)
- {
- var trackGUI = (TimelineTrackGUI)TimelineWindow.instance.allTracks.FirstOrDefault(t => t.track == targetTrack);
- if (trackGUI == null) return;
- var trackRect = trackGUI.boundingRect;
- m_ItemsBoundsOnTrack[i] = itemGUI.RectToTimeline(trackRect, state);
- }
- else
- {
- m_ItemsBoundsOnTrack[i].position = mousePosition - m_ItemsMouseOffsets[i];
- }
- }
- }
- }
-
- public void Draw(bool isValid)
- {
- for (int i = 0; i < m_ItemsBoundsOnTrack.Length; ++i)
- {
- var rect = m_ItemsBoundsOnTrack[i];
- DrawItemInternal(m_ItemsGroup.items[i], rect, isValid);
- }
- }
-
- static void DrawItemInternal(ITimelineItem item, Rect rect, bool isValid)
- {
- var clipGUI = item.gui as TimelineClipGUI;
-
- if (clipGUI != null)
- {
- if (isValid)
- {
- clipGUI.DrawGhostClip(rect);
- }
- else
- {
- clipGUI.DrawInvalidClip(rect);
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MovingItems.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MovingItems.cs.meta
deleted file mode 100644
index f3c7fdb..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Move/MovingItems.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 81a142c61a4e14d46bb21b02548ad24d
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence.meta
deleted file mode 100644
index 64e65bc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: dec586c160776104da4d9a4e472662bc
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/EaseClip.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/EaseClip.cs
deleted file mode 100644
index 7dddf3a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/EaseClip.cs
+++ /dev/null
@@ -1,146 +0,0 @@
-using System;
-using System.Text;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class EaseClip : Manipulator
- {
- bool m_IsCaptured;
- bool m_UndoSaved;
- TimelineClipHandle m_EaseClipHandler;
- ManipulateEdges m_Edges;
- TimelineClip m_Clip;
- StringBuilder m_OverlayText = new StringBuilder("");
- double m_OriginalValue;
-
- public static readonly string EaseInClipText = L10n.Tr("Ease In Clip");
- public static readonly string EaseOutClipText = L10n.Tr("Ease Out Clip");
- public static readonly string EaseInText = L10n.Tr("Ease In");
- public static readonly string EaseOutText = L10n.Tr("Ease Out");
- public static readonly string DurationFrameText = L10n.Tr(" Duration {0:0.00;-0.00} frames ");
- public static readonly string DurationSecText = L10n.Tr(" Duration {0:0.00;-0.00} s ");
- public static readonly string DeltaFrameText = L10n.Tr("({0:+0.00;-0.00} frames)");
- public static readonly string DeltaSecText = L10n.Tr("({0:+0.00;-0.00} s)");
-
- protected override bool MouseDown(Event evt, WindowState state)
- {
- if (evt.modifiers != ManipulatorsUtils.actionModifier)
- return false;
- return MouseDownInternal(evt, state, PickerUtils.PickedLayerableOfType<TimelineClipHandle>());
- }
-
- protected bool MouseDownInternal(Event evt, WindowState state, TimelineClipHandle handle)
- {
- if (handle == null)
- return false;
-
- if (handle.clipGUI.clip != null && !handle.clipGUI.clip.clipCaps.HasAny(ClipCaps.Blending))
- return false;
-
- m_Edges = ManipulateEdges.Right;
- if (handle.trimDirection == TrimEdge.Start)
- m_Edges = ManipulateEdges.Left;
-
- if (m_Edges == ManipulateEdges.Left && handle.clipGUI.clip.hasBlendIn || m_Edges == ManipulateEdges.Right && handle.clipGUI.clip.hasBlendOut)
- return false;
-
- m_IsCaptured = true;
- m_UndoSaved = false;
-
- m_EaseClipHandler = handle;
- m_Clip = handle.clipGUI.clip;
- m_OriginalValue = m_Edges == ManipulateEdges.Left ? m_Clip.easeInDuration : m_Clip.easeOutDuration;
-
-
- // Change cursor only when OnGUI Process (not in test)
- if (GUIUtility.guiDepth > 0)
- TimelineCursors.SetCursor(m_Edges == ManipulateEdges.Left ? TimelineCursors.CursorType.MixRight : TimelineCursors.CursorType.MixLeft);
-
- state.AddCaptured(this);
- return true;
- }
-
- protected override bool MouseUp(Event evt, WindowState state)
- {
- if (!m_IsCaptured)
- return false;
- m_IsCaptured = false;
- m_UndoSaved = false;
- state.captured.Clear();
-
- // Clear cursor only when OnGUI Process (not in test)
- if (GUIUtility.guiDepth > 0)
- TimelineCursors.ClearCursor();
-
- return true;
- }
-
- protected override bool MouseDrag(Event evt, WindowState state)
- {
- if (!m_IsCaptured)
- return false;
- if (!m_UndoSaved)
- {
- var uiClip = m_EaseClipHandler.clipGUI;
- string undoName = m_Edges == ManipulateEdges.Left ? EaseInClipText : EaseOutClipText;
- TimelineUndo.PushUndo(uiClip.clip.parentTrack, undoName);
- m_UndoSaved = true;
- }
-
- double d = state.PixelDeltaToDeltaTime(evt.delta.x);
- if (m_Edges == ManipulateEdges.Left)
- {
- m_Clip.easeInDuration = Math.Max(0, m_Clip.easeInDuration + d);
- }
- else if (m_Edges == ManipulateEdges.Right)
- {
- m_Clip.easeOutDuration = Math.Max(0, m_Clip.easeOutDuration - d);
- }
- RefreshOverlayStrings(m_EaseClipHandler, state);
- return true;
- }
-
- public override void Overlay(Event evt, WindowState state)
- {
- if (!m_IsCaptured)
- return;
- if (m_OverlayText.Length > 0)
- {
- int stringLength = m_OverlayText.Length;
- var r = new Rect(evt.mousePosition.x - (stringLength / 2.0f),
- m_EaseClipHandler.clipGUI.rect.yMax,
- stringLength, 20);
- GUI.Label(r, m_OverlayText.ToString(), TimelineWindow.styles.tinyFont);
- }
- }
-
- void RefreshOverlayStrings(TimelineClipHandle handle, WindowState state)
- {
- m_OverlayText.Length = 0;
- m_OverlayText.Append(m_Edges == ManipulateEdges.Left ? EaseInText : EaseOutText);
- double easeDuration = m_Edges == ManipulateEdges.Left ? m_Clip.easeInDuration : m_Clip.easeOutDuration;
- double deltaDuration = easeDuration - m_OriginalValue;
- bool hasDurationDelta = Math.Abs(deltaDuration) > double.Epsilon;
- if (state.timeInFrames)
- {
- easeDuration *= state.editSequence.frameRate;
- deltaDuration *= state.editSequence.frameRate;
- m_OverlayText.AppendFormat(DurationFrameText, easeDuration);
- if (hasDurationDelta)
- {
- m_OverlayText.AppendFormat(DeltaFrameText, deltaDuration);
- }
- }
- else
- {
- m_OverlayText.AppendFormat(DurationSecText, easeDuration);
- if (hasDurationDelta)
- {
- m_OverlayText.AppendFormat(DeltaSecText, deltaDuration);
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/EaseClip.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/EaseClip.cs.meta
deleted file mode 100644
index a161d2f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/EaseClip.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b7cabea05434bb9479aee1e121b0d103
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/Jog.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/Jog.cs
deleted file mode 100644
index b470b58..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/Jog.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-using UnityEditor.ShortcutManagement;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class Jog : Manipulator
- {
- Vector2 m_MouseDownOrigin = Vector2.zero;
-
- [ClutchShortcut("Timeline/Jog", typeof(TimelineWindow), KeyCode.J)]
- static void JogShortcut(ShortcutArguments args)
- {
- if (args.stage == ShortcutStage.Begin)
- {
- (args.context as TimelineWindow).state.isJogging = true;
- }
- else if (args.stage == ShortcutStage.End)
- {
- (args.context as TimelineWindow).state.isJogging = false;
- }
- }
-
- protected override bool MouseDown(Event evt, WindowState state)
- {
- if (!state.isJogging)
- return false;
-
- m_MouseDownOrigin = evt.mousePosition;
- state.playbackSpeed = 0.0f;
- state.Play();
-
- return true;
- }
-
- protected override bool MouseUp(Event evt, WindowState state)
- {
- if (!state.isJogging)
- {
- return false;
- }
-
- m_MouseDownOrigin = evt.mousePosition;
- state.playbackSpeed = 0.0f;
- state.Play();
- return false;
- }
-
- protected override bool MouseDrag(Event evt, WindowState state)
- {
- if (!state.isJogging)
- return false;
-
- var distance = evt.mousePosition - m_MouseDownOrigin;
-
- state.playbackSpeed = distance.x * 0.002f;
- state.Play();
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/Jog.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/Jog.cs.meta
deleted file mode 100644
index 9f26650..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/Jog.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 949b7e126b3f27940885a6808a15458e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/MarkerHeaderContextMenu.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/MarkerHeaderContextMenu.cs
deleted file mode 100644
index a6b7c87..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/MarkerHeaderContextMenu.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using System;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class TimelineMarkerHeaderContextMenu : Manipulator
- {
- protected override bool ContextClick(Event evt, WindowState state)
- {
- if (!state.showMarkerHeader)
- return false;
-
- if (!(state.GetWindow().markerHeaderRect.Contains(evt.mousePosition)
- || state.GetWindow().markerContentRect.Contains(evt.mousePosition)))
- return false;
-
- SequencerContextMenu.ShowMarkerHeaderContextMenu(evt.mousePosition, state);
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/MarkerHeaderContextMenu.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/MarkerHeaderContextMenu.cs.meta
deleted file mode 100644
index 6f6012a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/MarkerHeaderContextMenu.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e74ddf4132f3401409c824bed60280ee
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleSelect.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleSelect.cs
deleted file mode 100644
index 17342ef..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleSelect.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Linq;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class RectangleSelect : RectangleTool
- {
- protected override bool enableAutoPan { get { return false; } }
-
- protected override bool CanStartRectangle(Event evt, Vector2 mousePosition, WindowState state)
- {
- if (evt.button != 0 || evt.alt)
- return false;
-
- return PickerUtils.pickedElements.All(e => e is IRowGUI);
- }
-
- protected override bool OnFinish(Event evt, WindowState state, Rect rect)
- {
- var selectables = state.spacePartitioner.GetItemsInArea<ISelectable>(rect).ToList();
-
- if (!selectables.Any())
- return false;
-
- if (ItemSelection.CanClearSelection(evt))
- SelectionManager.Clear();
-
- foreach (var selectable in selectables)
- {
- ItemSelection.HandleItemSelection(evt, selectable);
- }
-
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleSelect.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleSelect.cs.meta
deleted file mode 100644
index ddff16e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleSelect.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: edd4f4b395430604d935bcf0b14c7d42
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleTool.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleTool.cs
deleted file mode 100644
index 5de1eb6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleTool.cs
+++ /dev/null
@@ -1,169 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- abstract class RectangleTool
- {
- struct TimelinePoint
- {
- readonly double m_Time;
- readonly float m_YPos;
- readonly float m_YScrollPos;
-
- readonly WindowState m_State;
- readonly TimelineTreeViewGUI m_TreeViewGUI;
-
- public TimelinePoint(WindowState state, Vector2 mousePosition)
- {
- m_State = state;
- m_TreeViewGUI = state.GetWindow().treeView;
-
- m_Time = m_State.PixelToTime(mousePosition.x);
- m_YPos = mousePosition.y;
- m_YScrollPos = m_TreeViewGUI.scrollPosition.y;
- }
-
- public Vector2 ToPixel()
- {
- return new Vector2(m_State.TimeToPixel(m_Time), m_YPos - (m_TreeViewGUI.scrollPosition.y - m_YScrollPos));
- }
- }
-
- TimeAreaAutoPanner m_TimeAreaAutoPanner;
-
- TimelinePoint m_StartPoint;
- Vector2 m_EndPixel = Vector2.zero;
-
- Rect m_ActiveRect;
-
- protected abstract bool enableAutoPan { get; }
- protected abstract bool CanStartRectangle(Event evt, Vector2 mousePosition, WindowState state);
- protected abstract bool OnFinish(Event evt, WindowState state, Rect rect);
-
- int m_Id;
-
- public void OnGUI(WindowState state, EventType rawType, Vector2 mousePosition)
- {
- if (m_Id == 0)
- m_Id = GUIUtility.GetPermanentControlID();
-
- if (state == null || state.GetWindow().treeView == null)
- return;
-
- var evt = Event.current;
-
- if (rawType == EventType.MouseDown || evt.type == EventType.MouseDown)
- {
- if (state.IsCurrentEditingASequencerTextField())
- return;
-
- m_ActiveRect = TimelineWindow.instance.sequenceContentRect;
-
- if (!m_ActiveRect.Contains(mousePosition))
- return;
-
- if (!CanStartRectangle(evt, mousePosition, state))
- return;
-
- if (enableAutoPan)
- m_TimeAreaAutoPanner = new TimeAreaAutoPanner(state);
-
- m_StartPoint = new TimelinePoint(state, mousePosition);
- m_EndPixel = mousePosition;
-
- GUIUtility.hotControl = m_Id; //HACK: Because the treeView eats all the events, steal the hotControl if necessary...
- evt.Use();
-
- return;
- }
-
- switch (evt.GetTypeForControl(m_Id))
- {
- case EventType.KeyDown:
- {
- if (GUIUtility.hotControl == m_Id)
- {
- if (evt.keyCode == KeyCode.Escape)
- {
- m_TimeAreaAutoPanner = null;
-
- GUIUtility.hotControl = 0;
- evt.Use();
- }
- }
-
- return;
- }
-
- case EventType.MouseDrag:
- {
- if (GUIUtility.hotControl != m_Id)
- return;
-
- m_EndPixel = mousePosition;
- evt.Use();
-
- return;
- }
-
- case EventType.MouseUp:
- {
- if (GUIUtility.hotControl != m_Id)
- return;
-
- m_TimeAreaAutoPanner = null;
-
- var rect = CurrentRectangle();
-
- if (IsValidRect(rect))
- OnFinish(evt, state, rect);
-
- GUIUtility.hotControl = 0;
- evt.Use();
-
- return;
- }
- }
-
- if (GUIUtility.hotControl == m_Id)
- {
- if (evt.type == EventType.Repaint)
- {
- var r = CurrentRectangle();
-
- if (IsValidRect(r))
- {
- using (new GUIViewportScope(m_ActiveRect))
- {
- DrawRectangle(r);
- }
- }
- }
-
- if (m_TimeAreaAutoPanner != null)
- m_TimeAreaAutoPanner.OnGUI(evt);
- }
- }
-
- protected virtual void DrawRectangle(Rect rect)
- {
- EditorStyles.selectionRect.Draw(rect, GUIContent.none, false, false, false, false);
- }
-
- static bool IsValidRect(Rect rect)
- {
- return rect.width >= 1.0f && rect.height >= 1.0f;
- }
-
- Rect CurrentRectangle()
- {
- var startPixel = m_StartPoint.ToPixel();
- return Rect.MinMaxRect(
- Math.Min(startPixel.x, m_EndPixel.x),
- Math.Min(startPixel.y, m_EndPixel.y),
- Math.Max(startPixel.x, m_EndPixel.x),
- Math.Max(startPixel.y, m_EndPixel.y));
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleTool.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleTool.cs.meta
deleted file mode 100644
index 3a0d71a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleTool.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 24a7ce8b48db53747a4e8abbda77eac4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleZoom.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleZoom.cs
deleted file mode 100644
index 0a2d45f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleZoom.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class RectangleZoom : RectangleTool
- {
- protected override bool enableAutoPan { get { return true; } }
-
- protected override bool CanStartRectangle(Event evt, Vector2 mousePosition, WindowState state)
- {
- return evt.button == 1 && evt.modifiers == (EventModifiers.Alt | EventModifiers.Shift);
- }
-
- protected override bool OnFinish(Event evt, WindowState state, Rect rect)
- {
- var x = state.PixelToTime(rect.xMin);
- var y = state.PixelToTime(rect.xMax);
- state.SetTimeAreaShownRange(x, y);
-
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleZoom.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleZoom.cs.meta
deleted file mode 100644
index e32aad5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/RectangleZoom.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5aa8f57287fc17149bcd798be813180b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/SelectAndMoveItem.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/SelectAndMoveItem.cs
deleted file mode 100644
index b8d9a77..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/SelectAndMoveItem.cs
+++ /dev/null
@@ -1,297 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class ClearSelection : Manipulator
- {
- protected override bool MouseDown(Event evt, WindowState state)
- {
- // If we hit this point this means no one used the mouse down events. We can safely clear the selection if needed
- if (evt.button != 0)
- return false;
-
- var window = state.GetWindow();
-
- if (!window.sequenceRect.Contains(evt.mousePosition))
- return false;
-
- if (ItemSelection.CanClearSelection(evt))
- {
- SelectionManager.Clear();
- return true;
- }
-
- return false;
- }
- }
-
- static class ItemSelection
- {
- public static bool CanClearSelection(Event evt)
- {
- return !evt.control && !evt.command && !evt.shift;
- }
-
- public static void RangeSelectItems(ITimelineItem lastItemToSelect)
- {
- var selectSorted = SelectionManager.SelectedItems().ToList();
- var firstSelect = selectSorted.FirstOrDefault();
- if (firstSelect == null)
- {
- SelectionManager.Add(lastItemToSelect);
- return;
- }
-
- var allTracks = TimelineEditor.inspectedAsset.flattenedTracks;
- var allItems = allTracks.SelectMany(ItemsUtils.GetItems).ToList();
- TimelineHelpers.RangeSelect(allItems, selectSorted, lastItemToSelect, SelectionManager.Add, SelectionManager.Remove);
- }
-
- public static ISelectable HandleSingleSelection(Event evt)
- {
- var item = PickerUtils.PickedLayerableOfType<ISelectable>();
-
- if (item != null)
- {
- var selected = item.IsSelected();
- if (!selected && CanClearSelection(evt))
- SelectionManager.Clear();
-
- if (evt.modifiers == EventModifiers.Shift)
- {
- if (!selected)
- RangeSelectItems((item as TimelineItemGUI).item);
- }
- else
- {
- HandleItemSelection(evt, item);
- }
- }
-
- return item;
- }
-
- public static void HandleItemSelection(Event evt, ISelectable item)
- {
- if (evt.modifiers == ManipulatorsUtils.actionModifier)
- {
- if (item.IsSelected())
- item.Deselect();
- else
- item.Select();
- }
- else
- {
- if (!item.IsSelected())
- item.Select();
- }
- }
- }
-
- class SelectAndMoveItem : Manipulator
- {
- bool m_Dragged;
- SnapEngine m_SnapEngine;
- TimeAreaAutoPanner m_TimeAreaAutoPanner;
- Vector2 m_MouseDownPosition;
-
- bool m_HorizontalMovementDone;
- bool m_VerticalMovementDone;
-
- MoveItemHandler m_MoveItemHandler;
- bool m_CycleMarkersPending;
-
- protected override bool MouseDown(Event evt, WindowState state)
- {
- if (evt.alt || evt.button != 0)
- return false;
-
- m_Dragged = false;
-
- // Cycling markers and selection are mutually exclusive operations
- if (!HandleMarkerCycle() && !HandleSingleSelection(evt))
- return false;
-
- m_MouseDownPosition = evt.mousePosition;
- m_VerticalMovementDone = false;
- m_HorizontalMovementDone = false;
-
- return true;
- }
-
- protected override bool MouseUp(Event evt, WindowState state)
- {
- if (!m_Dragged)
- {
- var item = PickerUtils.PickedLayerableOfType<ISelectable>();
-
- if (item == null)
- return false;
-
- if (!item.IsSelected())
- return false;
-
- // Re-selecting an item part of a multi-selection should only keep this item selected.
- if (SelectionManager.Count() > 1 && ItemSelection.CanClearSelection(evt))
- {
- SelectionManager.Clear();
- item.Select();
- return true;
- }
-
- if (m_CycleMarkersPending)
- {
- m_CycleMarkersPending = false;
- TimelineMarkerClusterGUI.CycleMarkers();
- return true;
- }
-
- return false;
- }
-
- m_TimeAreaAutoPanner = null;
-
- DropItems();
-
- m_SnapEngine = null;
- m_MoveItemHandler = null;
-
- state.Evaluate();
- state.RemoveCaptured(this);
- m_Dragged = false;
- TimelineCursors.ClearCursor();
-
- return true;
- }
-
- protected override bool DoubleClick(Event evt, WindowState state)
- {
- return MouseDown(evt, state) && MouseUp(evt, state);
- }
-
- protected override bool MouseDrag(Event evt, WindowState state)
- {
- if (state.editSequence.isReadOnly)
- return false;
-
- // case 1099285 - ctrl-click can cause no clips to be selected
- var selectedItemsGUI = SelectionManager.SelectedItems();
- if (!selectedItemsGUI.Any())
- {
- m_Dragged = false;
- return false;
- }
-
- const float hDeadZone = 5.0f;
- const float vDeadZone = 5.0f;
-
- bool vDone = m_VerticalMovementDone || Math.Abs(evt.mousePosition.y - m_MouseDownPosition.y) > vDeadZone;
- bool hDone = m_HorizontalMovementDone || Math.Abs(evt.mousePosition.x - m_MouseDownPosition.x) > hDeadZone;
-
- m_CycleMarkersPending = false;
-
- if (!m_Dragged)
- {
- var canStartMove = vDone || hDone;
-
- if (canStartMove)
- {
- state.AddCaptured(this);
- m_Dragged = true;
-
- var referenceTrack = GetTrackDropTargetAt(state, m_MouseDownPosition);
-
- foreach (var item in selectedItemsGUI)
- item.gui.StartDrag();
-
- m_MoveItemHandler = new MoveItemHandler(state);
-
- m_MoveItemHandler.Grab(selectedItemsGUI, referenceTrack, m_MouseDownPosition);
-
- m_SnapEngine = new SnapEngine(m_MoveItemHandler, m_MoveItemHandler, ManipulateEdges.Both,
- state, m_MouseDownPosition);
-
- m_TimeAreaAutoPanner = new TimeAreaAutoPanner(state);
- }
- }
-
- if (!m_VerticalMovementDone)
- {
- m_VerticalMovementDone = vDone;
-
- if (m_VerticalMovementDone)
- m_MoveItemHandler.OnTrackDetach();
- }
-
- if (!m_HorizontalMovementDone)
- {
- m_HorizontalMovementDone = hDone;
- }
-
- if (m_Dragged)
- {
- if (m_HorizontalMovementDone)
- m_SnapEngine.Snap(evt.mousePosition, evt.modifiers);
-
- if (m_VerticalMovementDone)
- {
- var track = GetTrackDropTargetAt(state, evt.mousePosition);
- m_MoveItemHandler.UpdateTrackTarget(track);
- }
-
- state.Evaluate();
- }
-
- return true;
- }
-
- public override void Overlay(Event evt, WindowState state)
- {
- if (!m_Dragged)
- return;
-
- if (m_TimeAreaAutoPanner != null)
- m_TimeAreaAutoPanner.OnGUI(evt);
-
- m_MoveItemHandler.OnGUI(evt);
-
- if (!m_MoveItemHandler.allowTrackSwitch || m_MoveItemHandler.targetTrack != null)
- {
- TimeIndicator.Draw(state, m_MoveItemHandler.start, m_MoveItemHandler.end);
- m_SnapEngine.OnGUI();
- }
- }
-
- bool HandleMarkerCycle()
- {
- m_CycleMarkersPending = TimelineMarkerClusterGUI.CanCycleMarkers();
- return m_CycleMarkersPending;
- }
-
- bool HandleSingleSelection(Event evt)
- {
- return ItemSelection.HandleSingleSelection(evt) != null;
- }
-
- void DropItems()
- {
- // Order matters here: m_MoveItemHandler.movingItems is destroyed during call to Drop()
- foreach (var movingItem in m_MoveItemHandler.movingItems)
- {
- foreach (var item in movingItem.items)
- item.gui.StopDrag();
- }
-
- m_MoveItemHandler.Drop();
- }
-
- static TrackAsset GetTrackDropTargetAt(WindowState state, Vector2 point)
- {
- var track = state.spacePartitioner.GetItemsAtPosition<IRowGUI>(point).FirstOrDefault();
- return track != null ? track.asset : null;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/SelectAndMoveItem.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/SelectAndMoveItem.cs.meta
deleted file mode 100644
index 16f0152..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/SelectAndMoveItem.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f4f988528bbbb0846a4cb50efb4587a5
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrackZoom.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrackZoom.cs
deleted file mode 100644
index fc167f4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrackZoom.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TrackZoom : Manipulator
- {
- // only handles 'vertical' zoom. horizontal is handled in timelineGUI
- protected override bool MouseWheel(Event evt, WindowState state)
- {
- if (EditorGUI.actionKey)
- {
- state.trackScale = Mathf.Min(Mathf.Max(state.trackScale + (evt.delta.y * 0.1f), 1.0f), 100.0f);
- return true;
- }
-
- return false;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrackZoom.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrackZoom.cs.meta
deleted file mode 100644
index a13fea6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrackZoom.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6e7c80eefe2def5459e0b486b3ab96e2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrimClip.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrimClip.cs
deleted file mode 100644
index 0918a17..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrimClip.cs
+++ /dev/null
@@ -1,232 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TrimClip : Manipulator
- {
- class TrimClipAttractionHandler : IAttractionHandler
- {
- public void OnAttractedEdge(IAttractable attractable, ManipulateEdges manipulateEdges, AttractedEdge edge, double time)
- {
- var clipGUI = attractable as TimelineClipGUI;
- if (clipGUI == null)
- return;
-
- var clipItem = ItemsUtils.ToItem(clipGUI.clip);
- if (manipulateEdges == ManipulateEdges.Right)
- {
- bool affectTimeScale = Event.current.modifiers == EventModifiers.Shift; // TODO Do not use Event.current from here.
- EditMode.TrimEnd(clipItem, time, affectTimeScale);
- }
- else if (manipulateEdges == ManipulateEdges.Left)
- {
- EditMode.TrimStart(clipItem, time);
- }
- }
- }
-
- bool m_IsCaptured;
- TimelineClipHandle m_TrimClipHandler;
-
- double m_OriginalDuration;
- double m_OriginalTimeScale;
- bool m_UndoSaved;
- SnapEngine m_SnapEngine;
-
- readonly StringBuilder m_OverlayText = new StringBuilder();
- readonly List<string> m_OverlayStrings = new List<string>();
-
- static readonly double kEpsilon = 0.0000001;
-
- protected override bool MouseDown(Event evt, WindowState state)
- {
- var handle = PickerUtils.PickedLayerableOfType<TimelineClipHandle>();
- if (handle == null)
- return false;
-
- if (handle.clipGUI.clip.parentTrack != null && handle.clipGUI.clip.parentTrack.lockedInHierarchy)
- return false;
-
- if (ItemSelection.CanClearSelection(evt))
- SelectionManager.Clear();
-
- if (!SelectionManager.Contains(handle.clipGUI.clip))
- SelectionManager.Add(handle.clipGUI.clip);
-
- m_TrimClipHandler = handle;
-
- m_IsCaptured = true;
- state.AddCaptured(this);
-
- m_UndoSaved = false;
-
- var clip = m_TrimClipHandler.clipGUI.clip;
-
- m_OriginalDuration = clip.duration;
- m_OriginalTimeScale = clip.timeScale;
-
- RefreshOverlayStrings(m_TrimClipHandler, state);
-
- // in ripple trim, the right edge moves and needs to snap
- var edges = ManipulateEdges.Right;
- if (EditMode.editType != EditMode.EditType.Ripple && m_TrimClipHandler.trimDirection == TrimEdge.Start)
- edges = ManipulateEdges.Left;
- m_SnapEngine = new SnapEngine(m_TrimClipHandler.clipGUI, new TrimClipAttractionHandler(), edges, state,
- evt.mousePosition);
-
- EditMode.BeginTrim(ItemsUtils.ToItem(clip), m_TrimClipHandler.trimDirection);
-
- return true;
- }
-
- protected override bool MouseUp(Event evt, WindowState state)
- {
- if (!m_IsCaptured)
- return false;
-
- m_IsCaptured = false;
- m_TrimClipHandler = null;
- m_UndoSaved = false;
- m_SnapEngine = null;
- EditMode.FinishTrim();
-
- state.captured.Clear();
-
- return true;
- }
-
- protected override bool MouseDrag(Event evt, WindowState state)
- {
- if (state.editSequence.isReadOnly)
- return false;
-
- if (!m_IsCaptured)
- return false;
-
- if (!m_UndoSaved)
- {
- var uiClip = m_TrimClipHandler.clipGUI;
- TimelineUndo.PushUndo(uiClip.clip.parentTrack, "Trim Clip");
- if (TimelineUtility.IsRecordableAnimationClip(uiClip.clip))
- {
- TimelineUndo.PushUndo(uiClip.clip.animationClip, "Trim Clip");
- }
-
- m_UndoSaved = true;
- }
-
- if (m_SnapEngine != null)
- m_SnapEngine.Snap(evt.mousePosition, evt.modifiers);
-
- RefreshOverlayStrings(m_TrimClipHandler, state);
-
- if (Selection.activeObject != null)
- EditorUtility.SetDirty(Selection.activeObject);
-
- // updates the duration of the graph without rebuilding
- state.UpdateRootPlayableDuration(state.editSequence.duration);
-
- return true;
- }
-
- public override void Overlay(Event evt, WindowState state)
- {
- if (!m_IsCaptured)
- return;
-
- EditMode.DrawTrimGUI(state, m_TrimClipHandler.clipGUI, m_TrimClipHandler.trimDirection);
-
- bool trimStart = m_TrimClipHandler.trimDirection == TrimEdge.Start;
-
- TimeIndicator.Draw(state, trimStart ? m_TrimClipHandler.clipGUI.start : m_TrimClipHandler.clipGUI.end);
-
- if (m_SnapEngine != null)
- m_SnapEngine.OnGUI(trimStart, !trimStart);
-
- if (m_OverlayStrings.Count > 0)
- {
- const float padding = 4.0f;
- var labelStyle = TimelineWindow.styles.tinyFont;
- var longestLine = labelStyle.CalcSize(
- new GUIContent(m_OverlayStrings.Aggregate("", (max, cur) => max.Length > cur.Length ? max : cur)));
- var stringLength = longestLine.x + padding;
- var lineHeight = longestLine.y + padding;
-
- var r = new Rect(evt.mousePosition.x - (stringLength / 2.0f),
- m_TrimClipHandler.clipGUI.rect.yMax,
- stringLength, lineHeight);
-
- foreach (var s in m_OverlayStrings)
- {
- GUI.Label(r, s, labelStyle);
- r.y += lineHeight;
- }
- }
- }
-
- void RefreshOverlayStrings(TimelineClipHandle handle, WindowState state)
- {
- m_OverlayStrings.Clear();
-
- m_OverlayText.Length = 0;
-
- var differenceDuration = handle.clipGUI.clip.duration - m_OriginalDuration;
- bool hasDurationDelta = Math.Abs(differenceDuration) > kEpsilon;
-
- if (state.timeInFrames)
- {
- var durationInFrame = handle.clipGUI.clip.duration * state.referenceSequence.frameRate;
- m_OverlayText.Append("duration: ").Append(durationInFrame.ToString("f2")).Append(" frames");
-
- if (hasDurationDelta)
- {
- m_OverlayText.Append(" (");
-
- if (differenceDuration > 0.0)
- m_OverlayText.Append("+");
-
- var valueInFrame = differenceDuration * state.referenceSequence.frameRate;
- m_OverlayText.Append(valueInFrame.ToString("f2")).Append(" frames)");
- }
- }
- else
- {
- m_OverlayText.Append("duration: ").Append(handle.clipGUI.clip.duration.ToString("f2")).Append("s");
-
- if (hasDurationDelta)
- {
- m_OverlayText.Append(" (");
-
- if (differenceDuration > 0.0)
- m_OverlayText.Append("+");
-
- m_OverlayText.Append(differenceDuration.ToString("f2")).Append("s)");
- }
- }
-
- m_OverlayStrings.Add(m_OverlayText.ToString());
-
- m_OverlayText.Length = 0;
-
- var differenceSpeed = m_OriginalTimeScale - handle.clipGUI.clip.timeScale;
- if (Math.Abs(differenceSpeed) > kEpsilon)
- {
- m_OverlayText.Append("speed: ").Append(handle.clipGUI.clip.timeScale.ToString("p2"));
-
- m_OverlayText.Append(" (");
-
- if (differenceSpeed > 0.0)
- m_OverlayText.Append("+");
-
- m_OverlayText.Append(differenceSpeed.ToString("p2")).Append(")");
-
- m_OverlayStrings.Add(m_OverlayText.ToString());
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrimClip.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrimClip.cs.meta
deleted file mode 100644
index 063a1c6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Sequence/TrimClip.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 511aa760b8728a940a41c29837945292
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeAreaAutoPanner.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeAreaAutoPanner.cs
deleted file mode 100644
index 8052d65..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeAreaAutoPanner.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class TimeAreaAutoPanner
- {
- readonly WindowState m_State;
- readonly TimelineWindow m_Window;
- readonly Rect m_ViewRect;
-
- const float k_PixelDistanceToMaxSpeed = 100.0f;
- const float k_MaxPanSpeed = 30.0f;
-
- public TimeAreaAutoPanner(WindowState state)
- {
- m_State = state;
- m_Window = m_State.GetWindow();
-
- var shownRange = m_State.timeAreaShownRange;
- var trackViewBounds = m_Window.sequenceRect;
- m_ViewRect = Rect.MinMaxRect(m_State.TimeToPixel(shownRange.x), trackViewBounds.yMin,
- m_State.TimeToPixel(shownRange.y), trackViewBounds.yMax);
- }
-
- public void OnGUI(Event evt)
- {
- if (evt.type != EventType.Layout)
- return;
-
- var hFactor = 0.0f;
- var vFactor = 0.0f;
-
- bool horizontalPan = GetPanFactor(evt.mousePosition.x, m_ViewRect.xMin, m_ViewRect.xMax, out hFactor);
- bool verticalPan = GetPanFactor(evt.mousePosition.y, m_ViewRect.yMin, m_ViewRect.yMax, out vFactor);
-
- if (horizontalPan)
- {
- var translation = m_State.timeAreaTranslation;
- translation.x += hFactor * k_MaxPanSpeed;
-
- m_State.SetTimeAreaTransform(translation, m_State.timeAreaScale);
- }
-
- if (verticalPan)
- {
- var translation = m_Window.treeView.scrollPosition;
- translation.y -= vFactor * k_MaxPanSpeed;
-
- m_Window.treeView.scrollPosition = translation;
- }
- }
-
- static bool GetPanFactor(float v, float min, float max, out float factor)
- {
- factor = 0.0f;
-
- if (v < min)
- {
- factor = Mathf.Clamp01((min - v) / k_PixelDistanceToMaxSpeed);
- return true;
- }
-
- if (v > max)
- {
- factor = -Mathf.Clamp01((v - max) / k_PixelDistanceToMaxSpeed);
- return true;
- }
-
- return false;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeAreaAutoPanner.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeAreaAutoPanner.cs.meta
deleted file mode 100644
index 00a9eaf..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeAreaAutoPanner.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 02e1fe0a338b35545a5fed1345848332
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeIndicator.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeIndicator.cs
deleted file mode 100644
index d896ae5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeIndicator.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- static class TimeIndicator
- {
- static readonly Tooltip s_Tooltip = new Tooltip(DirectorStyles.Instance.displayBackground, DirectorStyles.Instance.tinyFont);
-
- public static void Draw(WindowState state, double time)
- {
- var bounds = state.timeAreaRect;
- bounds.xMin = Mathf.Max(bounds.xMin, state.TimeToTimeAreaPixel(time));
-
- using (new GUIViewportScope(state.timeAreaRect))
- {
- s_Tooltip.text = TimeReferenceUtility.ToTimeString(time);
-
- var tooltipBounds = s_Tooltip.bounds;
- tooltipBounds.xMin = bounds.xMin - (tooltipBounds.width / 2.0f);
- tooltipBounds.y = bounds.y;
- s_Tooltip.bounds = tooltipBounds;
-
- if (time >= 0)
- s_Tooltip.Draw();
- }
-
- if (time >= 0)
- {
- Graphics.DrawLineAtTime(state, time, Color.black, true);
- }
- }
-
- public static void Draw(WindowState state, double start, double end)
- {
- var bounds = state.timeAreaRect;
- bounds.xMin = Mathf.Max(bounds.xMin, state.TimeToTimeAreaPixel(start));
- bounds.xMax = Mathf.Min(bounds.xMax, state.TimeToTimeAreaPixel(end));
-
- var color = DirectorStyles.Instance.selectedStyle.focused.textColor;
- color.a = 0.12f;
- EditorGUI.DrawRect(bounds, color);
-
- Draw(state, start);
- Draw(state, end);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeIndicator.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeIndicator.cs.meta
deleted file mode 100644
index c8244f7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimeIndicator.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1d446e57147ca9b4183edfbbfa9bf206
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimelineClipGroup.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimelineClipGroup.cs
deleted file mode 100644
index 03f4d8d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimelineClipGroup.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TimelineClipGroup
- {
- readonly TimelineClip[] m_Clips;
- readonly TimelineClip m_LeftMostClip;
- readonly TimelineClip m_RightMostClip;
-
- public TimelineClip[] clips
- {
- get { return m_Clips; }
- }
-
- public double start
- {
- get { return m_LeftMostClip.start; }
- set
- {
- var offset = value - m_LeftMostClip.start;
-
- foreach (var clip in m_Clips)
- clip.start += offset;
- }
- }
-
- public double end
- {
- get { return m_RightMostClip.end; }
- }
-
- public TimelineClipGroup(IEnumerable<TimelineClip> clips)
- {
- Debug.Assert(clips != null && clips.Any());
-
- m_Clips = clips.ToArray();
- m_LeftMostClip = null;
- m_RightMostClip = null;
-
- foreach (var clip in m_Clips)
- {
- if (m_LeftMostClip == null || clip.start < m_LeftMostClip.start)
- m_LeftMostClip = clip;
-
- if (m_RightMostClip == null || clip.end > m_RightMostClip.end)
- m_RightMostClip = clip;
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimelineClipGroup.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimelineClipGroup.cs.meta
deleted file mode 100644
index 6106644..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/TimelineClipGroup.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b8c3bda3a988b5f4c910a5c3f722d0be
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim.meta
deleted file mode 100644
index e40400f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: f6d64d8648793944dbadfd71f0f4b0a1
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/ITrimItemMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/ITrimItemMode.cs
deleted file mode 100644
index 9286600..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/ITrimItemMode.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- enum TrimEdge
- {
- Start,
- End
- }
-
- interface ITrimItemMode
- {
- void OnBeforeTrim(ITrimmable item, TrimEdge trimDirection);
-
- void TrimStart(ITrimmable item, double time);
- void TrimEnd(ITrimmable item, double time, bool affectTimeScale);
- }
-
- interface ITrimItemDrawer
- {
- void DrawGUI(WindowState state, Rect bounds, Color color, TrimEdge edge);
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/ITrimItemMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/ITrimItemMode.cs.meta
deleted file mode 100644
index 0dc6ddc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/ITrimItemMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b4a5ce78107bc38409a3bb5e8b3289ac
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeMix.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeMix.cs
deleted file mode 100644
index 7232c29..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeMix.cs
+++ /dev/null
@@ -1,102 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TrimItemModeMix : ITrimItemMode, ITrimItemDrawer
- {
- ITrimmable m_Item;
-
- double m_Min;
- double m_Max;
-
- public void OnBeforeTrim(ITrimmable item, TrimEdge trimDirection)
- {
- m_Item = item;
-
- var sortedItems = ItemsUtils.GetItemsExcept(item.parentTrack, new[] {item})
- .OfType<ITrimmable>()
- .OrderBy(c => c.start);
-
- var itemStart = (DiscreteTime)item.start;
- var itemEnd = (DiscreteTime)item.end;
-
- var overlapped = sortedItems.LastOrDefault(c => (DiscreteTime)c.start == itemStart && (DiscreteTime)c.end == itemEnd);
-
- ITrimmable nextItem;
- ITrimmable prevItem;
-
- m_Min = 0.0;
- m_Max = double.PositiveInfinity;
-
- var blendableItem = item as IBlendable;
- if (blendableItem != null && blendableItem.supportsBlending)
- {
- if (trimDirection == TrimEdge.Start)
- {
- nextItem = sortedItems.FirstOrDefault(c => (DiscreteTime)c.start >= itemStart && (DiscreteTime)c.end > itemEnd);
- prevItem = sortedItems.LastOrDefault(c => (DiscreteTime)c.start <= itemStart && (DiscreteTime)c.end < itemEnd);
-
- if (prevItem != null)
- m_Min = prevItem.start + EditModeUtils.BlendDuration(prevItem, TrimEdge.Start);
-
- if (nextItem != null)
- m_Max = nextItem.start;
- }
- else
- {
- nextItem = sortedItems.FirstOrDefault(c => c != overlapped && (DiscreteTime)c.start >= itemStart && (DiscreteTime)c.end >= itemEnd);
- prevItem = sortedItems.LastOrDefault(c => c != overlapped && (DiscreteTime)c.start <= itemStart && (DiscreteTime)c.end <= itemEnd);
-
- if (prevItem != null)
- m_Min = prevItem.end;
-
- if (nextItem != null)
- m_Max = nextItem.end - EditModeUtils.BlendDuration(nextItem, TrimEdge.End);
- }
- }
- else
- {
- nextItem = sortedItems.FirstOrDefault(c => (DiscreteTime)c.start > itemStart);
- prevItem = sortedItems.LastOrDefault(c => (DiscreteTime)c.start < itemStart);
-
- if (prevItem != null)
- m_Min = prevItem.end;
-
- if (nextItem != null)
- m_Max = nextItem.start;
- }
- }
-
- public void TrimStart(ITrimmable item, double time)
- {
- time = Math.Min(Math.Max(time, m_Min), m_Max);
- item.SetStart(time);
- }
-
- public void TrimEnd(ITrimmable item, double time, bool affectTimeScale)
- {
- time = Math.Min(Math.Max(time, m_Min), m_Max);
- item.SetEnd(time, affectTimeScale);
- }
-
- public void DrawGUI(WindowState state, Rect bounds, Color color, TrimEdge edge)
- {
- if (EditModeUtils.HasBlends(m_Item, edge))
- {
- EditModeGUIUtils.DrawBoundsEdge(bounds, color, edge);
- var cursorType = (edge == TrimEdge.End)
- ? TimelineCursors.CursorType.MixRight
- : TimelineCursors.CursorType.MixLeft;
-
- TimelineCursors.SetCursor(cursorType);
- }
- else
- {
- TimelineCursors.ClearCursor();
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeMix.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeMix.cs.meta
deleted file mode 100644
index cac1412..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeMix.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5ddd9f7d3cce6724696a33752ab2f5a4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeReplace.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeReplace.cs
deleted file mode 100644
index 4cc798c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeReplace.cs
+++ /dev/null
@@ -1,139 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TrimItemModeReplace : ITrimItemMode, ITrimItemDrawer
- {
- ITrimmable m_Item;
-
- ITrimmable m_ItemToBeReplaced;
- double m_ClipOriginalEdgeValue;
- bool m_TrimReplace;
-
- double m_Min;
- double m_Max;
-
- public void OnBeforeTrim(ITrimmable item, TrimEdge trimDirection)
- {
- m_Item = item;
-
- var sortedClips = ItemsUtils.GetItemsExcept(item.parentTrack, new[] { item })
- .OfType<ITrimmable>()
- .OrderBy(c => c.start);
-
- var clipStart = (DiscreteTime)item.start;
- var clipEnd = (DiscreteTime)item.end;
-
- var overlapped = sortedClips.LastOrDefault(c => (DiscreteTime)c.start == clipStart && (DiscreteTime)c.end == clipEnd);
-
- ITrimmable nextItem;
- ITrimmable prevItem;
-
- m_Min = 0.0;
- m_Max = double.PositiveInfinity;
-
- if (trimDirection == TrimEdge.Start)
- {
- nextItem = sortedClips.FirstOrDefault(c => (DiscreteTime)c.start >= clipStart && (DiscreteTime)c.end > clipEnd);
- prevItem = sortedClips.LastOrDefault(c => (DiscreteTime)c.start <= clipStart && (DiscreteTime)c.end < clipEnd);
-
- if (prevItem != null)
- m_Min = prevItem.start + EditModeUtils.BlendDuration(prevItem, TrimEdge.Start) + TimelineClip.kMinDuration;
-
- if (nextItem != null)
- m_Max = nextItem.start;
-
- m_ItemToBeReplaced = prevItem;
-
- if (m_ItemToBeReplaced != null)
- m_ClipOriginalEdgeValue = m_ItemToBeReplaced.end;
- }
- else
- {
- nextItem = sortedClips.FirstOrDefault(c => c != overlapped && (DiscreteTime)c.start >= clipStart && (DiscreteTime)c.end >= clipEnd);
- prevItem = sortedClips.LastOrDefault(c => c != overlapped && (DiscreteTime)c.start <= clipStart && (DiscreteTime)c.end <= clipEnd);
-
- if (prevItem != null)
- m_Min = prevItem.end;
-
- if (nextItem != null)
- m_Max = nextItem.end - EditModeUtils.BlendDuration(nextItem, TrimEdge.End) - TimelineClip.kMinDuration;
-
- m_ItemToBeReplaced = nextItem;
-
- if (m_ItemToBeReplaced != null)
- m_ClipOriginalEdgeValue = m_ItemToBeReplaced.start;
- }
-
- m_TrimReplace = false;
- }
-
- public void TrimStart(ITrimmable item, double time)
- {
- time = Math.Min(Math.Max(time, m_Min), m_Max);
-
- if (m_ItemToBeReplaced != null)
- {
- if (!m_TrimReplace)
- m_TrimReplace = item.start >= m_ItemToBeReplaced.end;
- }
-
- time = Math.Max(time, 0.0);
-
- item.SetStart(time);
-
- if (m_ItemToBeReplaced != null && m_TrimReplace)
- {
- var prevEnd = Math.Min(item.start, m_ClipOriginalEdgeValue);
- m_ItemToBeReplaced.SetEnd(prevEnd, false);
- }
- }
-
- public void TrimEnd(ITrimmable item, double time, bool affectTimeScale)
- {
- time = Math.Min(Math.Max(time, m_Min), m_Max);
-
- if (m_ItemToBeReplaced != null)
- {
- if (!m_TrimReplace)
- m_TrimReplace = item.end <= m_ItemToBeReplaced.start;
- }
-
- item.SetEnd(time, affectTimeScale);
-
- if (m_ItemToBeReplaced != null && m_TrimReplace)
- {
- var nextStart = Math.Max(item.end, m_ClipOriginalEdgeValue);
- m_ItemToBeReplaced.SetStart(nextStart);
- }
- }
-
- public void DrawGUI(WindowState state, Rect bounds, Color color, TrimEdge edge)
- {
- bool shouldDraw = m_ItemToBeReplaced != null && (edge == TrimEdge.End && m_Item.end > m_ClipOriginalEdgeValue) ||
- (edge == TrimEdge.Start && m_Item.start < m_ClipOriginalEdgeValue);
-
- if (shouldDraw)
- {
- var cursorType = TimelineCursors.CursorType.Replace;
- if (EditModeUtils.HasBlends(m_Item, edge))
- {
- color = DirectorStyles.kMixToolColor;
- cursorType = (edge == TrimEdge.End)
- ? TimelineCursors.CursorType.MixRight
- : TimelineCursors.CursorType.MixLeft;
- }
-
- EditModeGUIUtils.DrawBoundsEdge(bounds, color, edge);
- TimelineCursors.SetCursor(cursorType);
- }
- else
- {
- TimelineCursors.ClearCursor();
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeReplace.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeReplace.cs.meta
deleted file mode 100644
index a68744e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeReplace.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 769f6f5dd7c8f2d4c9ab1caba0bd2628
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeRipple.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeRipple.cs
deleted file mode 100644
index 1cce7a6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeRipple.cs
+++ /dev/null
@@ -1,97 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TrimItemModeRipple : ITrimItemMode, ITrimItemDrawer
- {
- double m_OriginalClipStart;
- double m_OriginalClipEnd;
-
- ITrimmable[] m_NextItems;
-
- double m_BlendDuration;
-
- double m_TrimStartShift;
-
- public void OnBeforeTrim(ITrimmable item, TrimEdge trimDirection)
- {
- m_OriginalClipStart = item.start;
- m_OriginalClipEnd = item.end;
- m_TrimStartShift = 0.0;
-
- var sortedClips = ItemsUtils.GetItemsExcept(item.parentTrack, new[] { item })
- .OfType<ITrimmable>()
- .OrderBy(c => c.start);
-
- var clipStart = (DiscreteTime)item.start;
- var clipEnd = (DiscreteTime)item.end;
-
- m_NextItems = sortedClips.Where(c => (DiscreteTime)c.start >= clipStart && (DiscreteTime)c.end >= clipEnd).ToArray();
-
- var overlapped = sortedClips.LastOrDefault(c => (DiscreteTime)c.start == clipStart && (DiscreteTime)c.end == clipEnd);
-
- if (overlapped != null)
- {
- m_BlendDuration = overlapped.end - overlapped.start;
- }
- else
- {
- m_BlendDuration = 0.0;
-
- var prevClip = sortedClips.LastOrDefault(c => (DiscreteTime)c.start <= clipStart && (DiscreteTime)c.end <= clipEnd);
- if (prevClip != null)
- m_BlendDuration += Math.Max(prevClip.end - item.start, 0.0);
-
- var nextClip = sortedClips.FirstOrDefault(c => (DiscreteTime)c.start >= clipStart && (DiscreteTime)c.end >= clipEnd);
- if (nextClip != null)
- m_BlendDuration += Math.Max(item.end - nextClip.start, 0.0);
- }
- }
-
- public void TrimStart(ITrimmable item, double time)
- {
- var prevEnd = item.end;
-
- // HACK If time is negative, make sure we shift the SetStart operation to a positive space.
- if (time < 0.0)
- m_TrimStartShift = Math.Max(-time, m_TrimStartShift);
-
- item.start = m_OriginalClipEnd - item.duration + m_TrimStartShift;
- time += m_TrimStartShift;
-
- if (m_BlendDuration > 0.0)
- time = Math.Min(time, item.end - m_BlendDuration);
-
- item.SetStart(time);
-
- item.start = m_OriginalClipStart;
-
- var offset = item.end - prevEnd;
- foreach (var timelineClip in m_NextItems)
- timelineClip.start += offset;
- }
-
- public void TrimEnd(ITrimmable item, double time, bool affectTimeScale)
- {
- var prevEnd = item.end;
-
- if (m_BlendDuration > 0.0)
- time = Math.Max(time, item.start + m_BlendDuration);
-
- item.SetEnd(time, affectTimeScale);
-
- var offset = item.end - prevEnd;
- foreach (var timelineClip in m_NextItems)
- timelineClip.start += offset;
- }
-
- public void DrawGUI(WindowState state, Rect bounds, Color color, TrimEdge edge)
- {
- EditModeGUIUtils.DrawBoundsEdge(bounds, color, edge);
- TimelineCursors.SetCursor(TimelineCursors.CursorType.Ripple);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeRipple.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeRipple.cs.meta
deleted file mode 100644
index 0c58aff..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Trim/TrimItemModeRipple.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 20c8bb6b47a526c4c96ca73314fe2856
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils.meta
deleted file mode 100644
index b4af7ca..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 67e9c6cf60c57a54f9f4db1bc33fd2e3
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeGUIUtils.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeGUIUtils.cs
deleted file mode 100644
index 392709f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeGUIUtils.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- static class EditModeGUIUtils
- {
- public static void DrawBoundsEdge(Rect bounds, Color color, TrimEdge edge, float width = 4.0f)
- {
- var r = bounds;
- r.yMin += 2.0f;
- r.yMax -= 2.0f;
- r.width = width;
-
- r.x = edge == TrimEdge.End ? bounds.xMax : bounds.xMin - width;
-
- EditorGUI.DrawRect(r, color);
- }
-
- public static void DrawOverlayRect(Rect bounds, Color overlayColor)
- {
- var c = overlayColor;
- c.a = 0.2f;
- EditorGUI.DrawRect(bounds, c);
- EditorGUI.DrawOutline(bounds, 1.0f, new Color(1.0f, 1.0f, 1.0f, 0.5f));
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeGUIUtils.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeGUIUtils.cs.meta
deleted file mode 100644
index 6fdf542..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeGUIUtils.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 8938e753b3f47374889d5cf3265b563c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeMixUtils.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeMixUtils.cs
deleted file mode 100644
index ca34f4b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeMixUtils.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class EditModeMixUtils
- {
- static readonly List<PlacementValidity> k_UnrecoverablePlacements = new List<PlacementValidity>
- {
- PlacementValidity.InvalidIsWithin,
- PlacementValidity.InvalidStartsInBlend,
- PlacementValidity.InvalidContainsBlend
- };
-
- public static bool CanInsert(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- foreach (var itemsGroup in itemsGroups)
- {
- var siblings = ItemsUtils.GetItemsExcept(itemsGroup.targetTrack, itemsGroup.items);
- foreach (var item in itemsGroup.items)
- {
- var placementValidity = GetPlacementValidity(item, siblings);
-
- if (k_UnrecoverablePlacements.Contains(placementValidity))
- {
- return false;
- }
- }
- }
-
- return true;
- }
-
- //Corrects clips durations to fit at insertion point, if needed
- public static void PrepareItemsForInsertion(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- foreach (var itemsGroup in itemsGroups)
- {
- var siblings = ItemsUtils.GetItemsExcept(itemsGroup.targetTrack, itemsGroup.items);
- foreach (var item in itemsGroup.items.OfType<ITrimmable>())
- {
- var eatenItems = siblings.Where(c => EditModeUtils.IsItemWithinRange(c, item.start, item.end)).ToList();
-
- var intersectedItem = EditModeUtils.GetFirstIntersectedItem(siblings, item.end);
- if (intersectedItem != null)
- eatenItems.Add(intersectedItem);
-
- var blendableItems = eatenItems.OfType<IBlendable>();
- if (blendableItems.Any())
- {
- var minTime = blendableItems.Min(c => c.end - c.rightBlendDuration);
-
- if (item.end > minTime)
- item.SetEnd(minTime, false);
- }
- }
- }
- }
-
- public static PlacementValidity GetPlacementValidity(ITimelineItem item, IEnumerable<ITimelineItem> otherItems)
- {
- if (item.duration <= 0.0)
- return PlacementValidity.Valid; //items without any duration can always be placed
-
- var sortedItems = otherItems.Where(i => i.duration > 0.0).OrderBy(c => c.start);
- var candidates = new List<ITimelineItem>();
- foreach (var sortedItem in sortedItems)
- {
- if ((DiscreteTime)sortedItem.start >= (DiscreteTime)item.end)
- {
- // No need to process further
- break;
- }
-
- if ((DiscreteTime)sortedItem.end <= (DiscreteTime)item.start)
- {
- // Skip
- continue;
- }
-
- candidates.Add(sortedItem);
- }
-
- var discreteStart = (DiscreteTime)item.start;
- var discreteEnd = (DiscreteTime)item.end;
-
- // Note: Order of tests matters
- for (int i = 0, n = candidates.Count; i < n; i++)
- {
- var candidate = candidates[i];
-
- var blendItem = item as IBlendable;
- if (blendItem != null && blendItem.supportsBlending)
- {
- if (EditModeUtils.Contains(candidate.start, candidate.end, item))
- return PlacementValidity.InvalidIsWithin;
-
- if (i < n - 1)
- {
- var nextCandidate = candidates[i + 1];
-
- var discreteNextCandidateStart = (DiscreteTime)nextCandidate.start;
- var discreteCandidateEnd = (DiscreteTime)candidate.end;
-
- if (discreteCandidateEnd > discreteNextCandidateStart)
- {
- if (discreteStart >= discreteNextCandidateStart)
- {
- // Note: In case the placement is fully within a blend,
- // InvalidStartsInBlend MUST have priority
- return PlacementValidity.InvalidStartsInBlend;
- }
-
- if (discreteEnd > discreteNextCandidateStart && discreteEnd <= discreteCandidateEnd)
- return PlacementValidity.InvalidEndsInBlend;
-
- if (discreteStart < discreteNextCandidateStart && discreteEnd > discreteCandidateEnd)
- return PlacementValidity.InvalidContainsBlend;
- }
- }
-
- if (EditModeUtils.Contains(item.start, item.end, candidate))
- return PlacementValidity.InvalidContains;
- }
- else
- {
- if (EditModeUtils.Overlaps(item, candidate.start, candidate.end)
- || EditModeUtils.Overlaps(candidate, item.start, item.end))
- return PlacementValidity.InvalidOverlapWithNonBlendableClip;
- }
- }
-
- return PlacementValidity.Valid;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeMixUtils.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeMixUtils.cs.meta
deleted file mode 100644
index f36da89..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeMixUtils.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 505965fb9ab352b4d88882d7c8d822bf
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeReplaceUtils.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeReplaceUtils.cs
deleted file mode 100644
index d004a5a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeReplaceUtils.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class EditModeReplaceUtils
- {
- public static void Insert(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- foreach (var itemsGroup in itemsGroups)
- {
- Insert(itemsGroup.targetTrack, itemsGroup.items);
- }
- }
-
- static void Insert(TrackAsset track, IEnumerable<ITimelineItem> items)
- {
- if (track == null) return;
- var orderedItems = ItemsUtils.GetItemsExcept(track, items)
- .OfType<ITrimmable>()
- .OrderBy(i => i.start).ToArray();
-
- foreach (var item in items.OfType<ITrimmable>())
- {
- var from = item.start;
- var to = item.end;
-
- var overlappedItems = orderedItems.Where(i => EditModeUtils.Overlaps(i, from, to));
-
- foreach (var overlappedItem in overlappedItems)
- {
- if (EditModeUtils.IsItemWithinRange(overlappedItem, from, to))
- {
- overlappedItem.Delete();
- }
- else
- {
- if (overlappedItem.start >= from)
- overlappedItem.TrimStart(to);
- else
- overlappedItem.TrimEnd(from);
- }
- }
-
- var includingItems = orderedItems.Where(c => c.start<from && c.end> to);
- foreach (var includingItem in includingItems)
- {
- var newItem = includingItem.CloneTo(track, includingItem.start) as ITrimmable;
- includingItem.TrimStart(to);
- if (newItem != null)
- newItem.SetEnd(from, false);
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeReplaceUtils.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeReplaceUtils.cs.meta
deleted file mode 100644
index 3184352..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeReplaceUtils.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6ca745fb561cbf640b6e603f95662fa0
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeRippleUtils.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeRippleUtils.cs
deleted file mode 100644
index a705fc6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeRippleUtils.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class EditModeRippleUtils
- {
- public static void Insert(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- var start = double.MaxValue;
- var end = double.MinValue;
-
- foreach (var itemsGroup in itemsGroups)
- {
- start = Math.Min(start, itemsGroup.items.Min(c => c.start));
- end = Math.Max(end, itemsGroup.items.Max(c => c.end));
- }
-
- var offset = 0.0;
- var discreteStart = (DiscreteTime)start;
- var discreteEnd = (DiscreteTime)end;
- var itemTypes = ItemsUtils.GetItemTypes(itemsGroups);
- var siblingsToRipple = new List<ITimelineItem>();
-
- foreach (var itemsGroup in itemsGroups)
- {
- //can only ripple items of the same type as those selected
- siblingsToRipple.AddRange(ItemsUtils.GetItemsExcept(itemsGroup.targetTrack, itemsGroup.items).Where(i => itemTypes.Contains(i.GetType())));
- foreach (var item in siblingsToRipple)
- {
- var discreteItemStart = (DiscreteTime)item.start;
- var discreteItemEnd = (DiscreteTime)item.end;
-
- if ((discreteItemStart < discreteStart && discreteItemEnd > discreteStart) || (discreteItemStart >= discreteStart && discreteItemStart < discreteEnd))
- offset = Math.Max(offset, end - item.start);
- }
- }
-
- if (offset > 0.0)
- {
- foreach (var sibling in siblingsToRipple)
- {
- if ((DiscreteTime)sibling.end > (DiscreteTime)start)
- sibling.start += offset;
- }
- }
- }
-
- public static void Remove(IEnumerable<ItemsPerTrack> itemsGroups)
- {
- foreach (var itemsGroup in itemsGroups)
- Remove(itemsGroup.targetTrack, itemsGroup.items);
- }
-
- static void Remove(TrackAsset track, IEnumerable<ITimelineItem> items)
- {
- if (track == null) return;
-
- //can only ripple items of the same type as those selected
- var itemTypes = ItemsUtils.GetItemTypes(items);
- var siblingsToRipple = ItemsUtils.GetItemsExcept(track, items)
- .Where(i => itemTypes.Contains(i.GetType()))
- .OrderBy(c => c.start)
- .ToArray();
-
- var orderedItems = items
- .OrderBy(c => c.start)
- .ToArray();
-
- var cumulativeOffset = 0.0;
-
- foreach (var item in orderedItems)
- {
- var offset = item.end - item.start;
- var start = item.start - cumulativeOffset;
- var end = item.end - cumulativeOffset;
-
- var nextItem = siblingsToRipple.FirstOrDefault(c => (DiscreteTime)c.start > (DiscreteTime)start && (DiscreteTime)c.start < (DiscreteTime)end);
- if (nextItem != null)
- {
- offset -= end - nextItem.start;
- }
-
- var prevItem = siblingsToRipple.FirstOrDefault(c => (DiscreteTime)c.end > (DiscreteTime)start && (DiscreteTime)c.end < (DiscreteTime)end);
- if (prevItem != null)
- {
- offset -= prevItem.end - start;
- }
-
- if (offset <= 0.0)
- continue;
-
- cumulativeOffset += offset;
-
- for (int i = siblingsToRipple.Length - 1; i >= 0; --i)
- {
- var c = siblingsToRipple[i];
- if ((DiscreteTime)c.start < (DiscreteTime)start)
- break;
-
- c.start = c.start - offset;
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeRippleUtils.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeRippleUtils.cs.meta
deleted file mode 100644
index 1178683..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeRippleUtils.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 495e2738ac7d88a41a158cd2e237d70b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeUtils.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeUtils.cs
deleted file mode 100644
index 126f349..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeUtils.cs
+++ /dev/null
@@ -1,123 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class EditModeUtils
- {
- public static void Delete(IEnumerable<ITimelineItem> items)
- {
- if (items == null)
- return;
-
- foreach (var item in items)
- item.Delete();
- }
-
- public static void SetStart(IEnumerable<ITimelineItem> items, double time)
- {
- var offset = time - items.Min(c => c.start);
-
- foreach (var item in items)
- item.start += offset;
- }
-
- public static void SetParentTrack(IEnumerable<ITimelineItem> items, TrackAsset parentTrack)
- {
- foreach (var item in items)
- {
- if (item.parentTrack == parentTrack)
- continue;
-
- item.parentTrack = parentTrack;
-
- var clipGUI = item.gui as TimelineClipGUI;
- if (clipGUI != null)
- {
- clipGUI.clipCurveEditor = null;
- }
- }
- }
-
- public static ITimelineItem GetFirstIntersectedItem(IEnumerable<ITimelineItem> items, double time)
- {
- return items.FirstOrDefault(c => Intersects(time, c.start, c.end));
- }
-
- static bool Intersects(double time, double start, double end)
- {
- var discreteTime = (DiscreteTime)time;
- return discreteTime > (DiscreteTime)start && discreteTime < (DiscreteTime)end;
- }
-
- public static bool Overlaps(ITimelineItem item, double from, double to)
- {
- var discreteFrom = (DiscreteTime)from;
- var discreteTo = (DiscreteTime)to;
- var discreteStart = (DiscreteTime)item.start;
-
- if (discreteStart >= discreteFrom && discreteStart < discreteTo)
- return true;
-
- var discreteEnd = (DiscreteTime)item.end;
-
- if (discreteEnd > discreteFrom && discreteEnd <= discreteTo)
- return true;
-
- return false;
- }
-
- public static bool IsItemWithinRange(ITimelineItem item, double from, double to)
- {
- return (DiscreteTime)item.start >= (DiscreteTime)from && (DiscreteTime)item.end <= (DiscreteTime)to;
- }
-
- public static bool IsRangeWithinItem(double from, double to, ITimelineItem item)
- {
- return (DiscreteTime)from >= (DiscreteTime)item.start && (DiscreteTime)to <= (DiscreteTime)item.end;
- }
-
- public static bool Contains(double from, double to, ITimelineItem item)
- {
- return (DiscreteTime)from < (DiscreteTime)item.start && (DiscreteTime)to > (DiscreteTime)item.end;
- }
-
- public static bool HasBlends(ITimelineItem item, TrimEdge edge)
- {
- var blendable = item as IBlendable;
- if (blendable == null) return false;
-
- return edge == TrimEdge.Start && blendable.hasLeftBlend || edge == TrimEdge.End && blendable.hasRightBlend;
- }
-
- public static double BlendDuration(ITimelineItem item, TrimEdge edge)
- {
- var blendable = item as IBlendable;
- if (blendable == null) return 0.0;
-
- return edge == TrimEdge.Start ? blendable.leftBlendDuration : blendable.rightBlendDuration;
- }
-
- public static bool IsInfiniteTrack(TrackAsset track)
- {
- var aTrack = track as AnimationTrack;
- return aTrack != null && aTrack.CanConvertToClipMode();
- }
-
- public static void GetInfiniteClipBoundaries(TrackAsset track, out double start, out double end)
- {
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(((AnimationTrack)track).infiniteClip);
- if (info.keyTimes.Length > 0)
- {
- start = info.keyTimes.Min();
- end = info.keyTimes.Max();
- }
- else
- {
- start = end = 0.0f;
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeUtils.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeUtils.cs.meta
deleted file mode 100644
index cf5984a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/EditModeUtils.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 70eae1897c9d308448eb3bb0b5be9f58
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/ManipulatorsUtils.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/ManipulatorsUtils.cs
deleted file mode 100644
index c56aa1d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/ManipulatorsUtils.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- static class ManipulatorsUtils
- {
- public static EventModifiers actionModifier
- {
- get
- {
- if (Application.platform == RuntimePlatform.OSXEditor ||
- Application.platform == RuntimePlatform.OSXPlayer)
- return EventModifiers.Command;
-
- return EventModifiers.Control;
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/ManipulatorsUtils.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/ManipulatorsUtils.cs.meta
deleted file mode 100644
index 3b611ea..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/ManipulatorsUtils.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e177382a693dea644acd34e3e7a3feb3
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/PlacementValidity.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/PlacementValidity.cs
deleted file mode 100644
index 76c0ced..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/PlacementValidity.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-namespace UnityEditor.Timeline
-{
- enum PlacementValidity
- {
- Valid,
- InvalidContains,
- InvalidIsWithin,
- InvalidStartsInBlend,
- InvalidEndsInBlend,
- InvalidContainsBlend,
- InvalidOverlapWithNonBlendableClip
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/PlacementValidity.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/PlacementValidity.cs.meta
deleted file mode 100644
index 571f365..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Manipulators/Utils/PlacementValidity.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 335020228a0fe124897f51f25f6350ee
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/MenuOrder.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/MenuOrder.cs
deleted file mode 100644
index 40913e7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/MenuOrder.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-using System;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class MenuOrder
- {
- // by default, adds at the end, before 'add'
- public const int DefaultPriority = 9000;
- public const int SeparatorAt = 1000;
-
- public static class TimelineAction
- {
- public const int Start = 1000;
- public const int Copy = Start + 100;
- public const int Paste = Start + 200;
- public const int Duplicate = Start + 300;
- public const int Delete = Start + 400;
- public const int MatchContent = Start + 500;
- }
-
- public static class TrackAction
- {
- public const int Start = TimelineAction.Start + SeparatorAt;
-
- public const int LockTrack = Start + 100;
- public const int LockSelected = Start + 150;
- public const int MuteTrack = Start + 200;
- public const int MuteSelected = Start + 250;
- public const int ShowHideMarkers = Start + 300;
- public const int RemoveInvalidMarkers = Start + 400;
- public const int EditInAnimationWindow = Start + 800;
- }
-
- public static class TrackAddMenu
- {
- public const int Start = TrackAction.Start + SeparatorAt;
- public const int AddLayerTrack = Start;
- }
-
- public static class ClipEditAction
- {
- public const int Start = TrackAddMenu.Start + SeparatorAt;
- public const int EditInAnimationWindow = Start + 100;
- public const int EditSubTimeline = Start + 200;
- }
-
- public static class ClipAction
- {
- public const int Start = ClipEditAction.Start + SeparatorAt;
-
- public const int TrimStart = Start + 100;
- public const int TrimEnd = Start + 110;
- public const int Split = Start + 120;
- public const int CompleteLastLoop = Start + SeparatorAt;
- public const int TrimLastLoop = Start + SeparatorAt + 110;
- public const int MatchDuration = Start + SeparatorAt + 120;
- public const int DoubleSpeed = Start + 2 * SeparatorAt;
- public const int HalfSpeed = Start + 2 * SeparatorAt + 110;
- public const int ResetDuration = Start + 3 * SeparatorAt;
- public const int ResetSpeed = Start + 3 * SeparatorAt + 110;
- public const int ResetAll = Start + 3 * SeparatorAt + 120;
-
- public const int Tile = Start + 300;
- public const int FindSourceAsset = Start + 400;
- }
-
- public static class MarkerAction
- {
- public const int Start = ClipAction.Start + SeparatorAt;
- }
-
- public static class CustomTrackAction
- {
- public const int Start = MarkerAction.Start + SeparatorAt;
-
- public const int AnimConvertToClipMode = Start + 100;
- public const int AnimConvertFromClipMode = Start + 200;
- public const int AnimApplyTrackOffset = Start + 300;
- public const int AnimApplySceneOffset = Start + 310;
- public const int AnimApplyAutoOffset = Start + 320;
- public const int AnimAddOverrideTrack = Start + 500;
- }
-
- public static class CustomClipAction
- {
- public const int Start = CustomTrackAction.Start + SeparatorAt;
- public const int AnimClipMatchPrevious = Start + 100;
- public const int AnimClipMatchNext = Start + 110;
- public const int AnimClipResetOffset = Start + 120;
- }
-
-
- public const int AddGroupItemStart = DefaultPriority + SeparatorAt;
- public const int AddTrackItemStart = AddGroupItemStart + SeparatorAt;
- public const int AddCustomTrackItemStart = AddTrackItemStart + SeparatorAt;
- public const int AddClipItemStart = AddCustomTrackItemStart + SeparatorAt;
- public const int AddCustomClipItemStart = AddClipItemStart + SeparatorAt;
- public const int AddMarkerItemStart = AddCustomClipItemStart + SeparatorAt;
- public const int AddCustomMarkerItemStart = AddMarkerItemStart + SeparatorAt;
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/MenuOrder.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/MenuOrder.cs.meta
deleted file mode 100644
index 5045520..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/MenuOrder.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 78fd02709d00d8441bd53a889e83a8f5
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables.meta
deleted file mode 100644
index c4523e1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 9a6069768ff3d8043a79348813f86cba
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables/ControlPlayableInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables/ControlPlayableInspector.cs
deleted file mode 100644
index 5e6f077..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables/ControlPlayableInspector.cs
+++ /dev/null
@@ -1,212 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomEditor(typeof(ControlPlayableAsset)), CanEditMultipleObjects]
- class ControlPlayableInspector : Editor
- {
- static class Styles
- {
- static string s_DisabledBecauseOfSelfControlTooltip = "Must be disabled when the Source Game Object references the same PlayableDirector component that is being controlled";
- public static readonly GUIContent activationContent = EditorGUIUtility.TrTextContent("Control Activation", "When checked the clip will control the active state of the source game object");
- public static readonly GUIContent activationDisabledContent = EditorGUIUtility.TextContent("Control Activation|" + s_DisabledBecauseOfSelfControlTooltip);
- public static readonly GUIContent prefabContent = EditorGUIUtility.TrTextContent("Prefab", "A prefab to instantiate as a child object of the source game object");
- public static readonly GUIContent advancedContent = EditorGUIUtility.TrTextContent("Advanced");
- public static readonly GUIContent updateParticleSystemsContent = EditorGUIUtility.TrTextContent("Control Particle Systems", "Synchronize the time between the clip and any particle systems on the game object");
- public static readonly GUIContent updatePlayableDirectorContent = EditorGUIUtility.TrTextContent("Control Playable Directors", "Synchronize the time between the clip and any playable directors on the game object");
- public static readonly GUIContent updatePlayableDirectorDisabledContent = EditorGUIUtility.TextContent("Control Playable Directors|" + s_DisabledBecauseOfSelfControlTooltip);
- public static readonly GUIContent updateITimeControlContent = EditorGUIUtility.TrTextContent("Control ITimeControl", "Synchronize the time between the clip and any Script that implements the ITimeControl interface on the game object");
- public static readonly GUIContent updateHierarchy = EditorGUIUtility.TrTextContent("Control Children", "Search child game objects for particle systems and playable directors");
- public static readonly GUIContent randomSeedContent = EditorGUIUtility.TrTextContent("Random Seed", "A random seed to provide the particle systems for consistent previews. This will only be used on particle systems where AutoRandomSeed is on.");
- public static readonly GUIContent postPlayableContent = EditorGUIUtility.TrTextContent("Post Playback", "The active state to the leave the game object when the timeline is finished. \n\nRevert will leave the game object in the state it was prior to the timeline being run");
- }
-
- SerializedProperty m_SourceObject;
- SerializedProperty m_PrefabObject;
- SerializedProperty m_UpdateParticle;
- SerializedProperty m_UpdateDirector;
- SerializedProperty m_UpdateITimeControl;
- SerializedProperty m_SearchHierarchy;
- SerializedProperty m_UseActivation;
- SerializedProperty m_PostPlayback;
- SerializedProperty m_RandomSeed;
- bool m_CycleReference;
-
-
- GUIContent m_SourceObjectLabel = new GUIContent();
-
- // the director that the selection was made with. Normally this matches the active director in timeline,
- // but persists if the active timeline changes (case 962516)
- private PlayableDirector contextDirector
- {
- get
- {
- if (serializedObject == null)
- return null;
- return serializedObject.context as PlayableDirector;
- }
- }
-
- public void OnEnable()
- {
- if (target == null) // case 946080
- return;
-
- m_SourceObject = serializedObject.FindProperty("sourceGameObject");
- m_PrefabObject = serializedObject.FindProperty("prefabGameObject");
-
- m_UpdateParticle = serializedObject.FindProperty("updateParticle");
- m_UpdateDirector = serializedObject.FindProperty("updateDirector");
- m_UpdateITimeControl = serializedObject.FindProperty("updateITimeControl");
- m_SearchHierarchy = serializedObject.FindProperty("searchHierarchy");
- m_UseActivation = serializedObject.FindProperty("active");
- m_PostPlayback = serializedObject.FindProperty("postPlayback");
- m_RandomSeed = serializedObject.FindProperty("particleRandomSeed");
- CheckForCyclicReference();
- }
-
- public override void OnInspectorGUI()
- {
- if (target == null)
- return;
-
- serializedObject.Update();
-
- m_SourceObjectLabel.text = m_SourceObject.displayName;
-
- if (m_PrefabObject.objectReferenceValue != null)
- m_SourceObjectLabel.text = "Parent Object";
-
- bool selfControlled = false;
-
-
- EditorGUI.BeginChangeCheck();
-
- using (new GUIMixedValueScope(m_SourceObject.hasMultipleDifferentValues))
- EditorGUILayout.PropertyField(m_SourceObject, m_SourceObjectLabel);
-
- var sourceGameObject = m_SourceObject.exposedReferenceValue as GameObject;
- selfControlled = m_PrefabObject.objectReferenceValue == null && TimelineWindow.instance != null && TimelineWindow.instance.state != null &&
- contextDirector != null && sourceGameObject == contextDirector.gameObject;
-
- if (EditorGUI.EndChangeCheck())
- {
- CheckForCyclicReference();
- if (!selfControlled)
- DisablePlayOnAwake(sourceGameObject);
- }
-
- if (selfControlled)
- {
- EditorGUILayout.HelpBox("The assigned GameObject references the same PlayableDirector component being controlled.", MessageType.Warning);
- }
- else if (m_CycleReference)
- {
- EditorGUILayout.HelpBox("The assigned GameObject contains a PlayableDirector component that results in a circular reference.", MessageType.Warning);
- }
-
- EditorGUI.indentLevel++;
- EditorGUILayout.PropertyField(m_PrefabObject, Styles.prefabContent);
- EditorGUI.indentLevel--;
-
- using (new EditorGUI.DisabledScope(selfControlled))
- {
- EditorGUILayout.PropertyField(m_UseActivation, selfControlled ? Styles.activationDisabledContent : Styles.activationContent);
- if (m_UseActivation.boolValue)
- {
- EditorGUI.indentLevel++;
- EditorGUILayout.PropertyField(m_PostPlayback, Styles.postPlayableContent);
- EditorGUI.indentLevel--;
- }
- }
-
- m_SourceObject.isExpanded = EditorGUILayout.Foldout(m_SourceObject.isExpanded, Styles.advancedContent, true);
-
- if (m_SourceObject.isExpanded)
- {
- EditorGUI.indentLevel++;
-
- using (new EditorGUI.DisabledScope(selfControlled && !m_SearchHierarchy.boolValue))
- {
- EditorGUI.BeginChangeCheck();
- EditorGUILayout.PropertyField(m_UpdateDirector, selfControlled ? Styles.updatePlayableDirectorDisabledContent : Styles.updatePlayableDirectorContent);
- if (EditorGUI.EndChangeCheck())
- {
- CheckForCyclicReference();
- }
- }
-
- EditorGUILayout.PropertyField(m_UpdateParticle, Styles.updateParticleSystemsContent);
- if (m_UpdateParticle.boolValue)
- {
- EditorGUI.indentLevel++;
- EditorGUILayout.PropertyField(m_RandomSeed, Styles.randomSeedContent);
- EditorGUI.indentLevel--;
- }
- EditorGUILayout.PropertyField(m_UpdateITimeControl, Styles.updateITimeControlContent);
-
- EditorGUILayout.PropertyField(m_SearchHierarchy, Styles.updateHierarchy);
-
- EditorGUI.indentLevel--;
- }
-
- serializedObject.ApplyModifiedProperties();
- }
-
- //
- // Fix for a workflow issue where scene objects with directors have play on awake by default enabled.
- // This causes confusion when the director is played within another director, so we disable it on assignment
- // to avoid the issue, but not force the issue on the user
- public void DisablePlayOnAwake(GameObject sourceObject)
- {
- if (sourceObject != null && m_UpdateDirector.boolValue)
- {
- if (m_SearchHierarchy.boolValue)
- {
- var directors = sourceObject.GetComponentsInChildren<PlayableDirector>();
- foreach (var d in directors)
- {
- DisablePlayOnAwake(d);
- }
- }
- else
- {
- DisablePlayOnAwake(sourceObject.GetComponent<PlayableDirector>());
- }
- }
- }
-
- public void DisablePlayOnAwake(PlayableDirector director)
- {
- if (director == null)
- return;
- var obj = new SerializedObject(director);
- var prop = obj.FindProperty("m_InitialState");
- prop.enumValueIndex = (int)PlayState.Paused;
- obj.ApplyModifiedProperties();
- }
-
- void CheckForCyclicReference()
- {
- serializedObject.ApplyModifiedProperties();
- m_CycleReference = false;
-
- PlayableDirector director = contextDirector;
- if (contextDirector == null)
- return;
-
- foreach (var asset in targets.OfType<ControlPlayableAsset>())
- {
- if (ControlPlayableUtility.DetectCycle(asset, director))
- {
- m_CycleReference = true;
- return;
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables/ControlPlayableInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables/ControlPlayableInspector.cs.meta
deleted file mode 100644
index a097e70..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Playables/ControlPlayableInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f65646ef159c91441bff704a5f7f419b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties.meta
deleted file mode 100644
index aeb1d28..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 0f71aeefaa877ae4787e8356f25ad1e5
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties/AssemblyInfo.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties/AssemblyInfo.cs
deleted file mode 100644
index 31ab973..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("UnityEditor.Timeline")]
-[assembly: AssemblyDescription("Unity Timeline Editor")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Unity Technologies")]
-[assembly: AssemblyProduct("UnityEditor.Timeline")]
-[assembly: AssemblyCopyright("Copyright © 2016")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-[assembly: ComVisible(false)]
-[assembly: Guid("7668179E-DE52-4D63-96C8-B7D84461EA29")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-[assembly: InternalsVisibleTo("Assembly-CSharp-Editor-testable")]
-[assembly: InternalsVisibleTo("Unity.Timeline.EditorTests")]
-[assembly: InternalsVisibleTo("Unity.Timeline.Tests")]
-[assembly: InternalsVisibleTo("Unity.Timeline.Tests.Common")]
-[assembly: InternalsVisibleTo("Unity.Timeline.Tests.Performance.Editor")]
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties/AssemblyInfo.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties/AssemblyInfo.cs.meta
deleted file mode 100644
index 830ee0a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Properties/AssemblyInfo.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d5718b3fe3a758b4a9ec29170290d4f6
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording.meta
deleted file mode 100644
index 59cb660..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 4584db2acba045742a16942983e7fb96
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/AnimationTrackRecorder.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/AnimationTrackRecorder.cs
deleted file mode 100644
index d09cc62..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/AnimationTrackRecorder.cs
+++ /dev/null
@@ -1,306 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class AnimationTrackRecorder
- {
- public static readonly string kRecordClipDefaultName = L10n.Tr("Recorded");
-
- AnimationClip m_TargetClip;
- int m_CurveCount = 0;
-
- double m_ClipTime;
- bool m_needRebuildRects;
-
- bool m_TrackHasPreviewComponents;
-
- public TimelineClip recordClip { get; private set; }
-
- public void PrepareForRecord(WindowState state)
- {
- m_CurveCount = 0;
- m_TargetClip = null;
- m_TrackHasPreviewComponents = false;
- }
-
- public AnimationClip PrepareTrack(TrackAsset track, WindowState state, GameObject gameObject, out double startTime)
- {
- AnimationClip animationClip = null;
-
- // if we are not in clip mode, we simply use the track clip
- var animationTrack = (AnimationTrack)track;
-
- // ignore recording if we are in Legacy auto mode
- startTime = -1;
- var parentTrack = TimelineUtility.GetSceneReferenceTrack(track) as AnimationTrack;
- if (parentTrack != null && parentTrack.trackOffset == TrackOffset.Auto)
- return null;
-
- if (!animationTrack.inClipMode)
- {
- var trackClip = animationTrack.GetOrCreateClip();
- startTime = trackClip.frameRate * state.editSequence.time;
-
- // Make the first key be at time 0 of the clip
- if (trackClip.empty)
- {
- animationTrack.infiniteClipTimeOffset = 0; // state.time;
- animationTrack.infiniteClipPreExtrapolation = TimelineClip.ClipExtrapolation.Hold;
- animationTrack.infiniteClipPostExtrapolation = TimelineClip.ClipExtrapolation.Hold;
- }
-
- animationClip = trackClip;
- }
- else
- {
- TimelineClip activeClip = null;
-
- // if it fails, but returns no clip, we can add one.
- if (!track.FindRecordingClipAtTime(state.editSequence.time, out activeClip) && activeClip != null)
- {
- return null;
- }
-
- if (activeClip == null)
- {
- activeClip = AddRecordableClip(track, state, state.editSequence.time);
- }
-
- var clip = activeClip.animationClip;
-
- // flags this as the clip being recorded for the track
- var clipTime = state.editSequence.time - activeClip.start;
-
- // if we are in the past
- if (clipTime < 0)
- {
- Undo.RegisterCompleteObjectUndo(clip, "Record Key");
- TimelineUndo.PushUndo(track, "Prepend Key");
- ShiftAnimationClip(clip, (float)-clipTime);
- activeClip.start = state.editSequence.time;
- activeClip.duration += -clipTime;
- clipTime = 0;
- }
-
- m_ClipTime = clipTime;
- recordClip = activeClip;
- startTime = TimeUtility.ToFrames(recordClip.ToLocalTimeUnbound(state.editSequence.time), clip.frameRate);
- m_needRebuildRects = clip.empty;
-
- animationClip = clip;
- }
-
- m_TargetClip = animationClip;
- m_CurveCount = GetCurveCount(animationClip);
- m_TrackHasPreviewComponents = animationTrack.hasPreviewComponents;
-
- return animationClip;
- }
-
- static int GetCurveCount(AnimationClip animationClip)
- {
- int count = 0;
- if (animationClip != null)
- {
- var clipCache = AnimationClipCurveCache.Instance.GetCurveInfo(animationClip);
- count = clipCache.curves.Length + clipCache.objectCurves.Count;
- }
-
- return count;
- }
-
- public void FinializeTrack(TrackAsset track, WindowState state)
- {
- // make sure we dirty the clip if we are in non clip mode
- var animTrack = track as AnimationTrack;
- if (!animTrack.inClipMode)
- {
- EditorUtility.SetDirty(animTrack.GetOrCreateClip());
- }
-
- // in clip mode we need to do some extra work
- if (recordClip != null)
- {
- // stretch the clip out to meet the new recording time
- if (m_ClipTime > recordClip.duration)
- {
- TimelineUndo.PushUndo(track, "Add Key");
- recordClip.duration = m_ClipTime;
- }
-
- track.CalculateExtrapolationTimes();
- }
-
- recordClip = null;
- m_ClipTime = 0;
- if (m_needRebuildRects)
- {
- state.CalculateRowRects();
- m_needRebuildRects = false;
- }
- }
-
- public void FinalizeRecording(WindowState state)
- {
- // rebuild the graph if we add/remove a clip. Rebuild the graph with an evaluation immediately
- // so previews and scene position is maintained.
- if (m_CurveCount != GetCurveCount(m_TargetClip))
- {
- state.rebuildGraph = true;
- state.GetWindow().RebuildGraphIfNecessary(true);
- }
- else if (m_TrackHasPreviewComponents)
- {
- // Track with preview components potentially has modifications impacting other properties that need
- // to be refreshed before inspector or scene view to not interfere with manipulation.
- state.EvaluateImmediate();
- }
- }
-
- // For a given track asset get a unique clip name
- public static string GetUniqueRecordedClipName(Object owner, string name)
- {
- // first attempt -- uniquely named in file
- var path = AssetDatabase.GetAssetPath(owner);
- if (!string.IsNullOrEmpty(path))
- {
- var names = AssetDatabase.LoadAllAssetsAtPath(path).Where(x => x != null).Select(x => x.name);
- return ObjectNames.GetUniqueName(names.ToArray(), name);
- }
-
- TrackAsset asset = owner as TrackAsset;
- if (asset == null || asset.clips.Length == 0)
- return name;
-
- // final attempt - uniquely named in track
- return ObjectNames.GetUniqueName(asset.clips.Select(x => x.displayName).ToArray(), name);
- }
-
- // Given an appropriate parent track, create a recordable clip
- public static TimelineClip AddRecordableClip(TrackAsset parentTrack, WindowState state, double atTime)
- {
- var sequenceAsset = state.editSequence.asset;
- if (sequenceAsset == null)
- {
- Debug.LogError("Parent Track needs to be bound to an asset to add a recordable");
- return null;
- }
-
- var animTrack = parentTrack as AnimationTrack;
- if (animTrack == null)
- {
- Debug.LogError("Recordable clips are only valid on Animation Tracks");
- return null;
- }
-
- var newClip = animTrack.CreateRecordableClip(GetUniqueRecordedClipName(parentTrack, kRecordClipDefaultName));
- if (newClip == null)
- {
- Debug.LogError("Could not create a recordable clip");
- return null;
- }
-
- newClip.mixInCurve = AnimationCurve.EaseInOut(0, 0, 1, 1);
- newClip.mixOutCurve = AnimationCurve.EaseInOut(0, 1, 1, 0);
-
- newClip.preExtrapolationMode = TimelineClip.ClipExtrapolation.Hold;
- newClip.postExtrapolationMode = TimelineClip.ClipExtrapolation.Hold;
-
- double startTime = 0;
- double endTime = 0;
-
- GetAddedRecordingClipRange(animTrack, state, atTime, out startTime, out endTime);
-
- newClip.start = startTime;
- newClip.duration = endTime - startTime;
-
- state.Refresh();
-
- return newClip;
- }
-
- // get the start and end times of what an added recording clip at a given time would be
- internal static void GetAddedRecordingClipRange(TrackAsset track, WindowState state, double atTime, out double start, out double end)
- {
- // size to make the clip in pixels. Reasonably big so that both handles are easily manipulated,
- // and the full title is normally visible
- double defaultDuration = state.PixelDeltaToDeltaTime(100);
-
- start = atTime;
- end = atTime + defaultDuration;
-
- double gapStart = 0;
- double gapEnd = 0;
-
- // no gap, pick are reasonable amount
- if (!track.GetGapAtTime(atTime, out gapStart, out gapEnd))
- {
- start = atTime;
- return;
- }
-
- if (!double.IsInfinity(gapEnd))
- end = gapEnd;
-
- start = state.SnapToFrameIfRequired(start);
- end = state.SnapToFrameIfRequired(end);
- }
-
- // Given a clip, shifts the keys in that clip by the given amount.
- internal static void ShiftAnimationClip(AnimationClip clip, float amount)
- {
- if (clip == null)
- return;
-
- var curveBindings = AnimationUtility.GetCurveBindings(clip);
- var objectCurveBindings = AnimationUtility.GetObjectReferenceCurveBindings(clip);
-
- foreach (var binding in curveBindings)
- {
- AnimationCurve curve = AnimationUtility.GetEditorCurve(clip, binding);
- curve.keys = ShiftKeys(curve.keys, amount);
- AnimationUtility.SetEditorCurve(clip, binding, curve);
- }
-
- foreach (var binding in objectCurveBindings)
- {
- ObjectReferenceKeyframe[] keyframes = AnimationUtility.GetObjectReferenceCurve(clip, binding);
- keyframes = ShiftObjectKeys(keyframes, amount);
- AnimationUtility.SetObjectReferenceCurve(clip, binding, keyframes);
- }
-
- EditorUtility.SetDirty(clip);
- }
-
- // shift all the keys over by the given time, stretching the time 0 key
- static Keyframe[] ShiftKeys(Keyframe[] keys, float time)
- {
- if (keys == null || keys.Length == 0 || time == 0)
- return keys;
-
- for (int i = 0; i < keys.Length; i++)
- {
- keys[i].time += time;
- }
-
- return keys;
- }
-
- // Shift object keys over by the appropriate amount
- static ObjectReferenceKeyframe[] ShiftObjectKeys(ObjectReferenceKeyframe[] keys, float time)
- {
- if (keys == null || keys.Length == 0 || time == 0)
- return keys;
-
- for (int i = 0; i < keys.Length; i++)
- {
- keys[i].time += time;
- }
-
- return keys;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/AnimationTrackRecorder.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/AnimationTrackRecorder.cs.meta
deleted file mode 100644
index e80ec10..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/AnimationTrackRecorder.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a0a02e768c802b641b6793fa864f1c2c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording.cs
deleted file mode 100644
index e63ad6a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording.cs
+++ /dev/null
@@ -1,497 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- // Handles Undo animated properties on Monobehaviours to create track clips
- static partial class TimelineRecording
- {
- static readonly List<PropertyModification> s_TempPropertyModifications = new List<PropertyModification>(6);
-
- internal static UndoPropertyModification[] ProcessUndoModification(UndoPropertyModification[] modifications, WindowState state)
- {
- if (HasAnyPlayableAssetModifications(modifications))
- return ProcessPlayableAssetModification(modifications, state);
- return ProcessMonoBehaviourModification(modifications, state);
- }
-
- static UnityEngine.Object GetTarget(UndoPropertyModification undo)
- {
- if (undo.currentValue != null)
- return undo.currentValue.target;
- if (undo.previousValue != null)
- return undo.previousValue.target;
- return null;
- }
-
- // Gets the appropriate track for a given game object
- static TrackAsset GetTrackForGameObject(GameObject gameObject, WindowState state)
- {
- if (gameObject == null)
- return null;
-
- var director = state.editSequence.director;
- if (director == null)
- return null;
-
- var level = int.MaxValue;
-
- TrackAsset result = null;
-
- // search the output tracks
- var outputTracks = state.editSequence.asset.flattenedTracks;
- foreach (var track in outputTracks)
- {
- if (track.GetType() != typeof(AnimationTrack))
- continue;
- if (!state.IsTrackRecordable(track))
- continue;
-
- var obj = TimelineUtility.GetSceneGameObject(director, track);
- if (obj != null)
- {
- // checks if the effected gameobject is our child
- var childLevel = GetChildLevel(obj, gameObject);
- if (childLevel != -1 && childLevel < level)
- {
- result = track;
- level = childLevel;
- }
- }
- }
-
- // the resulting track is not armed. checking here avoids accidentally recording objects with their own
- // tracks
- if (result && !state.IsTrackRecordable(result))
- {
- result = null;
- }
-
- return result;
- }
-
- // Gets the track this property would record to.
- // Returns null if there is a track, but it's not currently active for recording
- public static TrackAsset GetRecordingTrack(SerializedProperty property, WindowState state)
- {
- var serializedObject = property.serializedObject;
- var component = serializedObject.targetObject as Component;
- if (component == null)
- return null;
-
- var gameObject = component.gameObject;
- return GetTrackForGameObject(gameObject, state);
- }
-
- // Given a serialized property, gathers all animatable properties
- static void GatherModifications(SerializedProperty property, List<PropertyModification> modifications)
- {
- // handles child properties (Vector3 is 3 recordable properties)
- if (property.hasChildren)
- {
- var iter = property.Copy();
- var end = property.GetEndProperty(false);
-
- // recurse over all children properties
- while (iter.Next(true) && !SerializedProperty.EqualContents(iter, end))
- {
- GatherModifications(iter, modifications);
- }
- }
-
- var isObject = property.propertyType == SerializedPropertyType.ObjectReference;
- var isFloat = property.propertyType == SerializedPropertyType.Float ||
- property.propertyType == SerializedPropertyType.Boolean ||
- property.propertyType == SerializedPropertyType.Integer;
-
- if (isObject || isFloat)
- {
- var serializedObject = property.serializedObject;
- var modification = new PropertyModification();
-
- modification.target = serializedObject.targetObject;
- modification.propertyPath = property.propertyPath;
- if (isObject)
- {
- modification.value = string.Empty;
- modification.objectReference = property.objectReferenceValue;
- }
- else
- {
- modification.value = TimelineUtility.PropertyToString(property);
- }
-
- // Path for monobehaviour based - better to grab the component to get the curvebinding to allow validation
- if (serializedObject.targetObject is Component)
- {
- EditorCurveBinding temp;
- var go = ((Component)serializedObject.targetObject).gameObject;
- if (AnimationUtility.PropertyModificationToEditorCurveBinding(modification, go, out temp) != null)
- {
- modifications.Add(modification);
- }
- }
- else
- {
- modifications.Add(modification);
- }
- }
- }
-
- public static bool CanRecord(SerializedProperty property, WindowState state)
- {
- if (IsPlayableAssetProperty(property))
- return AnimatedParameterUtility.IsTypeAnimatable(property.propertyType);
-
- if (GetRecordingTrack(property, state) == null)
- return false;
-
- s_TempPropertyModifications.Clear();
- GatherModifications(property, s_TempPropertyModifications);
- return s_TempPropertyModifications.Any();
- }
-
- public static void AddKey(SerializedProperty prop, WindowState state)
- {
- s_TempPropertyModifications.Clear();
- GatherModifications(prop, s_TempPropertyModifications);
- if (s_TempPropertyModifications.Any())
- {
- AddKey(s_TempPropertyModifications, state);
- }
- }
-
- public static void AddKey(IEnumerable<PropertyModification> modifications, WindowState state)
- {
- var undos = modifications.Select(PropertyModificationToUndoPropertyModification).ToArray();
- ProcessUndoModification(undos, state);
- }
-
- static UndoPropertyModification PropertyModificationToUndoPropertyModification(PropertyModification prop)
- {
- return new UndoPropertyModification
- {
- previousValue = prop,
- currentValue = new PropertyModification
- {
- objectReference = prop.objectReference,
- propertyPath = prop.propertyPath,
- target = prop.target,
- value = prop.value
- },
- keepPrefabOverride = true
- };
- }
-
- // Given an animation track, return the clip that we are currently recording to
- static AnimationClip GetRecordingClip(TrackAsset asset, WindowState state, out double startTime, out double timeScale)
- {
- startTime = 0;
- timeScale = 1;
-
- TimelineClip displayBackground = null;
- asset.FindRecordingClipAtTime(state.editSequence.time, out displayBackground);
- var animClip = asset.FindRecordingAnimationClipAtTime(state.editSequence.time);
-
- if (displayBackground != null)
- {
- startTime = displayBackground.start;
- timeScale = displayBackground.timeScale;
- }
-
- return animClip;
- }
-
- // Helper that finds the animation clip we are recording and the relative time to that clip
- static bool GetClipAndRelativeTime(UnityEngine.Object target, WindowState state,
- out AnimationClip outClip, out double keyTime, out bool keyInRange)
- {
- const float floatToDoubleError = 0.00001f;
- outClip = null;
- keyTime = 0;
- keyInRange = false;
-
- double startTime = 0;
- double timeScale = 1;
- AnimationClip clip = null;
-
- IPlayableAsset playableAsset = target as IPlayableAsset;
- Component component = target as Component;
-
- // Handle recordable playable assets
- if (playableAsset != null)
- {
- var curvesOwner = AnimatedParameterUtility.ToCurvesOwner(playableAsset, state.editSequence.asset);
- if (curvesOwner != null && state.IsTrackRecordable(curvesOwner.targetTrack))
- {
- if (curvesOwner.curves == null)
- curvesOwner.CreateCurves(curvesOwner.GetUniqueRecordedClipName());
-
- clip = curvesOwner.curves;
-
- var timelineClip = curvesOwner as TimelineClip;
- if (timelineClip != null)
- {
- startTime = timelineClip.start;
- timeScale = timelineClip.timeScale;
- }
- }
- }
- // Handle recording components, including infinite clip
- else if (component != null)
- {
- var asset = GetTrackForGameObject(component.gameObject, state);
- if (asset != null)
- {
- clip = GetRecordingClip(asset, state, out startTime, out timeScale);
- }
- }
-
- if (clip == null)
- return false;
-
- keyTime = (state.editSequence.time - startTime) * timeScale;
- outClip = clip;
- keyInRange = keyTime >= 0 && keyTime <= (clip.length * timeScale + floatToDoubleError);
-
- return true;
- }
-
- public static bool HasCurve(IEnumerable<PropertyModification> modifications, UnityEngine.Object target,
- WindowState state)
- {
- return GetKeyTimes(target, modifications, state).Any();
- }
-
- public static bool HasKey(IEnumerable<PropertyModification> modifications, UnityEngine.Object target,
- WindowState state)
- {
- AnimationClip clip;
- double keyTime;
- bool inRange;
- if (!GetClipAndRelativeTime(target, state, out clip, out keyTime, out inRange))
- return false;
-
- return GetKeyTimes(target, modifications, state).Any(t => (CurveEditUtility.KeyCompare((float)state.editSequence.time, (float)t, clip.frameRate) == 0));
- }
-
- // Checks if a key already exists for this property
- static bool HasBinding(UnityEngine.Object target, PropertyModification modification, AnimationClip clip, out EditorCurveBinding binding)
- {
- var component = target as Component;
- var playableAsset = target as IPlayableAsset;
-
- if (component != null)
- {
- var type = AnimationUtility.PropertyModificationToEditorCurveBinding(modification, component.gameObject, out binding);
- binding = RotationCurveInterpolation.RemapAnimationBindingForRotationCurves(binding, clip);
- return type != null;
- }
-
- if (playableAsset != null)
- {
- binding = EditorCurveBinding.FloatCurve(string.Empty, target.GetType(),
- AnimatedParameterUtility.GetAnimatedParameterBindingName(target, modification.propertyPath));
- }
- else
- {
- binding = new EditorCurveBinding();
- return false;
- }
-
- return true;
- }
-
- public static void RemoveKey(UnityEngine.Object target, IEnumerable<PropertyModification> modifications,
- WindowState state)
- {
- AnimationClip clip;
- double keyTime;
- bool inRange;
- if (!GetClipAndRelativeTime(target, state, out clip, out keyTime, out inRange) || !inRange)
- return;
- var refreshPreview = false;
- TimelineUndo.PushUndo(clip, "Remove Key");
- foreach (var mod in modifications)
- {
- EditorCurveBinding temp;
- if (HasBinding(target, mod, clip, out temp))
- {
- if (temp.isPPtrCurve)
- {
- CurveEditUtility.RemoveObjectKey(clip, temp, keyTime);
- if (CurveEditUtility.GetObjectKeyCount(clip, temp) == 0)
- {
- refreshPreview = true;
- }
- }
- else
- {
- AnimationCurve curve = AnimationUtility.GetEditorCurve(clip, temp);
- if (curve != null)
- {
- CurveEditUtility.RemoveKeyFrameFromCurve(curve, (float)keyTime, clip.frameRate);
- AnimationUtility.SetEditorCurve(clip, temp, curve);
- if (curve.length == 0)
- {
- AnimationUtility.SetEditorCurve(clip, temp, null);
- refreshPreview = true;
- }
- }
- }
- }
- }
-
- if (refreshPreview)
- {
- state.ResetPreviewMode();
- }
- }
-
- static HashSet<double> GetKeyTimes(UnityEngine.Object target, IEnumerable<PropertyModification> modifications, WindowState state)
- {
- var keyTimes = new HashSet<double>();
-
- AnimationClip animationClip;
- double keyTime;
- bool inRange;
- GetClipAndRelativeTime(target, state, out animationClip, out keyTime, out inRange);
- if (animationClip == null)
- return keyTimes;
-
- var component = target as Component;
- var playableAsset = target as IPlayableAsset;
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(animationClip);
-
- TimelineClip clip = null;
- if (component != null)
- {
- GetTrackForGameObject(component.gameObject, state).FindRecordingClipAtTime(state.editSequence.time, out clip);
- }
- else if (playableAsset != null)
- {
- clip = FindClipWithAsset(state.editSequence.asset, playableAsset);
- }
-
- foreach (var mod in modifications)
- {
- EditorCurveBinding temp;
- if (HasBinding(target, mod, animationClip, out temp))
- {
- IEnumerable<double> keys = new HashSet<double>();
- if (temp.isPPtrCurve)
- {
- var curve = info.GetObjectCurveForBinding(temp);
- if (curve != null)
- {
- keys = curve.Select(x => (double)x.time);
- }
- }
- else
- {
- var curve = info.GetCurveForBinding(temp);
- if (curve != null)
- {
- keys = curve.keys.Select(x => (double)x.time);
- }
- }
-
- // Transform the times in to 'global' space using the clip
- if (clip != null)
- {
- foreach (var k in keys)
- {
- var time = clip.FromLocalTimeUnbound(k);
- const double eps = 1e-5;
- if (time >= clip.start - eps && time <= clip.end + eps)
- {
- keyTimes.Add(time);
- }
- }
- }
- // infinite clip mode, global == local space
- else
- {
- keyTimes.UnionWith(keys);
- }
- }
- }
-
- return keyTimes;
- }
-
- public static void NextKey(UnityEngine.Object target, IEnumerable<PropertyModification> modifications, WindowState state)
- {
- const double eps = 1e-5;
- var keyTimes = GetKeyTimes(target, modifications, state);
- if (keyTimes.Count == 0)
- return;
- var nextKeys = keyTimes.Where(x => x > state.editSequence.time + eps);
- if (nextKeys.Any())
- {
- state.editSequence.time = nextKeys.Min();
- }
- }
-
- public static void PrevKey(UnityEngine.Object target, IEnumerable<PropertyModification> modifications, WindowState state)
- {
- const double eps = 1e-5;
- var keyTimes = GetKeyTimes(target, modifications, state);
- if (keyTimes.Count == 0)
- return;
- var prevKeys = keyTimes.Where(x => x < state.editSequence.time - eps);
- if (prevKeys.Any())
- {
- state.editSequence.time = prevKeys.Max();
- }
- }
-
- public static void RemoveCurve(UnityEngine.Object target, IEnumerable<PropertyModification> modifications, WindowState state)
- {
- AnimationClip clip = null;
- double keyTime = 0;
- var inRange = false; // not used for curves
- if (!GetClipAndRelativeTime(target, state, out clip, out keyTime, out inRange))
- return;
-
- TimelineUndo.PushUndo(clip, "Remove Curve");
- foreach (var mod in modifications)
- {
- EditorCurveBinding temp;
- if (HasBinding(target, mod, clip, out temp))
- {
- if (temp.isPPtrCurve)
- AnimationUtility.SetObjectReferenceCurve(clip, temp, null);
- else
- AnimationUtility.SetEditorCurve(clip, temp, null);
- }
- }
-
- state.ResetPreviewMode();
- }
-
- public static IEnumerable<GameObject> GetRecordableGameObjects(WindowState state)
- {
- if (state == null || state.editSequence.asset == null || state.editSequence.director == null)
- yield break;
-
- var outputTracks = state.editSequence.asset.GetOutputTracks();
- foreach (var track in outputTracks)
- {
- if (track.GetType() != typeof(AnimationTrack))
- continue;
- if (!state.IsTrackRecordable(track) && !track.GetChildTracks().Any(state.IsTrackRecordable))
- continue;
-
- var obj = TimelineUtility.GetSceneGameObject(state.editSequence.director, track);
- if (obj != null)
- {
- yield return obj;
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording.cs.meta
deleted file mode 100644
index d8bca18..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ef4c81c9368d5a340b14c2fec1cad345
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecordingContextualResponder.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecordingContextualResponder.cs
deleted file mode 100644
index e55ff56..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecordingContextualResponder.cs
+++ /dev/null
@@ -1,134 +0,0 @@
-using UnityEditorInternal;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TimelineRecordingContextualResponder : IAnimationContextualResponder
- {
- public WindowState state { get; internal set; }
-
- public TimelineRecordingContextualResponder(WindowState _state)
- {
- state = _state;
- }
-
- //Unsupported stuff
- public bool HasAnyCandidates() { return false; }
- public bool HasAnyCurves() {return false; }
- public void AddCandidateKeys() {}
- public void AddAnimatedKeys() {}
-
- public bool IsAnimatable(PropertyModification[] modifications)
- {
- // search playable assets
- for (int i = 0; i < modifications.Length; i++)
- {
- var iAsset = modifications[i].target as IPlayableAsset;
- if (iAsset != null)
- {
- var curvesOwner = AnimatedParameterUtility.ToCurvesOwner(iAsset, state.editSequence.asset);
- if (curvesOwner != null && curvesOwner.HasAnyAnimatableParameters() && curvesOwner.IsParameterAnimatable(modifications[i].propertyPath))
- return true;
- }
- }
-
- // search recordable game objects
- foreach (var gameObject in TimelineRecording.GetRecordableGameObjects(state))
- {
- for (int i = 0; i < modifications.Length; ++i)
- {
- var modification = modifications[i];
- if (AnimationWindowUtility.PropertyIsAnimatable(modification.target, modification.propertyPath, gameObject))
- return true;
- }
- }
-
- return false;
- }
-
- public bool IsEditable(Object targetObject)
- {
- return true; // i.e. all animatable properties are editable
- }
-
- public bool KeyExists(PropertyModification[] modifications)
- {
- if (modifications.Length == 0 || modifications[0].target == null)
- return false;
-
- return TimelineRecording.HasKey(modifications, modifications[0].target, state);
- }
-
- public bool CandidateExists(PropertyModification[] modifications)
- {
- return true;
- }
-
- public bool CurveExists(PropertyModification[] modifications)
- {
- if (modifications.Length == 0 || modifications[0].target == null)
- return false;
-
- return TimelineRecording.HasCurve(modifications, modifications[0].target, state);
- }
-
- public void AddKey(PropertyModification[] modifications)
- {
- TimelineRecording.AddKey(modifications, state);
- state.Refresh();
- }
-
- public void RemoveKey(PropertyModification[] modifications)
- {
- if (modifications.Length == 0)
- return;
-
- var target = modifications[0].target;
- if (target == null)
- return;
-
- TimelineRecording.RemoveKey(modifications[0].target, modifications, state);
-
- var curvesOwner = target as ICurvesOwner;
- if (curvesOwner != null)
- curvesOwner.SanitizeCurvesData();
-
- state.Refresh();
- }
-
- public void RemoveCurve(PropertyModification[] modifications)
- {
- if (modifications.Length == 0)
- return;
-
- var target = modifications[0].target;
- if (target == null)
- return;
-
- TimelineRecording.RemoveCurve(target, modifications, state);
-
- var curvesOwner = target as ICurvesOwner;
- if (curvesOwner != null)
- curvesOwner.SanitizeCurvesData();
-
- state.Refresh();
- }
-
- public void GoToNextKeyframe(PropertyModification[] modifications)
- {
- if (modifications.Length == 0 || modifications[0].target == null)
- return;
-
- TimelineRecording.NextKey(modifications[0].target, modifications, state);
- state.Refresh();
- }
-
- public void GoToPreviousKeyframe(PropertyModification[] modifications)
- {
- TimelineRecording.PrevKey(modifications[0].target, modifications, state);
- state.Refresh();
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecordingContextualResponder.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecordingContextualResponder.cs.meta
deleted file mode 100644
index 2e8e492..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecordingContextualResponder.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a59c2e62fbd97f84f92c3b546e3903cb
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_Monobehaviour.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_Monobehaviour.cs
deleted file mode 100644
index 0d2da17..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_Monobehaviour.cs
+++ /dev/null
@@ -1,709 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditorInternal;
-using UnityEngine;
-using UnityEngine.Timeline;
-using System.Globalization;
-
-namespace UnityEditor.Timeline
-{
- // Methods and data for handling recording to monobehaviours
- static partial class TimelineRecording
- {
- internal class RecordingState : IAnimationRecordingState
- {
- public GameObject activeGameObject { get; set; }
- public GameObject activeRootGameObject { get; set; }
- public AnimationClip activeAnimationClip { get; set; }
-
- public void SaveCurve(AnimationWindowCurve curve)
- {
- Undo.RegisterCompleteObjectUndo(activeAnimationClip, "Edit Curve");
- AnimationWindowUtility.SaveCurve(activeAnimationClip, curve);
- }
-
- public void AddPropertyModification(EditorCurveBinding binding, PropertyModification propertyModification, bool keepPrefabOverride)
- {
- AnimationMode.AddPropertyModification(binding, propertyModification, keepPrefabOverride);
- }
-
- public bool addZeroFrame
- {
- get { return false; }
- }
-
- public int currentFrame { get; set; }
-
- public bool DiscardModification(PropertyModification modification)
- {
- return false;
- }
- }
-
- static readonly RecordingState s_RecordState = new RecordingState();
- static readonly AnimationTrackRecorder s_TrackRecorder = new AnimationTrackRecorder();
- static readonly List<UndoPropertyModification> s_UnprocessedMods = new List<UndoPropertyModification>();
- static readonly List<UndoPropertyModification> s_ModsToProcess = new List<UndoPropertyModification>();
- static AnimationTrack s_LastTrackWarning;
-
- public const string kLocalPosition = "m_LocalPosition";
- public const string kLocalRotation = "m_LocalRotation";
- public const string kLocalEulerHint = "m_LocalEulerAnglesHint";
- const string kRotationWarning = "You are recording with an initial rotation offset. This may result in a misrepresentation of euler angles. When recording transform properties, it is recommended to reset rotation prior to recording";
-
-
- public static bool IsRecordingAnimationTrack { get; private set; }
-
-
- internal static UndoPropertyModification[] ProcessMonoBehaviourModification(UndoPropertyModification[] modifications, WindowState state)
- {
- if (state == null || state.editSequence.director == null)
- return modifications;
-
- s_UnprocessedMods.Clear();
-
- s_TrackRecorder.PrepareForRecord(state);
-
- s_ModsToProcess.Clear();
- s_ModsToProcess.AddRange(modifications.Reverse());
-
- while (s_ModsToProcess.Count > 0)
- {
- var modification = s_ModsToProcess[s_ModsToProcess.Count - 1];
- s_ModsToProcess.RemoveAt(s_ModsToProcess.Count - 1);
-
- // grab the clip we need to apply to
- var modifiedGO = GetGameObjectFromModification(modification);
- var track = GetTrackForGameObject(modifiedGO, state);
- if (track != null)
- {
- IsRecordingAnimationTrack = true;
-
- double startTime = 0;
- var clip = s_TrackRecorder.PrepareTrack(track, state, modifiedGO, out startTime);
- if (clip == null)
- {
- s_ModsToProcess.Reverse();
- return s_ModsToProcess.ToArray();
- }
- s_RecordState.activeAnimationClip = clip;
- s_RecordState.activeRootGameObject = state.GetSceneReference(track);
- s_RecordState.activeGameObject = modifiedGO;
- s_RecordState.currentFrame = Mathf.RoundToInt((float)startTime);
-
- EditorUtility.SetDirty(clip);
- var toProcess = GatherRelatedModifications(modification, s_ModsToProcess);
-
- var animator = s_RecordState.activeRootGameObject.GetComponent<Animator>();
- var animTrack = track as AnimationTrack;
-
- // update preview mode before recording so the correct values get placed (in case we modify offsets)
- // Case 900624
- UpdatePreviewMode(toProcess, modifiedGO);
-
- // if this is the first position/rotation recording, copy the current position / rotation to the track offset
- AddTrackOffset(animTrack, toProcess, clip, animator);
-
- // same for clip mod clips being created
- AddClipOffset(animTrack, toProcess, s_TrackRecorder.recordClip, animator);
-
- // Check if we need to handle position/rotation offsets
- var handleOffsets = animator != null && modification.currentValue != null &&
- modification.currentValue.target == s_RecordState.activeRootGameObject.transform &&
- HasOffsets(animTrack, s_TrackRecorder.recordClip);
- if (handleOffsets)
- {
- toProcess = HandleEulerModifications(animTrack, s_TrackRecorder.recordClip, clip, s_RecordState.currentFrame * clip.frameRate, toProcess);
- RemoveOffsets(modification, animTrack, s_TrackRecorder.recordClip, toProcess);
- }
-
- var remaining = AnimationRecording.Process(s_RecordState, toProcess);
- if (remaining != null && remaining.Length != 0)
- {
- s_UnprocessedMods.AddRange(remaining);
- }
-
- if (handleOffsets)
- {
- ReapplyOffsets(modification, animTrack, s_TrackRecorder.recordClip, toProcess);
- }
-
- s_TrackRecorder.FinializeTrack(track, state);
-
- IsRecordingAnimationTrack = false;
- }
- else
- {
- s_UnprocessedMods.Add(modification);
- }
- }
-
-
- s_TrackRecorder.FinalizeRecording(state);
-
- return s_UnprocessedMods.ToArray();
- }
-
- internal static bool IsPosition(UndoPropertyModification modification)
- {
- if (modification.currentValue != null)
- return modification.currentValue.propertyPath.StartsWith(kLocalPosition);
- else if (modification.previousValue != null)
- return modification.previousValue.propertyPath.StartsWith(kLocalPosition);
- return false;
- }
-
- internal static bool IsRotation(UndoPropertyModification modification)
- {
- if (modification.currentValue != null)
- return modification.currentValue.propertyPath.StartsWith(kLocalRotation) ||
- modification.currentValue.propertyPath.StartsWith(kLocalEulerHint);
- if (modification.previousValue != null)
- return modification.previousValue.propertyPath.StartsWith(kLocalRotation) ||
- modification.previousValue.propertyPath.StartsWith(kLocalEulerHint);
- return false;
- }
-
- // Test if this modification position or rotation
- internal static bool IsPositionOrRotation(UndoPropertyModification modification)
- {
- return IsPosition(modification) || IsRotation(modification);
- }
-
- internal static void UpdatePreviewMode(UndoPropertyModification[] mods, GameObject go)
- {
- if (mods.Any(x => IsPositionOrRotation(x) && IsRootModification(x)))
- {
- bool hasPosition = false;
- bool hasRotation = false;
-
- foreach (var mod in mods)
- {
- EditorCurveBinding binding = new EditorCurveBinding();
- if (AnimationUtility.PropertyModificationToEditorCurveBinding(mod.previousValue, go, out binding) != null)
- {
- hasPosition |= IsPosition(mod);
- hasRotation |= IsRotation(mod);
- AnimationMode.AddPropertyModification(binding, mod.previousValue, true);
- }
- }
-
- // case 931859 - if we are only changing one field, all fields must be registered before
- // any recording modifications
- var driver = WindowState.previewDriver;
- if (driver != null && AnimationMode.InAnimationMode(driver))
- {
- if (hasPosition)
- {
- DrivenPropertyManager.RegisterProperty(driver, go.transform, kLocalPosition + ".x");
- DrivenPropertyManager.RegisterProperty(driver, go.transform, kLocalPosition + ".y");
- DrivenPropertyManager.RegisterProperty(driver, go.transform, kLocalPosition + ".z");
- }
- else if (hasRotation)
- {
- DrivenPropertyManager.RegisterProperty(driver, go.transform, kLocalRotation + ".x");
- DrivenPropertyManager.RegisterProperty(driver, go.transform, kLocalRotation + ".y");
- DrivenPropertyManager.RegisterProperty(driver, go.transform, kLocalRotation + ".z");
- DrivenPropertyManager.RegisterProperty(driver, go.transform, kLocalRotation + ".w");
- }
- }
- }
- }
-
- internal static bool IsRootModification(UndoPropertyModification modification)
- {
- string path = string.Empty;
- if (modification.currentValue != null)
- path = modification.currentValue.propertyPath;
- else if (modification.previousValue != null)
- path = modification.previousValue.propertyPath;
-
- return !path.Contains('/') && !path.Contains('\\');
- }
-
- // test if the clip has any position or rotation bindings
- internal static bool ClipHasPositionOrRotation(AnimationClip clip)
- {
- if (clip == null || clip.empty)
- return false;
-
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(clip);
- for (var i = 0; i < info.bindings.Length; i++)
- {
- bool isPositionOrRotation =
- info.bindings[i].type != null &&
- typeof(Transform).IsAssignableFrom(info.bindings[i].type) &&
- (
- info.bindings[i].propertyName.StartsWith(kLocalPosition) ||
- info.bindings[i].propertyName.StartsWith(kLocalRotation) ||
- info.bindings[i].propertyName.StartsWith("localEuler")
- );
-
- if (isPositionOrRotation)
- return true;
- }
-
- return false;
- }
-
- internal static TimelineAnimationUtilities.RigidTransform ComputeInitialClipOffsets(AnimationTrack track, UndoPropertyModification[] mods, Animator animator)
- {
- // take into account the track transform
- var target = GetInitialTransform(mods, animator);
- var trackToClip = TimelineAnimationUtilities.RigidTransform.identity;
- if (track.trackOffset == TrackOffset.ApplyTransformOffsets)
- trackToClip = TimelineAnimationUtilities.RigidTransform.Compose(track.position, track.rotation);
- else if (track.trackOffset == TrackOffset.ApplySceneOffsets)
- trackToClip = TimelineAnimationUtilities.RigidTransform.Compose(track.sceneOffsetPosition, Quaternion.Euler(track.sceneOffsetRotation));
-
- target = TimelineAnimationUtilities.RigidTransform.Mul(TimelineAnimationUtilities.RigidTransform.Inverse(trackToClip), target);
-
- // set the previous position in case the animation system adds a default key
- SetPreviousPositionAndRotation(mods, animator, trackToClip.position, trackToClip.rotation);
- return target;
- }
-
- internal static TimelineAnimationUtilities.RigidTransform GetInitialTransform(UndoPropertyModification[] mods, Animator animator)
- {
- var pos = Vector3.zero;
- var rot = Quaternion.identity;
-
- // if we are operating on the root, grab the transform from the undo
- if (mods[0].previousValue.target == animator.transform)
- {
- GetPreviousPositionAndRotation(mods, ref pos, ref rot);
- }
- // otherwise we need to grab it from the root object, which is the one with the actual animator
- else
- {
- pos = animator.transform.localPosition;
- rot = animator.transform.localRotation;
- }
-
- // take into account the track transform
- return TimelineAnimationUtilities.RigidTransform.Compose(pos, rot);
- }
-
- internal static void SetPreviousPositionAndRotation(UndoPropertyModification[] mods, Animator animator, Vector3 pos, Quaternion rot)
- {
- if (mods[0].previousValue.target == animator.transform)
- {
- SetPreviousPositionAndRotation(mods, pos, rot);
- }
- }
-
- // If we are adding to an infinite clip, strip the objects position and rotation and set it as the clip offset
- internal static void AddTrackOffset(AnimationTrack track, UndoPropertyModification[] mods, AnimationClip clip, Animator animator)
- {
- var copyTrackOffset = !track.inClipMode &&
- !ClipHasPositionOrRotation(clip) &&
- mods.Any(x => IsPositionOrRotation(x) && IsRootModification(x)) &&
- animator != null;
- if (copyTrackOffset)
- {
- // in scene offset mode, makes sure we have the correct initial transform set
- if (track.trackOffset == TrackOffset.ApplySceneOffsets)
- {
- var rigidTransform = GetInitialTransform(mods, animator);
- track.sceneOffsetPosition = rigidTransform.position;
- track.sceneOffsetRotation = rigidTransform.rotation.eulerAngles;
- SetPreviousPositionAndRotation(mods, animator, rigidTransform.position, rigidTransform.rotation);
- }
- else
- {
- var rigidTransform = ComputeInitialClipOffsets(track, mods, animator);
- track.infiniteClipOffsetPosition = rigidTransform.position;
- track.infiniteClipOffsetEulerAngles = rigidTransform.rotation.eulerAngles;
- }
- }
- }
-
- internal static void AddClipOffset(AnimationTrack track, UndoPropertyModification[] mods, TimelineClip clip, Animator animator)
- {
- if (clip == null || clip.asset == null)
- return;
-
- var clipAsset = clip.asset as AnimationPlayableAsset;
- var copyClipOffset = track.inClipMode &&
- clipAsset != null && !ClipHasPositionOrRotation(clipAsset.clip) &&
- mods.Any(x => IsPositionOrRotation(x) && IsRootModification(x)) &&
- animator != null;
- if (copyClipOffset)
- {
- var rigidTransform = ComputeInitialClipOffsets(track, mods, animator);
-
- clipAsset.position = rigidTransform.position;
- clipAsset.rotation = rigidTransform.rotation;
- }
- }
-
- internal static TimelineAnimationUtilities.RigidTransform GetLocalToTrack(AnimationTrack track, TimelineClip clip)
- {
- if (track == null)
- return TimelineAnimationUtilities.RigidTransform.Compose(Vector3.zero, Quaternion.identity);
-
- var trackPos = track.position;
- var trackRot = track.rotation;
-
- if (track.trackOffset == TrackOffset.ApplySceneOffsets)
- {
- trackPos = track.sceneOffsetPosition;
- trackRot = Quaternion.Euler(track.sceneOffsetRotation);
- }
-
- var clipWrapper = clip == null ? null : clip.asset as AnimationPlayableAsset;
- var clipTransform = TimelineAnimationUtilities.RigidTransform.Compose(Vector3.zero, Quaternion.identity);
- if (clipWrapper != null)
- {
- clipTransform = TimelineAnimationUtilities.RigidTransform.Compose(clipWrapper.position, clipWrapper.rotation);
- }
- else
- {
- clipTransform = TimelineAnimationUtilities.RigidTransform.Compose(track.infiniteClipOffsetPosition, track.infiniteClipOffsetRotation);
- }
-
- var trackTransform = TimelineAnimationUtilities.RigidTransform.Compose(trackPos, trackRot);
-
- return TimelineAnimationUtilities.RigidTransform.Mul(trackTransform, clipTransform);
- }
-
- // Checks whether there are any offsets applied to a clip
- internal static bool HasOffsets(AnimationTrack track, TimelineClip clip)
- {
- if (track == null)
- return false;
-
- bool hasClipOffsets = false;
- bool hasTrackOffsets = false;
-
- var clipWrapper = clip == null ? null : clip.asset as AnimationPlayableAsset;
- if (clipWrapper != null)
- hasClipOffsets |= clipWrapper.position != Vector3.zero || clipWrapper.rotation != Quaternion.identity;
-
- if (track.trackOffset == TrackOffset.ApplySceneOffsets)
- {
- hasTrackOffsets = track.sceneOffsetPosition != Vector3.zero || track.sceneOffsetRotation != Vector3.zero;
- }
- else
- {
- hasTrackOffsets = (track.position != Vector3.zero || track.rotation != Quaternion.identity);
- if (!track.inClipMode)
- hasClipOffsets |= track.infiniteClipOffsetPosition != Vector3.zero || track.infiniteClipOffsetRotation != Quaternion.identity;
- }
-
- return hasTrackOffsets || hasClipOffsets;
- }
-
- internal static void RemoveOffsets(UndoPropertyModification modification, AnimationTrack track, TimelineClip clip, UndoPropertyModification[] mods)
- {
- if (IsPositionOrRotation(modification))
- {
- var modifiedGO = GetGameObjectFromModification(modification);
- var target = TimelineAnimationUtilities.RigidTransform.Compose(modifiedGO.transform.localPosition, modifiedGO.transform.localRotation);
- var localToTrack = GetLocalToTrack(track, clip);
- var trackToLocal = TimelineAnimationUtilities.RigidTransform.Inverse(localToTrack);
- var localSpace = TimelineAnimationUtilities.RigidTransform.Mul(trackToLocal, target);
-
- // Update the undo call values
- var prevPos = modifiedGO.transform.localPosition;
- var prevRot = modifiedGO.transform.localRotation;
- GetPreviousPositionAndRotation(mods, ref prevPos, ref prevRot);
- var previousRigidTransform = TimelineAnimationUtilities.RigidTransform.Mul(trackToLocal, TimelineAnimationUtilities.RigidTransform.Compose(prevPos, prevRot));
- SetPreviousPositionAndRotation(mods, previousRigidTransform.position, previousRigidTransform.rotation);
-
- var currentPos = modifiedGO.transform.localPosition;
- var currentRot = modifiedGO.transform.localRotation;
- GetCurrentPositionAndRotation(mods, ref currentPos, ref currentRot);
- var currentRigidTransform = TimelineAnimationUtilities.RigidTransform.Mul(trackToLocal, TimelineAnimationUtilities.RigidTransform.Compose(currentPos, currentRot));
- SetCurrentPositionAndRotation(mods, currentRigidTransform.position, currentRigidTransform.rotation);
-
- modifiedGO.transform.localPosition = localSpace.position;
- modifiedGO.transform.localRotation = localSpace.rotation;
- }
- }
-
- internal static void ReapplyOffsets(UndoPropertyModification modification, AnimationTrack track, TimelineClip clip, UndoPropertyModification[] mods)
- {
- if (IsPositionOrRotation(modification))
- {
- var modifiedGO = GetGameObjectFromModification(modification);
- var target = TimelineAnimationUtilities.RigidTransform.Compose(modifiedGO.transform.localPosition, modifiedGO.transform.localRotation);
- var localToTrack = GetLocalToTrack(track, clip);
- var trackSpace = TimelineAnimationUtilities.RigidTransform.Mul(localToTrack, target);
-
- // Update the undo call values
- var prevPos = modifiedGO.transform.localPosition;
- var prevRot = modifiedGO.transform.localRotation;
- GetPreviousPositionAndRotation(mods, ref prevPos, ref prevRot);
- var previousRigidTransform = TimelineAnimationUtilities.RigidTransform.Mul(localToTrack, TimelineAnimationUtilities.RigidTransform.Compose(prevPos, prevRot));
- SetPreviousPositionAndRotation(mods, previousRigidTransform.position, previousRigidTransform.rotation);
-
- var currentPos = modifiedGO.transform.localPosition;
- var currentRot = modifiedGO.transform.localRotation;
- GetCurrentPositionAndRotation(mods, ref currentPos, ref currentRot);
- var currentRigidTransform = TimelineAnimationUtilities.RigidTransform.Mul(localToTrack, TimelineAnimationUtilities.RigidTransform.Compose(currentPos, currentRot));
- SetCurrentPositionAndRotation(mods, currentRigidTransform.position, currentRigidTransform.rotation);
-
- modifiedGO.transform.localPosition = trackSpace.position;
- modifiedGO.transform.localRotation = trackSpace.rotation;
- }
- }
-
- // This will gather the modifications that modify the same property on the same object (rgba of a color, xyzw of a vector)
- // Note: This will modify the list, removing any elements that match
- static UndoPropertyModification[] GatherRelatedModifications(UndoPropertyModification toMatch, List<UndoPropertyModification> list)
- {
- var matching = new List<UndoPropertyModification> {toMatch};
-
- for (var i = list.Count - 1; i >= 0; i--)
- {
- var undo = list[i];
- if (undo.previousValue.target == toMatch.previousValue.target &&
- DoesPropertyPathMatch(undo.previousValue.propertyPath, toMatch.previousValue.propertyPath))
- {
- matching.Add(undo);
- list.RemoveAt(i);
- }
- }
-
- return matching.ToArray();
- }
-
- // Grab the game object out of the modification object
- static GameObject GetGameObjectFromModification(UndoPropertyModification mod)
- {
- // grab the GO this is modifying
- GameObject modifiedGO = null;
- if (mod.previousValue.target is GameObject)
- modifiedGO = mod.previousValue.target as GameObject;
- else if (mod.previousValue.target is Component)
- modifiedGO = (mod.previousValue.target as Component).gameObject;
-
- return modifiedGO;
- }
-
- // returns the level of the child in the hierarchy relative to the parent,
- // or -1 if the child is not the parent or a descendent of it
- static int GetChildLevel(GameObject parent, GameObject child)
- {
- var level = 0;
- while (child != null)
- {
- if (parent == child)
- break;
- if (child.transform.parent == null)
- return -1;
- child = child.transform.parent.gameObject;
- level++;
- }
-
- if (child != null)
- return level;
- return -1;
- }
-
- static bool DoesPropertyPathMatch(string a, string b)
- {
- return AnimationWindowUtility.GetPropertyGroupName(a).Equals(AnimationWindowUtility.GetPropertyGroupName(a));
- }
-
- internal static void GetPreviousPositionAndRotation(UndoPropertyModification[] mods, ref Vector3 position, ref Quaternion rotation)
- {
- var t = mods[0].previousValue.target as Transform;
- if (t == null)
- t = (Transform)mods[0].currentValue.target;
-
- position = t.localPosition;
- rotation = t.localRotation;
-
- foreach (var mod in mods)
- {
- switch (mod.previousValue.propertyPath)
- {
- case kLocalPosition + ".x":
- position.x = ParseFloat(mod.previousValue.value, position.x);
- break;
- case kLocalPosition + ".y":
- position.y = ParseFloat(mod.previousValue.value, position.y);
- break;
- case kLocalPosition + ".z":
- position.z = ParseFloat(mod.previousValue.value, position.z);
- break;
- case kLocalRotation + ".x":
- rotation.x = ParseFloat(mod.previousValue.value, rotation.x);
- break;
- case kLocalRotation + ".y":
- rotation.y = ParseFloat(mod.previousValue.value, rotation.y);
- break;
- case kLocalRotation + ".z":
- rotation.z = ParseFloat(mod.previousValue.value, rotation.z);
- break;
- case kLocalRotation + ".w":
- rotation.w = ParseFloat(mod.previousValue.value, rotation.w);
- break;
- }
- }
- }
-
- internal static void GetCurrentPositionAndRotation(UndoPropertyModification[] mods, ref Vector3 position, ref Quaternion rotation)
- {
- var t = (Transform)mods[0].currentValue.target;
- position = t.localPosition;
- rotation = t.localRotation;
-
- foreach (var mod in mods)
- {
- switch (mod.currentValue.propertyPath)
- {
- case kLocalPosition + ".x":
- position.x = ParseFloat(mod.currentValue.value, position.x);
- break;
- case kLocalPosition + ".y":
- position.y = ParseFloat(mod.currentValue.value, position.y);
- break;
- case kLocalPosition + ".z":
- position.z = ParseFloat(mod.currentValue.value, position.z);
- break;
- case kLocalRotation + ".x":
- rotation.x = ParseFloat(mod.currentValue.value, rotation.x);
- break;
- case kLocalRotation + ".y":
- rotation.y = ParseFloat(mod.currentValue.value, rotation.y);
- break;
- case kLocalRotation + ".z":
- rotation.z = ParseFloat(mod.currentValue.value, rotation.z);
- break;
- case kLocalRotation + ".w":
- rotation.w = ParseFloat(mod.currentValue.value, rotation.w);
- break;
- }
- }
- }
-
- // when making the previous position and rotation
- internal static void SetPreviousPositionAndRotation(UndoPropertyModification[] mods, Vector3 pos, Quaternion rot)
- {
- foreach (var mod in mods)
- {
- switch (mod.previousValue.propertyPath)
- {
- case kLocalPosition + ".x":
- mod.previousValue.value = pos.x.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalPosition + ".y":
- mod.previousValue.value = pos.y.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalPosition + ".z":
- mod.previousValue.value = pos.z.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalRotation + ".x":
- mod.previousValue.value = rot.x.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalRotation + ".y":
- mod.previousValue.value = rot.y.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalRotation + ".z":
- mod.previousValue.value = rot.z.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalRotation + ".w":
- mod.previousValue.value = rot.w.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- }
- }
- }
-
- internal static void SetCurrentPositionAndRotation(UndoPropertyModification[] mods, Vector3 pos, Quaternion rot)
- {
- foreach (var mod in mods)
- {
- switch (mod.previousValue.propertyPath)
- {
- case kLocalPosition + ".x":
- mod.currentValue.value = pos.x.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalPosition + ".y":
- mod.currentValue.value = pos.y.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalPosition + ".z":
- mod.currentValue.value = pos.z.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalRotation + ".x":
- mod.currentValue.value = rot.x.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalRotation + ".y":
- mod.currentValue.value = rot.y.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalRotation + ".z":
- mod.currentValue.value = rot.z.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- case kLocalRotation + ".w":
- mod.currentValue.value = rot.w.ToString(EditorGUI.kFloatFieldFormatString);
- break;
- }
- }
- }
-
- internal static float ParseFloat(string str, float defaultVal)
- {
- float temp = 0.0f;
- if (float.TryParse(str, NumberStyles.Float, CultureInfo.InvariantCulture.NumberFormat, out temp))
- return temp;
- return defaultVal;
- }
-
- internal static UndoPropertyModification[] HandleEulerModifications(AnimationTrack track, TimelineClip clip, AnimationClip animClip, float time, UndoPropertyModification[] mods)
- {
- if (mods.Any(x => x.currentValue.propertyPath.StartsWith(kLocalEulerHint) || x.currentValue.propertyPath.StartsWith(kLocalRotation)))
- {
- // if there is a rotational offsets, we need to strip the euler hints, since they are used by the animation recording system
- // over the quaternion.
- var localToTrack = GetLocalToTrack(track, clip);
- if (localToTrack.rotation != Quaternion.identity)
- {
- if (s_LastTrackWarning != track)
- {
- s_LastTrackWarning = track;
- Debug.LogWarning(kRotationWarning);
- }
-
- Transform transform = mods[0].currentValue.target as Transform;
- if (transform != null)
- {
- var trackToLocal = TimelineAnimationUtilities.RigidTransform.Inverse(localToTrack);
- // since the euler angles are going to be transformed, we do a best guess at a euler that gives the shortest path
- var quatMods = mods.Where(x => !x.currentValue.propertyPath.StartsWith(kLocalEulerHint));
- var eulerMods = FindBestEulerHint(trackToLocal.rotation * transform.localRotation, animClip, time, transform);
- return quatMods.Union(eulerMods).ToArray();
- }
- return mods.Where(x => !x.currentValue.propertyPath.StartsWith(kLocalEulerHint)).ToArray();
- }
- }
- return mods;
- }
-
- internal static IEnumerable<UndoPropertyModification> FindBestEulerHint(Quaternion rotation, AnimationClip clip, float time, Transform transform)
- {
- Vector3 euler = rotation.eulerAngles;
-
- var xCurve = AnimationUtility.GetEditorCurve(clip, EditorCurveBinding.FloatCurve(string.Empty, typeof(Transform), "localEulerAnglesRaw.x"));
- var yCurve = AnimationUtility.GetEditorCurve(clip, EditorCurveBinding.FloatCurve(string.Empty, typeof(Transform), "localEulerAnglesRaw.y"));
- var zCurve = AnimationUtility.GetEditorCurve(clip, EditorCurveBinding.FloatCurve(string.Empty, typeof(Transform), "localEulerAnglesRaw.z"));
-
- if (xCurve != null)
- euler.x = xCurve.Evaluate(time);
- if (yCurve != null)
- euler.y = yCurve.Evaluate(time);
- if (zCurve != null)
- euler.z = zCurve.Evaluate(time);
-
- euler = QuaternionCurveTangentCalculation.GetEulerFromQuaternion(rotation, euler);
-
- return new[]
- {
- PropertyModificationToUndoPropertyModification(new PropertyModification {target = transform, propertyPath = kLocalEulerHint + ".x", value = euler.x.ToString() }),
- PropertyModificationToUndoPropertyModification(new PropertyModification {target = transform, propertyPath = kLocalEulerHint + ".y", value = euler.y.ToString() }),
- PropertyModificationToUndoPropertyModification(new PropertyModification {target = transform, propertyPath = kLocalEulerHint + ".z", value = euler.z.ToString() })
- };
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_Monobehaviour.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_Monobehaviour.cs.meta
deleted file mode 100644
index 346e5bd..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_Monobehaviour.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9805855c8e379ed4cad77f639aaddb73
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_PlayableAsset.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_PlayableAsset.cs
deleted file mode 100644
index 940854e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_PlayableAsset.cs
+++ /dev/null
@@ -1,115 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- // Handles Undo animated properties on PlayableAssets from clips to create parameter animation
-
- static partial class TimelineRecording
- {
- internal static bool HasAnyPlayableAssetModifications(UndoPropertyModification[] modifications)
- {
- return modifications.Any(x => GetTarget(x) as IPlayableAsset != null);
- }
-
- internal static UndoPropertyModification[] ProcessPlayableAssetModification(UndoPropertyModification[] modifications, WindowState state)
- {
- // can't record without a director since the asset being modified might be a scene instance
- if (state == null || state.editSequence.director == null)
- return modifications;
-
- var remaining = new List<UndoPropertyModification>();
- foreach (UndoPropertyModification mod in modifications)
- {
- if (!ProcessPlayableAssetModification(mod, state))
- remaining.Add(mod);
- }
-
- if (remaining.Count != modifications.Length)
- {
- state.rebuildGraph = true;
- state.GetWindow().Repaint();
- }
-
- return remaining.ToArray();
- }
-
- static bool ProcessPlayableAssetModification(UndoPropertyModification mod, WindowState state)
- {
- var target = GetTarget(mod) as IPlayableAsset;
- if (target == null)
- return false;
-
- var curvesOwner = AnimatedParameterUtility.ToCurvesOwner(target, state.editSequence.asset);
- if (curvesOwner == null || !curvesOwner.HasAnyAnimatableParameters())
- return false;
-
- return ProcessPlayableAssetRecording(mod, state, curvesOwner);
- }
-
- internal static TimelineClip FindClipWithAsset(TimelineAsset asset, IPlayableAsset target)
- {
- if (target == null || asset == null)
- return null;
-
- var clips = asset.flattenedTracks.SelectMany(x => x.clips);
- return clips.FirstOrDefault(x => x != null && x.asset != null && target == x.asset as IPlayableAsset);
- }
-
- static bool ProcessPlayableAssetRecording(UndoPropertyModification mod, WindowState state, ICurvesOwner curvesOwner)
- {
- if (mod.currentValue == null)
- return false;
-
- if (!curvesOwner.IsParameterAnimatable(mod.currentValue.propertyPath))
- return false;
-
- var localTime = state.editSequence.time;
- var timelineClip = curvesOwner as TimelineClip;
- if (timelineClip != null)
- {
- // don't use time global to local since it will possibly loop.
- localTime = timelineClip.ToLocalTimeUnbound(state.editSequence.time);
- }
-
- if (localTime < 0)
- return false;
-
- // grab the value from the current modification
- float fValue = 0;
- if (!float.TryParse(mod.currentValue.value, out fValue))
- {
- // case 916913 -- 'Add Key' menu item will passes 'True' or 'False' (instead of 1, 0)
- // so we need a special case to parse the boolean string
- bool bValue;
- if (!bool.TryParse(mod.currentValue.value, out bValue))
- {
- Debug.Assert(false, "Invalid type in PlayableAsset recording");
- return false;
- }
-
- fValue = bValue ? 1 : 0;
- }
-
- var added = curvesOwner.AddAnimatedParameterValueAt(mod.currentValue.propertyPath, fValue, (float)localTime);
- if (added && AnimationMode.InAnimationMode())
- {
- EditorCurveBinding binding = curvesOwner.GetCurveBinding(mod.previousValue.propertyPath);
- AnimationMode.AddPropertyModification(binding, mod.previousValue, true);
- curvesOwner.targetTrack.SetShowInlineCurves(true);
- if (state.GetWindow() != null && state.GetWindow().treeView != null)
- state.GetWindow().treeView.CalculateRowRects();
- }
-
- return added;
- }
-
- static bool IsPlayableAssetProperty(SerializedProperty property)
- {
- return property.serializedObject.targetObject is IPlayableAsset;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_PlayableAsset.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_PlayableAsset.cs.meta
deleted file mode 100644
index e78220d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TimelineRecording_PlayableAsset.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 7341c0cd0aad4994e8fa461cb443aa7d
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TrackAssetRecordingExtensions.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TrackAssetRecordingExtensions.cs
deleted file mode 100644
index f44b82b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TrackAssetRecordingExtensions.cs
+++ /dev/null
@@ -1,191 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class TrackAssetRecordingExtensions
- {
- static readonly Dictionary<TrackAsset, AnimationClip> s_ActiveClips = new Dictionary<TrackAsset, AnimationClip>();
-
- internal static void OnRecordingArmed(this TrackAsset track, PlayableDirector director)
- {
- if (track == null)
- return;
-
- var animClip = track.FindRecordingAnimationClipAtTime(director.time);
- if (animClip == null)
- return;
-
- s_ActiveClips[track] = animClip;
- }
-
- internal static void OnRecordingTimeChanged(this TrackAsset track, PlayableDirector director)
- {
- if (track == null)
- return;
-
- var animClip = track.FindRecordingAnimationClipAtTime(director.time);
- AnimationClip prevClip = track.GetActiveRecordingAnimationClip();
- if (prevClip != animClip)
- {
- s_ActiveClips[track] = animClip;
- }
- }
-
- internal static void OnRecordingUnarmed(this TrackAsset track, PlayableDirector director)
- {
- s_ActiveClips.Remove(track);
- }
-
- internal static bool CanRecordAtTime(this TrackAsset track, double time)
- {
- // Animation Track
- var animTrack = track as AnimationTrack;
- if (animTrack != null)
- {
- if (!animTrack.inClipMode)
- return true;
-
- TimelineClip clip = null;
- return FindRecordingClipAtTime(track, time, out clip);
- }
-
- // Custom track
- return track.clips.Any(x => x.start < time + TimeUtility.kTimeEpsilon && x.HasAnyAnimatableParameters());
- }
-
- internal static AnimationClip GetActiveRecordingAnimationClip(this TrackAsset track)
- {
- AnimationClip clip = null;
- s_ActiveClips.TryGetValue(track, out clip);
- return clip;
- }
-
- internal static bool IsRecordingToClip(this TrackAsset track, TimelineClip clip)
- {
- if (track == null || clip == null)
- return false;
- var animClip = track.GetActiveRecordingAnimationClip();
- if (animClip == null)
- return false;
- if (animClip == clip.curves)
- return true;
-
- var animAsset = clip.asset as AnimationPlayableAsset;
- return animAsset != null && animClip == animAsset.clip;
- }
-
- // Finds the clip at the given time that recording should use
- // returns whether recording at this particular point is valid
- // The target clip will be returned, even if recording at that time is invalid
- // in case of recording in a blend OR recording to a non-timeline clip
- internal static bool FindRecordingClipAtTime(this TrackAsset track, double time, out TimelineClip target)
- {
- target = null;
- if (track == null)
- {
- return false;
- }
-
- var discreteTime = new DiscreteTime(time);
-
- // only animation tracks require the recordable flag as they are recording
- // to an animation clip
- bool requiresRecordable = (track as AnimationTrack) != null;
- if (requiresRecordable)
- {
- track.SortClips();
- var sortedByStartTime = track.clips;
- int i = 0;
- for (i = 0; i < sortedByStartTime.Length; i++)
- {
- var clip = sortedByStartTime[i];
- if (new DiscreteTime(clip.start) <= discreteTime && new DiscreteTime(clip.end) > discreteTime)
- {
- target = clip;
- // not recordable
- if (!clip.recordable)
- return false;
-
- // in a blend
- if (!Mathf.Approximately(1.0f, clip.EvaluateMixIn(time) * clip.EvaluateMixOut(time)))
- return false;
-
- return true;
- }
-
- if (new DiscreteTime(clip.start) > discreteTime)
- {
- break;
- }
- }
-
- return false;
- }
-
-
- // Recordable playable assets -- takes the last clip that matches
- track.SortClips();
- for (int i = 0; i < track.clips.Length; i++)
- {
- var clip = track.clips[i];
- if (clip.start <= time && clip.end >= time && clip.HasAnyAnimatableParameters())
- target = clip;
-
- if (clip.start > time)
- break;
- }
-
- return target != null;
- }
-
- // Given a track, return the animation clip
- internal static AnimationClip FindRecordingAnimationClipAtTime(this TrackAsset trackAsset, double time)
- {
- if (trackAsset == null)
- return null;
-
- AnimationTrack animTrack = trackAsset as AnimationTrack;
- if (animTrack != null && !animTrack.inClipMode)
- {
- return animTrack.infiniteClip;
- }
-
- TimelineClip displayBackground;
- trackAsset.FindRecordingClipAtTime(time, out displayBackground);
- if (displayBackground != null)
- {
- if (displayBackground.recordable)
- {
- AnimationPlayableAsset asset = displayBackground.asset as AnimationPlayableAsset;
- if (asset != null)
- return asset.clip;
- }
- else if (animTrack == null)
- {
- if (displayBackground.curves == null)
- displayBackground.CreateCurves(AnimationTrackRecorder.GetUniqueRecordedClipName(displayBackground.parentTrack, TimelineClip.kDefaultCurvesName));
-
- return displayBackground.curves;
- }
- }
- else if (trackAsset.HasAnyAnimatableParameters())
- {
- if (trackAsset.curves == null)
- trackAsset.CreateCurves(AnimationTrackRecorder.GetUniqueRecordedClipName(trackAsset.timelineAsset, TrackAsset.kDefaultCurvesName));
-
- return trackAsset.curves;
- }
-
- return null;
- }
-
- internal static void ClearRecordingState()
- {
- s_ActiveClips.Clear();
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TrackAssetRecordingExtensions.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TrackAssetRecordingExtensions.cs.meta
deleted file mode 100644
index edbe4da..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Recording/TrackAssetRecordingExtensions.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 49f1d2c7420db4444b011955726d0046
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Shortcuts.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Shortcuts.cs
deleted file mode 100644
index 5d992cd..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Shortcuts.cs
+++ /dev/null
@@ -1,266 +0,0 @@
-using System;
-using JetBrains.Annotations;
-using UnityEditor.ShortcutManagement;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- static class Shortcuts
- {
- public static class Clip
- {
- public const string split = "Timeline/Editing/Split";
- public const string trimStart = "Timeline/Editing/TrimStart";
- public const string trimEnd = "Timeline/Editing/TrimEnd";
-
- [UsedImplicitly, ShortcutManagement.Shortcut(split, typeof(TimelineWindow), KeyCode.S)]
- static void Split(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(split, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(trimStart, typeof(TimelineWindow), KeyCode.I)]
- static void TrimStart(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(trimStart, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(trimEnd, typeof(TimelineWindow), KeyCode.O)]
- static void TrimEnd(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(trimEnd, args.context);
- }
- }
-
- public static class Timeline
- {
- public const string play = "Timeline/Play";
- public const string previousFrame = "Timeline/PrevFrame";
- public const string nextFrame = "Timeline/NextFrame";
- public const string frameAll = "Timeline/FrameAll";
- public const string previousKey = "Timeline/PrevKey";
- public const string nextKey = "Timeline/NextKey";
- public const string goToStart = "Timeline/GotoStart";
- public const string goToEnd = "Timeline/GotoEnd";
- public const string zoomIn = "Timeline/ZoomIn";
- public const string zoomOut = "Timeline/ZoomOut";
- public const string collapseGroup = "Timeline/CollapseGroup";
- public const string unCollapseGroup = "Timeline/UnCollapseGroup";
- public const string selectLeftItem = "Timeline/SelectLeftItem";
- public const string selectRightItem = "Timeline/SelectRightItem";
- public const string selectUpItem = "Timeline/SelectUpItem";
- public const string selectUpTrack = "Timeline/SelectUpTrack";
- public const string selectDownItem = "Timeline/SelectDownItem";
- public const string selectDownTrack = "Timeline/SelectDownTrack";
- public const string multiSelectLeft = "Timeline/SelectLeft";
- public const string multiSelectRight = "Timeline/SelectRight";
- public const string multiSelectUp = "Timeline/SelectUp";
- public const string multiSelectDown = "Timeline/SelectDown";
- public const string toggleClipTrackArea = "Timeline/ToggleClipTrackArea";
- public const string matchContent = "Timeline/MatchContent";
- public const string toggleLock = "Timeline/ToggleLock";
- public const string toggleMute = "Timeline/ToggleMute";
-
- public const string moveLeft = "Timeline/MoveLeft";
- public const string moveRight = "Timeline/MoveRight";
- public const string moveUp = "Timeline/MoveUp";
- public const string moveDown = "Timeline/MoveDown";
-
- [UsedImplicitly, ShortcutManagement.Shortcut(play, typeof(TimelineWindow), KeyCode.Space)]
- static void Play(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(play, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(previousFrame, typeof(TimelineWindow), KeyCode.Comma)]
- static void PreviousFrame(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(previousFrame, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(nextFrame, typeof(TimelineWindow), KeyCode.Period)]
- static void NextFrame(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(nextFrame, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(frameAll, typeof(TimelineWindow), KeyCode.A)]
- static void FrameAll(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(frameAll, args.context);
- }
-
- #if UNITY_EDITOR_OSX
- [UsedImplicitly, ShortcutManagement.Shortcut(previousKey, typeof(TimelineWindow), KeyCode.Comma, ShortcutModifiers.Action | ShortcutModifiers.Shift)]
- #else
- [UsedImplicitly, ShortcutManagement.Shortcut(previousKey, typeof(TimelineWindow), KeyCode.Comma, ShortcutModifiers.Action)]
- #endif
- static void PrevKey(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(previousKey, args.context);
- }
-
- #if UNITY_EDITOR_OSX
- [UsedImplicitly, ShortcutManagement.Shortcut(nextKey, typeof(TimelineWindow), KeyCode.Period, ShortcutModifiers.Action | ShortcutModifiers.Shift)]
- #else
- [UsedImplicitly, ShortcutManagement.Shortcut(nextKey, typeof(TimelineWindow), KeyCode.Period, ShortcutModifiers.Action)]
- #endif
- static void NextKey(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(nextKey, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(goToStart, typeof(TimelineWindow), KeyCode.Comma, ShortcutModifiers.Shift)]
- static void GoToStart(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(goToStart, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(goToEnd, typeof(TimelineWindow), KeyCode.Period, ShortcutModifiers.Shift)]
- static void GoToEnd(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(goToEnd, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(zoomIn, typeof(TimelineWindow), KeyCode.Equals)]
- static void ZoomIn(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(zoomIn, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(zoomOut, typeof(TimelineWindow), KeyCode.Minus)]
- static void ZoomOut(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(zoomOut, args.context);
- }
-
- [UsedImplicitly]
- [ShortcutManagement.Shortcut(moveLeft, typeof(TimelineWindow), KeyCode.LeftArrow)]
- static void SelectLeft(ShortcutManagement.ShortcutArguments args)
- {
- if (KeyboardNavigation.ClipAreaActive())
- {
- SendEventToInvokeShortcut(selectLeftItem, args.context);
- }
- else if (KeyboardNavigation.TrackHeadActive())
- {
- SendEventToInvokeShortcut(collapseGroup, args.context);
- }
- }
-
- [UsedImplicitly]
- [ShortcutManagement.Shortcut(moveRight, typeof(TimelineWindow), KeyCode.RightArrow)]
- static void SelectRight(ShortcutManagement.ShortcutArguments args)
- {
- if (KeyboardNavigation.ClipAreaActive())
- {
- SendEventToInvokeShortcut(selectRightItem, args.context);
- }
- else if (KeyboardNavigation.TrackHeadActive())
- {
- SendEventToInvokeShortcut(unCollapseGroup, args.context);
- }
- }
-
- [UsedImplicitly]
- [ShortcutManagement.Shortcut(moveUp, typeof(TimelineWindow), KeyCode.UpArrow)]
- static void SelectUp(ShortcutManagement.ShortcutArguments args)
- {
- if (KeyboardNavigation.ClipAreaActive())
- {
- SendEventToInvokeShortcut(selectUpItem, args.context);
- }
- else if (KeyboardNavigation.TrackHeadActive())
- {
- SendEventToInvokeShortcut(selectUpTrack, args.context);
- }
- else
- {
- KeyboardNavigation.FocusFirstVisibleItem(GetState(args));
- }
- }
-
- [UsedImplicitly]
- [ShortcutManagement.Shortcut(moveDown, typeof(TimelineWindow), KeyCode.DownArrow)]
- static void SelectDown(ShortcutManagement.ShortcutArguments args)
- {
- if (KeyboardNavigation.ClipAreaActive())
- {
- SendEventToInvokeShortcut(selectDownItem, args.context);
- }
- else if (KeyboardNavigation.TrackHeadActive())
- {
- SendEventToInvokeShortcut(selectDownTrack, args.context);
- }
- else
- {
- KeyboardNavigation.FocusFirstVisibleItem(GetState(args));
- }
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(multiSelectLeft, typeof(TimelineWindow), KeyCode.LeftArrow, ShortcutModifiers.Shift)]
- static void MultiSelectLeft(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(multiSelectLeft, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(multiSelectRight, typeof(TimelineWindow), KeyCode.RightArrow, ShortcutModifiers.Shift)]
- static void MultiSelectRight(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(multiSelectRight, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(multiSelectUp , typeof(TimelineWindow), KeyCode.UpArrow, ShortcutModifiers.Shift)]
- static void MultiSelectUp(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(multiSelectUp, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(multiSelectDown, typeof(TimelineWindow), KeyCode.DownArrow, ShortcutModifiers.Shift)]
- static void MultiSelectDown(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(multiSelectDown, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(toggleClipTrackArea, typeof(TimelineWindow), KeyCode.Tab)]
- static void ToggleClipTrackArea(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(toggleClipTrackArea, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(matchContent, typeof(TimelineWindow), KeyCode.C)]
- static void Shortcut(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(matchContent, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(toggleLock, typeof(TimelineWindow), KeyCode.L)]
- static void Lock(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(toggleLock, args.context);
- }
-
- [UsedImplicitly, ShortcutManagement.Shortcut(toggleMute, typeof(TimelineWindow), KeyCode.M)]
- static void Mute(ShortcutManagement.ShortcutArguments args)
- {
- SendEventToInvokeShortcut(toggleMute, args.context);
- }
- }
-
- static WindowState GetState(ShortcutManagement.ShortcutArguments args)
- {
- return ((TimelineWindow)args.context).state;
- }
-
- static void SendEventToInvokeShortcut(string timelineShortcutId, object context)
- {
- var e = new Event
- {
- type = EventType.ExecuteCommand,
- commandName = timelineShortcutId
- };
-
- (context as EditorWindow).SendEvent(e);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Shortcuts.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Shortcuts.cs.meta
deleted file mode 100644
index d9932c1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Shortcuts.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c35a186b967e6a24d9d844d412fe08a3
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals.meta
deleted file mode 100644
index 5820d30..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: cce613d1538e76a4785658931c7db093
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalAssetInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalAssetInspector.cs
deleted file mode 100644
index 1c8c6f9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalAssetInspector.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline.Signals
-{
- [CustomEditor(typeof(SignalAsset))]
- class SignalAssetInspector : Editor
- {
- [MenuItem("Assets/Create/Signal", false, 451)]
- [UsedImplicitly]
- public static void CreateNewSignal()
- {
- var icon = EditorGUIUtility.IconContent("SignalAsset Icon").image as Texture2D;
- ProjectWindowUtil.StartNameEditingIfProjectWindowExists(0, CreateInstance<DoCreateSignalAsset>(), "New Signal.signal", icon, null);
- }
-
- class DoCreateSignalAsset : ProjectWindowCallback.EndNameEditAction
- {
- public override void Action(int instanceId, string pathName, string resourceFile)
- {
- var signalAsset = CreateInstance<SignalAsset>();
- AssetDatabase.CreateAsset(signalAsset, pathName);
- ProjectWindowUtil.ShowCreatedAsset(signalAsset);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalAssetInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalAssetInspector.cs.meta
deleted file mode 100644
index a135f38..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalAssetInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 58004290eb3aab44e9823d1f25c4ed73
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterEditor.cs
deleted file mode 100644
index 48c5690..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterEditor.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline.Signals
-{
- [CustomTimelineEditor(typeof(SignalEmitter))]
- class SignalEmitterEditor : MarkerEditor
- {
- static readonly string MissingAssetError = LocalizationDatabase.GetLocalizedString("No signal assigned");
-
- public override MarkerDrawOptions GetMarkerOptions(IMarker marker)
- {
- var options = base.GetMarkerOptions(marker);
- SignalEmitter emitter = (SignalEmitter)marker;
- if (emitter.asset != null)
- options.tooltip = emitter.asset.name;
- else
- options.errorText = MissingAssetError;
-
- return options;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterEditor.cs.meta
deleted file mode 100644
index 4f40bf0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 51a7878f6c989394782db73339e90e46
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterInspector.cs
deleted file mode 100644
index bea45ad..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterInspector.cs
+++ /dev/null
@@ -1,377 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-using UnityObject = UnityEngine.Object;
-
-namespace UnityEditor.Timeline.Signals
-{
- [CustomEditor(typeof(SignalEmitter), true)]
- [CanEditMultipleObjects]
- class SignalEmitterInspector : MarkerInspector, ISignalAssetProvider
- {
- SerializedProperty m_RetroactiveProperty;
- SerializedProperty m_EmitOnceProperty;
-
- SignalEmitter m_Signal;
- GameObject m_BoundGameObject;
- PlayableDirector m_AssociatedDirector;
- bool m_TargetsHaveTheSameBinding;
-
- readonly Dictionary<Component, Editor> m_Editors = new Dictionary<Component, Editor>();
- readonly Dictionary<Component, bool> m_Foldouts = new Dictionary<Component, bool>();
- List<Component> m_Receivers = new List<Component>();
-
- static GUIStyle s_FoldoutStyle;
- internal static GUIStyle foldoutStyle
- {
- get
- {
- if (s_FoldoutStyle == null)
- {
- s_FoldoutStyle = new GUIStyle(EditorStyles.foldout) {fontStyle = FontStyle.Bold};
- }
-
- return s_FoldoutStyle;
- }
- }
-
- public SignalAsset signalAsset
- {
- get
- {
- var emitter = target as SignalEmitter;
- return signalAssetSameValue ? emitter.asset : null;
- }
- set
- {
- AssignSignalAsset(value);
- }
- }
-
- bool signalAssetSameValue
- {
- get
- {
- var emitters = targets.Cast<SignalEmitter>().ToList();
- return emitters.Select(x => x.asset).Distinct().Count() == 1;
- }
- }
-
- void OnEnable()
- {
- Undo.undoRedoPerformed += OnUndoRedo; // subscribe to the event
- m_Signal = target as SignalEmitter;
- m_RetroactiveProperty = serializedObject.FindProperty("m_Retroactive");
- m_EmitOnceProperty = serializedObject.FindProperty("m_EmitOnce");
- // In a vast majority of the cases, when this becomes enabled,
- // the timeline window will be focused on the correct timeline
- // in which case TimelineEditor.inspectedDirector is safe to use
- m_AssociatedDirector = TimelineEditor.inspectedDirector;
- UpdateState();
- }
-
- internal override bool IsEnabled()
- {
- return TimelineUtility.IsCurrentSequenceValid() && !IsCurrentSequenceReadOnly() && base.IsEnabled();
- }
-
- public override void OnInspectorGUI()
- {
- serializedObject.Update();
-
- using (var changeScope = new EditorGUI.ChangeCheckScope())
- {
- var property = serializedObject.GetIterator();
- var expanded = true;
- while (property.NextVisible(expanded))
- {
- expanded = false;
- if (SkipField(property.propertyPath))
- continue;
- EditorGUILayout.PropertyField(property, true);
- }
-
- DrawSignalFlags();
- UpdateState();
- DrawNameSelectorAndSignalList();
-
- if (changeScope.changed)
- {
- serializedObject.ApplyModifiedProperties();
- TimelineEditor.Refresh(RefreshReason.ContentsModified | RefreshReason.WindowNeedsRedraw);
- }
- }
- }
-
- internal override void OnHeaderIconGUI(Rect iconRect)
- {
- using (new EditorGUI.DisabledScope(!TimelineUtility.IsCurrentSequenceValid() || IsCurrentSequenceReadOnly()))
- {
- GUI.Label(iconRect, Styles.SignalEmitterIcon);
- }
- }
-
- internal override Rect DrawHeaderHelpAndSettingsGUI(Rect r)
- {
- using (new EditorGUI.DisabledScope(!TimelineUtility.IsCurrentSequenceValid() || IsCurrentSequenceReadOnly()))
- {
- var helpSize = EditorStyles.iconButton.CalcSize(EditorGUI.GUIContents.helpIcon);
- const int kTopMargin = 5;
- return EditorGUIUtility.DrawEditorHeaderItems(new Rect(r.xMax - helpSize.x, r.y + kTopMargin, helpSize.x, helpSize.y), targets);
- }
- }
-
- IEnumerable<SignalAsset> ISignalAssetProvider.AvailableSignalAssets()
- {
- return SignalManager.assets;
- }
-
- void ISignalAssetProvider.CreateNewSignalAsset(string path)
- {
- var newSignalAsset = SignalManager.CreateSignalAssetInstance(path);
- AssignSignalAsset(newSignalAsset);
- var receivers = m_Receivers.OfType<SignalReceiver>().ToList();
- if (signalAsset != null && receivers.Count == 1 && !receivers.Any(r => r.IsSignalAssetHandled(newSignalAsset))) // Only when one receiver is present
- {
- receivers[0].AddNewReaction(newSignalAsset); // Add reaction on the first receiver from the list
- ApplyChangesAndRefreshReceivers();
- }
- }
-
- void UpdateState()
- {
- m_BoundGameObject = GetBoundGameObject(m_Signal.parent, m_AssociatedDirector);
- m_Receivers = m_BoundGameObject == null || m_BoundGameObject.Equals(null)
- ? new List<Component>()
- : m_BoundGameObject.GetComponents<Component>().Where(t => t is INotificationReceiver).ToList();
-
- m_TargetsHaveTheSameBinding = targets.Cast<SignalEmitter>()
- .Select(x => GetBoundGameObject(x.parent, m_AssociatedDirector))
- .Distinct().Count() == 1;
- }
-
- Editor GetOrCreateReceiverEditor(Component c)
- {
- Editor ret;
- if (m_Editors.TryGetValue(c, out ret))
- {
- return ret;
- }
-
- ret = CreateEditorWithContext(new Object[] {c}, target);
- m_Editors[c] = ret;
- if (!m_Foldouts.ContainsKey(c))
- {
- m_Foldouts[c] = true;
- }
-
- return ret;
- }
-
- void OnDisable()
- {
- Undo.undoRedoPerformed -= OnUndoRedo;
- }
-
- void OnDestroy()
- {
- foreach (var editor in m_Editors)
- {
- DestroyImmediate(editor.Value);
- }
- m_Editors.Clear();
- }
-
- void OnUndoRedo()
- {
- ApplyChangesAndRefreshReceivers();
- }
-
- void ApplyChangesAndRefreshReceivers()
- {
- foreach (var receiverInspector in m_Editors.Values.OfType<SignalReceiverInspector>())
- {
- receiverInspector.SetAssetContext(signalAsset);
- }
- }
-
- void DrawNameSelectorAndSignalList()
- {
- using (var change = new EditorGUI.ChangeCheckScope())
- {
- DrawSignal();
- DrawReceivers();
-
- if (change.changed)
- {
- ApplyChangesAndRefreshReceivers();
- }
- }
- }
-
- void DrawReceivers()
- {
- if (!m_TargetsHaveTheSameBinding)
- {
- EditorGUILayout.HelpBox(Styles.MultiEditNotSupportedOnDifferentBindings, MessageType.None);
- return;
- }
-
- if (targets.OfType<SignalEmitter>().Select(x => x.asset).Distinct().Count() > 1)
- {
- EditorGUILayout.HelpBox(Styles.MultiEditNotSupportedOnDifferentSignals, MessageType.None);
- return;
- }
-
- //do not display the receiver if the current timeline is not the same as the emitter's timeline
- //can happen if the inspector is locked
- if (m_Signal.parent != null && m_Signal.parent.timelineAsset != TimelineEditor.inspectedAsset)
- return;
-
- if (m_BoundGameObject != null)
- {
- if (!m_Receivers.Any(x => x is SignalReceiver))
- {
- EditorGUILayout.Separator();
- var message = string.Format(Styles.NoSignalReceiverComponent, m_BoundGameObject.name);
- SignalUtility.DrawCenteredMessage(message);
- if (SignalUtility.DrawCenteredButton(Styles.AddSignalReceiverComponent))
- AddReceiverComponent();
- }
-
- foreach (var receiver in m_Receivers)
- {
- var editor = GetOrCreateReceiverEditor(receiver);
- if (DrawReceiverHeader(receiver))
- {
- editor.OnInspectorGUI();
- }
- }
- }
- else if (m_AssociatedDirector != null) //not in asset mode
- {
- EditorGUILayout.HelpBox(Styles.NoBoundGO, MessageType.None);
- }
- }
-
- void DrawSignalFlags()
- {
- EditorGUILayout.PropertyField(m_RetroactiveProperty, Styles.RetroactiveLabel);
- EditorGUILayout.PropertyField(m_EmitOnceProperty, Styles.EmitOnceLabel);
- }
-
- void DrawSignal()
- {
- //should show button to create new signal if there are no signals asset in the project
- if (!SignalManager.assets.Any())
- {
- using (new EditorGUI.DisabledScope(true))
- {
- DrawNameSelector();
- }
-
- EditorGUILayout.Separator();
- SignalUtility.DrawCenteredMessage(Styles.ProjectHasNoSignalAsset);
- if (SignalUtility.DrawCenteredButton(Styles.CreateNewSignal))
- CreateNewSignalAsset(SignalUtility.GetNewSignalPath());
- EditorGUILayout.Separator();
- }
- else
- {
- DrawNameSelector();
- }
- }
-
- internal void CreateNewSignalAsset(string path)
- {
- if (!string.IsNullOrEmpty(path))
- ((ISignalAssetProvider)this).CreateNewSignalAsset(path);
- GUIUtility.ExitGUI();
- }
-
- void AssignSignalAsset(SignalAsset newAsset)
- {
- foreach (var o in targets)
- {
- var signalEmitter = (SignalEmitter)o;
- TimelineUndo.PushUndo(signalEmitter, Styles.UndoCreateSignalAsset);
- signalEmitter.asset = newAsset;
- }
- }
-
- void DrawNameSelector()
- {
- SignalUtility.DrawSignalNames(this, EditorGUILayout.GetControlRect(), Styles.EmitSignalLabel, !signalAssetSameValue);
- }
-
- bool DrawReceiverHeader(Component receiver)
- {
- EditorGUILayout.Space();
- var lineRect = GUILayoutUtility.GetRect(10, 4, EditorStyles.inspectorTitlebar);
- DrawSplitLine(lineRect.y);
-
- var style = EditorGUIUtility.TrTextContentWithIcon(
- ObjectNames.NicifyVariableName(receiver.GetType().Name),
- AssetPreview.GetMiniThumbnail(receiver));
-
- m_Foldouts[receiver] =
- EditorGUILayout.Foldout(m_Foldouts[receiver], style, true, foldoutStyle);
- if (m_Foldouts[receiver])
- {
- DrawReceiverObjectField();
- }
-
- return m_Foldouts[receiver];
- }
-
- void DrawReceiverObjectField()
- {
- EditorGUI.BeginDisabledGroup(true);
- EditorGUILayout.ObjectField(Styles.ObjectLabel, m_BoundGameObject, typeof(GameObject), false);
- EditorGUI.EndDisabledGroup();
- }
-
- void AddReceiverComponent()
- {
- var receiver = Undo.AddComponent<SignalReceiver>(m_BoundGameObject);
- receiver.AddNewReaction(signalAsset);
- }
-
- static bool SkipField(string fieldName)
- {
- return fieldName == "m_Script" || fieldName == "m_Asset" || fieldName == "m_Retroactive" || fieldName == "m_EmitOnce";
- }
-
- static void DrawSplitLine(float y)
- {
- if (Event.current.type != EventType.Repaint) return;
-
- var width = EditorGUIUtility.currentViewWidth;
- var position = new Rect(0, y, width + 1, 1);
-
- if (EditorStyles.inspectorTitlebar != null)
- EditorStyles.inspectorTitlebar.Draw(position, false, false, false, false);
- }
-
- static GameObject GetBoundGameObject(TrackAsset track, PlayableDirector associatedDirector)
- {
- if (associatedDirector == null || track == null) //if in asset mode, no bound object for you
- return null;
-
- var boundObj = TimelineUtility.GetSceneGameObject(associatedDirector, track);
-
- //if the signal is on the timeline marker track and user did not set a binding, assume it's bound to PlayableDirector
- if (boundObj == null && track.timelineAsset.markerTrack == track)
- boundObj = associatedDirector.gameObject;
-
- return boundObj;
- }
-
- static bool IsCurrentSequenceReadOnly()
- {
- return TimelineWindow.instance.state.editSequence.isReadOnly;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterInspector.cs.meta
deleted file mode 100644
index d89a36c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEmitterInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 970e7735a0864fd40842a36d053d08fe
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEventDrawer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEventDrawer.cs
deleted file mode 100644
index 021c6c7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEventDrawer.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-using System;
-using JetBrains.Annotations;
-using UnityEditorInternal;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline.Signals
-{
- [CustomPropertyDrawer(typeof(CustomSignalEventDrawer))]
- [UsedImplicitly]
- class SignalEventDrawer : UnityEventDrawer
- {
- static GameObject FindBoundObject(SerializedProperty property)
- {
- var component = property.serializedObject.targetObject as Component;
- return component != null ? component.gameObject : null;
- }
-
- protected override void OnAddEvent(ReorderableList list)
- {
- base.OnAddEvent(list);
- var listProperty = list.serializedProperty;
- if (listProperty.arraySize > 0)
- {
- var lastCall = list.serializedProperty.GetArrayElementAtIndex(listProperty.arraySize - 1);
- var targetProperty = lastCall.FindPropertyRelative(kInstancePath);
- targetProperty.objectReferenceValue = FindBoundObject(listProperty);
- }
- }
-
- protected override void DrawEventHeader(Rect headerRect) {}
-
- protected override void SetupReorderableList(ReorderableList list)
- {
- base.SetupReorderableList(list);
- list.headerHeight = 4;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEventDrawer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEventDrawer.cs.meta
deleted file mode 100644
index 26afa8d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalEventDrawer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6ba7805325c426c43b8e85b5be4eae36
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalManager.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalManager.cs
deleted file mode 100644
index 4beec0c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalManager.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using UnityEngine;
-using UnityEngine.Timeline;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline.Signals
-{
- class SignalManager : IDisposable
- {
- static SignalManager m_Instance;
- readonly List<SignalAsset> m_assets = new List<SignalAsset>();
-
- internal static SignalManager instance
- {
- get
- {
- if (m_Instance == null)
- {
- m_Instance = new SignalManager();
- m_Instance.Refresh();
- }
-
- return m_Instance;
- }
-
- set { m_Instance = value; }
- }
-
- internal SignalManager()
- {
- SignalAsset.OnEnableCallback += Register;
- }
-
- public static IEnumerable<SignalAsset> assets
- {
- get
- {
- foreach (var asset in instance.m_assets)
- {
- if (asset != null)
- yield return asset;
- }
- }
- }
-
- public static SignalAsset CreateSignalAssetInstance(string path)
- {
- var newSignal = ScriptableObject.CreateInstance<SignalAsset>();
- newSignal.name = Path.GetFileNameWithoutExtension(path);
-
- var asset = AssetDatabase.LoadMainAssetAtPath(path) as SignalAsset;
- if (asset != null)
- {
- TimelineUndo.PushUndo(asset, Styles.UndoCreateSignalAsset);
- EditorUtility.CopySerialized(newSignal, asset);
- Object.DestroyImmediate(newSignal);
- return asset;
- }
-
- AssetDatabase.CreateAsset(newSignal, path);
- return newSignal;
- }
-
- public void Dispose()
- {
- SignalAsset.OnEnableCallback -= Register;
- }
-
- void Register(SignalAsset a)
- {
- m_assets.Add(a);
- }
-
- void Refresh()
- {
- var guids = AssetDatabase.FindAssets("t:SignalAsset");
- foreach (var g in guids)
- {
- var path = AssetDatabase.GUIDToAssetPath(g);
- var asset = AssetDatabase.LoadAssetAtPath<SignalAsset>(path);
- m_assets.Add(asset);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalManager.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalManager.cs.meta
deleted file mode 100644
index 528ec1d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalManager.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 255b0c6d400fd964dab3029c8abc53f4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverHeader.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverHeader.cs
deleted file mode 100644
index 55e8d27..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverHeader.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using UnityEditor.IMGUI.Controls;
-using UnityEngine;
-
-namespace UnityEditor.Timeline.Signals
-{
- class SignalReceiverHeader : MultiColumnHeader
- {
- public SignalReceiverHeader(MultiColumnHeaderState state) : base(state) {}
-
- protected override void AddColumnHeaderContextMenuItems(GenericMenu menu)
- {
- menu.AddItem(EditorGUIUtility.TrTextContent("Resize to Fit"), false, ResizeToFit);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverHeader.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverHeader.cs.meta
deleted file mode 100644
index 211c810..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverHeader.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 423cd382a7804414d9bfdb2e7fb7bb62
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverInspector.cs
deleted file mode 100644
index 52211e1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverInspector.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-using UnityEngine;
-using UnityObject = UnityEngine.Object;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine.Events;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline.Signals
-{
- [CustomEditor(typeof(SignalReceiver))]
- class SignalReceiverInspector : Editor
- {
- SignalReceiver m_Target;
-
- [SerializeField] TreeViewState m_TreeState;
- [SerializeField] MultiColumnHeaderState m_MultiColumnHeaderState;
- internal SignalReceiverTreeView m_TreeView;
-
- SignalEmitter signalEmitterContext
- {
- get { return m_Context as SignalEmitter;}
- }
-
- void OnEnable()
- {
- m_Target = target as SignalReceiver;
- InitTreeView(serializedObject);
-
- Undo.undoRedoPerformed += OnUndoRedo;
- }
-
- void OnDisable()
- {
- Undo.undoRedoPerformed -= OnUndoRedo;
- }
-
- void OnUndoRedo()
- {
- m_TreeView.dirty = true;
- }
-
- public override void OnInspectorGUI()
- {
- serializedObject.Update();
-
- using (var changeCheck = new EditorGUI.ChangeCheckScope())
- {
- m_TreeView.RefreshIfDirty();
- DrawEmitterControls(); // Draws buttons coming from the Context (SignalEmitter)
-
- EditorGUILayout.Space();
- m_TreeView.Draw();
-
- if (signalEmitterContext == null)
- DrawAddRemoveButtons();
-
- if (changeCheck.changed)
- {
- serializedObject.ApplyModifiedProperties();
- m_TreeView.dirty = true;
- }
- }
- }
-
- void DrawEmitterControls()
- {
- var context = signalEmitterContext;
- if (context != null)
- {
- var currentSignal = context.asset;
- if (currentSignal != null && !m_Target.IsSignalAssetHandled(currentSignal))
- {
- EditorGUILayout.Separator();
- var message = string.Format(Styles.NoReaction, currentSignal.name);
- SignalUtility.DrawCenteredMessage(message);
- if (SignalUtility.DrawCenteredButton(Styles.AddReactionButton))
- m_Target.AddNewReaction(currentSignal); // Add reaction on the first
- EditorGUILayout.Separator();
- }
- }
- }
-
- internal void SetAssetContext(SignalAsset asset)
- {
- m_TreeView.SetSignalContext(asset);
- }
-
- void DrawAddRemoveButtons()
- {
- using (new GUILayout.HorizontalScope())
- {
- GUILayout.FlexibleSpace();
- if (GUILayout.Button(Styles.AddReactionButton))
- {
- Undo.RecordObject(m_Target, Styles.UndoAddReaction);
- m_Target.AddEmptyReaction(new UnityEvent());
- PrefabUtility.RecordPrefabInstancePropertyModifications(m_Target);
- }
- GUILayout.Space(18.0f);
- }
- }
-
- void InitTreeView(SerializedObject so)
- {
- m_TreeState = SignalListFactory.CreateViewState();
- m_MultiColumnHeaderState = SignalListFactory.CreateHeaderState();
- var header = SignalListFactory.CreateHeader(m_MultiColumnHeaderState, SignalReceiverUtility.headerHeight);
-
- var context = signalEmitterContext;
- m_TreeView = SignalListFactory.CreateSignalInspectorList(m_TreeState, header, m_Target, so);
- m_TreeView.readonlySignals = context != null;
-
- if (context != null)
- m_TreeView.SetSignalContext(context.asset);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverInspector.cs.meta
deleted file mode 100644
index a764c95..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalReceiverInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 70b265ed18dc14041bedc0263d4578ef
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalUtility.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalUtility.cs
deleted file mode 100644
index 663e341..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalUtility.cs
+++ /dev/null
@@ -1,125 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Events;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline.Signals
-{
- interface ISignalAssetProvider
- {
- SignalAsset signalAsset { get; set; }
- IEnumerable<SignalAsset> AvailableSignalAssets();
- void CreateNewSignalAsset(string path);
- }
-
- static class SignalUtility
- {
- const string k_SignalExtension = "signal";
-
- public static void DrawSignalNames(ISignalAssetProvider assetProvider, Rect position, GUIContent label, bool multipleValues)
- {
- var assets = assetProvider.AvailableSignalAssets().ToList();
- var index = assets.IndexOf(assetProvider.signalAsset);
-
- var availableNames = new List<string>();
- using (new GUIMixedValueScope(multipleValues))
- {
- availableNames.Add(Styles.EmptySignalList.text);
-
- availableNames.AddRange(assets.Select(x => x.name));
- availableNames.Add(Styles.CreateNewSignal.text);
-
- var curValue = index + 1;
- var selected = EditorGUI.Popup(position, label, curValue, availableNames.ToArray());
-
- if (selected != curValue)
- {
- var noneEntryIdx = 0;
- if (selected == noneEntryIdx) // None
- assetProvider.signalAsset = null;
- else if (selected == availableNames.Count - 1) // "Create New Asset"
- {
- var path = GetNewSignalPath();
- if (!string.IsNullOrEmpty(path))
- assetProvider.CreateNewSignalAsset(path);
- GUIUtility.ExitGUI();
- }
- else
- assetProvider.signalAsset = assets[selected - 1];
- }
- }
- }
-
- public static string GetNewSignalPath()
- {
- return EditorUtility.SaveFilePanelInProject(
- Styles.NewSignalWindowTitle.text,
- Styles.NewSignalDefaultName.text,
- k_SignalExtension,
- Styles.NewSignalWindowMessage.text);
- }
-
- public static bool IsSignalAssetHandled(this SignalReceiver receiver, SignalAsset asset)
- {
- return receiver != null && asset != null && receiver.GetRegisteredSignals().Contains(asset);
- }
-
- public static void AddNewReaction(this SignalReceiver receiver, SignalAsset signalAsset)
- {
- if (signalAsset != null && receiver != null)
- {
- Undo.RecordObject(receiver, Styles.UndoAddReaction);
- var newEvent = new UnityEvent();
- newEvent.AddPersistentListener();
- var evtIndex = newEvent.GetPersistentEventCount() - 1;
- newEvent.RegisterVoidPersistentListenerWithoutValidation(evtIndex, receiver.gameObject, string.Empty);
- receiver.AddReaction(signalAsset, newEvent);
- PrefabUtility.RecordPrefabInstancePropertyModifications(receiver);
- }
- }
-
- public static void DrawCenteredMessage(string message)
- {
- using (new GUILayout.HorizontalScope())
- {
- GUILayout.FlexibleSpace();
- GUILayout.Label(message);
- GUILayout.FlexibleSpace();
- }
- }
-
- public static bool DrawCenteredButton(GUIContent buttonLabel)
- {
- bool buttonClicked;
- using (new GUILayout.HorizontalScope())
- {
- GUILayout.FlexibleSpace();
- buttonClicked = GUILayout.Button(buttonLabel);
- GUILayout.FlexibleSpace();
- }
- return buttonClicked;
- }
- }
-
- static class SignalReceiverUtility
- {
- const int k_DefaultTreeviewHeaderHeight = 20;
-
- public static int headerHeight
- {
- get { return k_DefaultTreeviewHeaderHeight; }
- }
-
- public static SerializedProperty FindSignalsProperty(SerializedObject obj)
- {
- return obj.FindProperty("m_Events.m_Signals");
- }
-
- public static SerializedProperty FindEventsProperty(SerializedObject obj)
- {
- return obj.FindProperty("m_Events.m_Events");
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalUtility.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalUtility.cs.meta
deleted file mode 100644
index f29c92c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/SignalUtility.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b33687803b08daf418e5315de17658b8
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/Styles.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/Styles.cs
deleted file mode 100644
index 6842081..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/Styles.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline.Signals
-{
- static class Styles
- {
- public static readonly GUIContent RetroactiveLabel = EditorGUIUtility.TrTextContent("Retroactive", "Use retroactive to emit this signal even if playback starts afterwards.");
- public static readonly GUIContent EmitOnceLabel = EditorGUIUtility.TrTextContent("Emit Once", "Emit the signal once during loops.");
- public static readonly GUIContent EmitSignalLabel = EditorGUIUtility.TrTextContent("Emit Signal", "Select which Signal Asset to emit.");
- public static readonly GUIContent ObjectLabel = EditorGUIUtility.TrTextContent("Receiver Component on", "The Signal Receiver Component on the bound GameObject.");
-
- public static readonly GUIContent CreateNewSignal = EditorGUIUtility.TrTextContent("Create Signal…");
- public static readonly GUIContent AddSignalReceiverComponent = EditorGUIUtility.TrTextContent("Add Signal Receiver", "Creates a Signal Receiver component on the track binding and the reaction for the current signal.");
- public static readonly GUIContent EmptySignalList = EditorGUIUtility.TrTextContent("None");
- public static readonly GUIContent AddReactionButton = EditorGUIUtility.TrTextContent("Add Reaction");
-
- public static readonly GUIContent NewSignalWindowTitle = EditorGUIUtility.TrTextContent("Create Signal Key");
- public static readonly GUIContent NewSignalDefaultName = EditorGUIUtility.TrTextContent("New Signal");
- public static readonly GUIContent NewSignalWindowMessage = EditorGUIUtility.TrTextContent("Create Signal Key");
-
- public static readonly string SignalListDuplicateOption = L10n.Tr("Duplicate");
- public static readonly string SignalListDeleteOption = L10n.Tr("Delete");
- public static readonly string NoBoundGO = L10n.Tr("Track has no bound GameObject.");
- public static readonly string MultiEditNotSupportedOnDifferentBindings = L10n.Tr("Multi-edit not supported for SignalReceivers on tracks bound to different GameObjects.");
- public static readonly string MultiEditNotSupportedOnDifferentSignals = L10n.Tr("Multi-edit not supported for SignalReceivers when SignalEmitters use different Signals.");
-
- public static readonly string UndoCreateSignalAsset = L10n.Tr("Create New Signal Asset");
- public static readonly string UndoDuplicateRow = L10n.Tr("Duplicate Row");
- public static readonly string UndoDeleteRow = L10n.Tr("Delete Row");
- public static readonly string UndoAddReaction = L10n.Tr("Add Signal Receiver Reaction");
- public static readonly string NoReaction = L10n.Tr("No reaction for {0} has been defined in this receiver");
- public static readonly string NoSignalReceiverComponent = L10n.Tr("There is no Signal Receiver component on {0}");
- public static readonly string ProjectHasNoSignalAsset = L10n.Tr("Your project contains no Signal assets");
-
- //Icons
- public static readonly GUIStyle OptionsStyle = DirectorStyles.GetGUIStyle("Icon.Options");
- public static readonly GUIContent SignalEmitterIcon = EditorGUIUtility.IconContent("SignalEmitter Icon");
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/Styles.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/Styles.cs.meta
deleted file mode 100644
index da7c028..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/Styles.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 685f63932bebd0c4db02ee14845191e2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView.meta
deleted file mode 100644
index d8cac35..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 5ba130fc1db953547a50bcf5c162a3e8
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalListFactory.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalListFactory.cs
deleted file mode 100644
index 1b59ec6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalListFactory.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline.Signals
-{
- static class SignalListFactory
- {
- public static SignalReceiverTreeView CreateSignalInspectorList(TreeViewState state, SignalReceiverHeader header, SignalReceiver target, SerializedObject so)
- {
- return new SignalReceiverTreeView(state, header, target, so);
- }
-
- public static SignalReceiverHeader CreateHeader(MultiColumnHeaderState state, int columnHeight)
- {
- var header = new SignalReceiverHeader(state) { height = columnHeight };
- header.ResizeToFit();
- return header;
- }
-
- public static MultiColumnHeaderState CreateHeaderState()
- {
- return new MultiColumnHeaderState(SignalReceiverTreeView.GetColumns());
- }
-
- public static TreeViewState CreateViewState()
- {
- return new TreeViewState();
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalListFactory.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalListFactory.cs.meta
deleted file mode 100644
index fcc2a87..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalListFactory.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 01cd96d8687272f4898cfd1562079dd7
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverItem.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverItem.cs
deleted file mode 100644
index a58b2fe..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverItem.cs
+++ /dev/null
@@ -1,180 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine;
-using UnityEngine.Events;
-using UnityEngine.Timeline;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline.Signals
-{
- class SignalReceiverItem : TreeViewItem, ISignalAssetProvider
- {
- static readonly SignalEventDrawer k_EvtDrawer = new SignalEventDrawer();
-
- readonly SerializedProperty m_Asset;
- readonly SerializedProperty m_Evt;
- readonly SignalReceiverTreeView m_TreeView;
-
- int m_CurrentRowIdx;
- SignalReceiver m_CurrentReceiver;
-
- internal readonly bool enabled;
- internal readonly bool readonlySignal;
-
- internal const string SignalName = "SignalName";
- internal const string SignalNameReadOnly = "SignalNameReadOnly";
- internal const string SignalOptions = "SignalOptions";
-
- public SignalReceiverItem(SerializedProperty signalAsset, SerializedProperty eventListEntry, int id, bool readonlySignal, bool enabled, SignalReceiverTreeView treeView)
- : base(id, 0)
- {
- m_Asset = signalAsset;
- m_Evt = eventListEntry;
- this.enabled = enabled;
- this.readonlySignal = readonlySignal;
- m_TreeView = treeView;
- }
-
- public SignalAsset signalAsset
- {
- get { return m_CurrentReceiver.GetSignalAssetAtIndex(m_CurrentRowIdx); }
- set
- {
- Undo.RecordObject(m_CurrentReceiver, Styles.UndoCreateSignalAsset);
- m_CurrentReceiver.ChangeSignalAtIndex(m_CurrentRowIdx, value);
- PrefabUtility.RecordPrefabInstancePropertyModifications(m_CurrentReceiver);
- }
- }
-
- public float GetHeight()
- {
- return k_EvtDrawer.GetPropertyHeight(m_Evt, GUIContent.none);
- }
-
- public void Draw(Rect rect, int colIdx, int rowIdx, float padding, SignalReceiver target)
- {
- switch (colIdx)
- {
- case 0:
- DrawSignalNameColumn(rect, padding, target, rowIdx);
- break;
- case 1:
- DrawReactionColumn(rect, rowIdx);
- break;
- default:
- throw new ArgumentOutOfRangeException();
- }
- }
-
- void DrawSignalNameColumn(Rect rect, float padding, SignalReceiver target, int rowIdx)
- {
- using (new EditorGUI.DisabledScope(!enabled))
- {
- if (!readonlySignal)
- {
- m_CurrentRowIdx = rowIdx;
- m_CurrentReceiver = target;
-
- rect.x += padding;
- rect.width -= padding;
- rect.height = EditorGUIUtility.singleLineHeight;
- GUI.SetNextControlName(SignalName);
- SignalUtility.DrawSignalNames(this, rect, GUIContent.none, false);
- }
- else
- {
- GUI.SetNextControlName(SignalNameReadOnly);
- var signalAsset = m_Asset.objectReferenceValue;
- GUI.Label(rect,
- signalAsset != null
- ? EditorGUIUtility.TempContent(signalAsset.name)
- : Styles.EmptySignalList);
- }
- }
- }
-
- void DrawReactionColumn(Rect rect, int rowIdx)
- {
- if (!readonlySignal)
- {
- var optionButtonSize = GetOptionButtonSize();
- rect.width -= optionButtonSize.x;
-
- var optionButtonRect = new Rect
- {
- x = rect.xMax,
- y = rect.y,
- width = optionButtonSize.x,
- height = optionButtonSize.y
- };
- DrawOptionsButton(optionButtonRect, rowIdx, m_CurrentReceiver);
- }
-
- using (new EditorGUI.DisabledScope(!enabled))
- {
- var nameAsString = m_Asset.objectReferenceValue == null ? "Null" : m_Asset.objectReferenceValue.name;
- using (var change = new EditorGUI.ChangeCheckScope())
- {
- EditorGUI.PropertyField(rect, m_Evt, EditorGUIUtility.TempContent(nameAsString));
- if (change.changed)
- m_TreeView.dirty = true;
- }
- }
- }
-
- static Vector2 GetOptionButtonSize()
- {
- EditorGUIUtility.SetIconSize(Vector2.zero);
- return EditorStyles.iconButton.CalcSize(EditorGUI.GUIContents.titleSettingsIcon);
- }
-
- void DrawOptionsButton(Rect rect, int rowIdx, SignalReceiver target)
- {
- GUI.SetNextControlName(SignalOptions);
- if (EditorGUI.DropdownButton(rect, EditorGUI.GUIContents.titleSettingsIcon, FocusType.Passive, EditorStyles.iconButton))
- {
- var menu = new GenericMenu();
- menu.AddItem(new GUIContent(Styles.SignalListDuplicateOption), false, () =>
- {
- Undo.RecordObject(target, Styles.UndoDuplicateRow);
- var evtCloner = ScriptableObject.CreateInstance<UnityEventCloner>();
- evtCloner.evt = target.GetReactionAtIndex(rowIdx);
- var clone = Object.Instantiate(evtCloner);
- target.AddEmptyReaction(clone.evt);
- m_TreeView.dirty = true;
- PrefabUtility.RecordPrefabInstancePropertyModifications(target);
-
- });
- menu.AddItem(new GUIContent(Styles.SignalListDeleteOption), false, () =>
- {
- Undo.RecordObject(target, Styles.UndoDeleteRow);
- target.RemoveAtIndex(rowIdx);
- m_TreeView.dirty = true;
- PrefabUtility.RecordPrefabInstancePropertyModifications(target);
- });
- menu.ShowAsContext();
- }
- }
-
- IEnumerable<SignalAsset> ISignalAssetProvider.AvailableSignalAssets()
- {
- var ret = SignalManager.assets.Except(m_CurrentReceiver.GetRegisteredSignals());
- return signalAsset == null ? ret : ret.Union(new List<SignalAsset> {signalAsset}).ToList();
- }
-
- void ISignalAssetProvider.CreateNewSignalAsset(string path)
- {
- var newSignalAsset = SignalManager.CreateSignalAssetInstance(path);
- Undo.RecordObject(m_CurrentReceiver, Styles.UndoCreateSignalAsset);
- m_CurrentReceiver.ChangeSignalAtIndex(m_CurrentRowIdx, newSignalAsset);
- PrefabUtility.RecordPrefabInstancePropertyModifications(m_CurrentReceiver);
- }
-
- class UnityEventCloner : ScriptableObject
- {
- public UnityEvent evt;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverItem.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverItem.cs.meta
deleted file mode 100644
index 826e615..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverItem.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9bc2b69915879416f8df18971dc98e2e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverTreeView.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverTreeView.cs
deleted file mode 100644
index abacd72..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverTreeView.cs
+++ /dev/null
@@ -1,155 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline.Signals
-{
- class SignalReceiverTreeView : TreeView
- {
- public bool dirty { private get; set; }
-
- SerializedProperty signals { get; set; }
- SerializedProperty events { get; set; }
-
- readonly SignalReceiver m_Target;
-
- const float k_VerticalPadding = 5;
- const float k_HorizontalPadding = 5;
-
- public SignalReceiverTreeView(TreeViewState state, MultiColumnHeader multiColumnHeader, SignalReceiver receiver, SerializedObject serializedObject)
- : base(state, multiColumnHeader)
- {
- m_Target = receiver;
- useScrollView = true;
- SetSerializedProperties(serializedObject);
- getNewSelectionOverride = (item, selection, shift) => new List<int>(); // Disable Selection
- }
-
- SignalAsset signalAssetContext { get; set; }
- public bool readonlySignals { get; set; }
-
- public void SetSignalContext(SignalAsset assetContext = null)
- {
- signalAssetContext = assetContext;
- dirty = true;
- }
-
- void SetSerializedProperties(SerializedObject serializedObject)
- {
- signals = SignalReceiverUtility.FindSignalsProperty(serializedObject);
- events = SignalReceiverUtility.FindEventsProperty(serializedObject);
- Reload();
- }
-
- public void Draw()
- {
- var rect = EditorGUILayout.GetControlRect(true, GetTotalHeight());
- OnGUI(rect);
- }
-
- public void RefreshIfDirty()
- {
- var signalsListSizeHasChanged = signals.arraySize != GetRows().Count;
- if (dirty || signalsListSizeHasChanged)
- Reload();
- dirty = false;
- }
-
- public static MultiColumnHeaderState.Column[] GetColumns()
- {
- return new[]
- {
- new MultiColumnHeaderState.Column
- {
- headerContent = EditorGUIUtility.TrTextContent("Signal"),
- contextMenuText = "",
- headerTextAlignment = TextAlignment.Center,
- width = 50, minWidth = 50,
- autoResize = true,
- allowToggleVisibility = false,
- canSort = false
- },
- new MultiColumnHeaderState.Column
- {
- headerContent = EditorGUIUtility.TrTextContent("Reaction"),
- contextMenuText = "",
- headerTextAlignment = TextAlignment.Center,
- width = 120, minWidth = 120,
- autoResize = true,
- allowToggleVisibility = false,
- canSort = false
- }
- };
- }
-
- protected override TreeViewItem BuildRoot()
- {
- var root = new TreeViewItem(-1, -1) { children = new List<TreeViewItem>() };
-
- var matchingId = signalAssetContext != null && readonlySignals ? FindIdForSignal(signals, signalAssetContext) : -1;
- if (matchingId >= 0)
- AddItem(root, matchingId);
-
- for (var i = 0; i < signals.arraySize; ++i)
- {
- if (i == matchingId) continue;
- AddItem(root, i, !readonlySignals);
- }
-
- return root;
- }
-
- protected override void RowGUI(RowGUIArgs args)
- {
- var item = (SignalReceiverItem)args.item;
- for (var i = 0; i < args.GetNumVisibleColumns(); ++i)
- {
- var rect = args.GetCellRect(i);
- rect.y += k_VerticalPadding;
- item.Draw(rect, args.GetColumn(i), args.row, k_HorizontalPadding, m_Target);
- }
- }
-
- protected override float GetCustomRowHeight(int row, TreeViewItem treeItem)
- {
- var item = treeItem as SignalReceiverItem;
- return item.GetHeight() + k_VerticalPadding;
- }
-
- void AddItem(TreeViewItem root, int id, bool enabled = true)
- {
- var signal = signals.GetArrayElementAtIndex(id);
- var evt = events.GetArrayElementAtIndex(id);
- root.children.Add(new SignalReceiverItem(signal, evt, id, readonlySignals, enabled, this));
- }
-
- float GetTotalHeight()
- {
- var height = 0.0f;
- foreach (var item in GetRows())
- {
- var signalListItem = item as SignalReceiverItem;
- height += signalListItem.GetHeight() + k_VerticalPadding;
- }
-
- var scrollbarPadding = showingHorizontalScrollBar ? GUI.skin.horizontalScrollbar.fixedHeight : k_VerticalPadding;
- return height + multiColumnHeader.height + scrollbarPadding;
- }
-
- static int FindIdForSignal(SerializedProperty signals, SignalAsset signalToFind)
- {
- for (var i = 0; i < signals.arraySize; ++i)
- {
- //signal in the receiver that matches the current signal asset will be displayed first
- var serializedProperty = signals.GetArrayElementAtIndex(i);
- var signalReferenceValue = serializedProperty.objectReferenceValue;
- var signalToFindRefValue = signalToFind;
- if (signalReferenceValue != null && signalReferenceValue == signalToFindRefValue)
- return i;
- }
- return -1;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverTreeView.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverTreeView.cs.meta
deleted file mode 100644
index 7c121bf..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Signals/TreeView/SignalReceiverTreeView.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 698b660e9477f4f16abad03ec00ce38c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State.meta
deleted file mode 100644
index fd28faa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 5673d7b11cb9ad04eb2368068b720c17
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/ISequenceState.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/ISequenceState.cs
deleted file mode 100644
index 5d32884..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/ISequenceState.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-using System;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- interface ISequenceState : IDisposable
- {
- TimelineAsset asset { get; }
- PlayableDirector director { get; }
- TimelineClip hostClip { get; }
- double start { get; }
- double timeScale { get; }
- double duration { get; }
- bool isReadOnly { get; }
- TimelineAssetViewModel viewModel { get; }
- double time { get; set; }
- int frame { get; set; }
- float frameRate { get; set; }
-
- Range GetEvaluableRange();
- string TimeAsString(double timeValue, string format = "F2");
- double ToGlobalTime(double t);
- double ToLocalTime(double t);
- void ResetIsReadOnly();
- }
-
- /**
- * This class is used to hold default values for an implementation of ISequenceState.
- * It could be removed in a phase 2, but it is currently used to limit the scope of
- * this refactoring: it allows client code to access sequence info without having to
- * worry about `currentSequence` being null.
- * In the future this should be removed and we should pass around the correct data
- * structure (i.e. SequenceState OR WindowState) based on the situation.
- */
- class NullSequenceState : ISequenceState
- {
- public TimelineAsset asset { get { return null; } }
- public PlayableDirector director { get { return null; } }
- public TimelineClip hostClip { get { return null; } }
- public double start { get { return 0.0; } }
- public double timeScale { get { return 1.0; } }
- public double duration { get { return 0.0; } }
- public bool isReadOnly { get { return false; } }
-
- TimelineAssetViewModel m_ViewModel;
-
- public TimelineAssetViewModel viewModel
- {
- get
- {
- if (m_ViewModel == null)
- m_ViewModel = TimelineWindowViewPrefs.CreateUnassociatedViewModel();
- return m_ViewModel;
- }
- }
-
- public double time
- {
- get { return 0.0; }
- set { /* NO-OP*/ }
- }
-
- public int frame
- {
- get { return 0; }
- set { /* NO-OP*/ }
- }
-
- public float frameRate
- {
- get { return TimelineAsset.EditorSettings.kDefaultFps; }
- set { /* NO-OP*/ }
- }
-
- public Range GetEvaluableRange()
- {
- return new Range();
- }
-
- public string TimeAsString(double timeValue, string format = "F2")
- {
- return TimeUtility.TimeAsTimeCode(timeValue, frameRate, format);
- }
-
- public double ToGlobalTime(double t)
- {
- return t;
- }
-
- public double ToLocalTime(double t)
- {
- return t;
- }
-
- public void ResetIsReadOnly()
- {
- // NO-OP
- }
-
- public void Dispose()
- {
- // NO-OP
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/ISequenceState.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/ISequenceState.cs.meta
deleted file mode 100644
index 5b37827..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/ISequenceState.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 167329c8289a3a14a9e342df49fc4104
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceHierarchy.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceHierarchy.cs
deleted file mode 100644
index 08a73e6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceHierarchy.cs
+++ /dev/null
@@ -1,298 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class SequenceHierarchy : ScriptableObject
- {
- readonly List<ISequenceState> m_Sequences = new List<ISequenceState>();
-
- WindowState m_WindowState;
-
- [SerializeField]
- SequencePath m_SerializedPath;
-
- public ISequenceState masterSequence
- {
- get { return m_Sequences.FirstOrDefault(); }
- }
-
- public ISequenceState editSequence
- {
- get { return m_Sequences.LastOrDefault(); }
- }
-
- public int count
- {
- get { return m_Sequences.Count; }
- }
-
- public IEnumerable<ISequenceState> allSequences
- {
- get { return m_Sequences; }
- }
-
- public static SequenceHierarchy CreateInstance()
- {
- var hierarchy = ScriptableObject.CreateInstance<SequenceHierarchy>();
- hierarchy.hideFlags = HideFlags.HideAndDontSave;
- return hierarchy;
- }
-
- public void Init(WindowState owner)
- {
- m_WindowState = owner;
- }
-
- // This is called when performing Undo operations.
- // It needs to be called here since some operations are not
- // allowed (EditorUtility.InstanceIDToObject, for example)
- // during the ISerializationCallbackReceiver methods.
- void OnValidate()
- {
- if (m_SerializedPath == null || m_WindowState == null || m_WindowState.GetWindow() == null)
- return;
-
- m_WindowState.SetCurrentSequencePath(m_SerializedPath, true);
- }
-
- public void Add(TimelineAsset asset, PlayableDirector director, TimelineClip hostClip)
- {
- if (hostClip == null)
- AddToCurrentUndoGroup(this); // Merge with selection undo
- else
- TimelineUndo.PushUndo(this, "Edit Sub-Timeline");
-
- Add_Internal(asset, director, hostClip);
-
- UpdateSerializedPath();
- }
-
- public void Remove()
- {
- if (m_Sequences.Count == 0) return;
-
- TimelineUndo.PushUndo(this, "Go to Sub-Timeline");
-
- Remove_Internal();
-
- UpdateSerializedPath();
- }
-
- public ISequenceState GetStateAtIndex(int index)
- {
- return m_Sequences[index];
- }
-
- public void RemoveUntilCount(int expectedCount)
- {
- if (expectedCount < 0 || m_Sequences.Count <= expectedCount) return;
-
- TimelineUndo.PushUndo(this, "Go to Sub-Timeline");
-
- RemoveUntilCount_Internal(expectedCount);
-
- UpdateSerializedPath();
- }
-
- public void Clear()
- {
- if (m_Sequences.Count == 0) return;
-
- AddToCurrentUndoGroup(this);
- Clear_Internal();
- UpdateSerializedPath();
- }
-
- public SequencePath ToSequencePath()
- {
- var path = new SequencePath();
-
- if (m_Sequences.Count == 0)
- return path;
-
- var rootSequence = m_Sequences[0];
- var root = 0;
- if (rootSequence.director != null && rootSequence.director.gameObject != null)
- root = rootSequence.director.gameObject.GetInstanceID();
- else if (rootSequence.asset != null)
- root = rootSequence.asset.GetInstanceID();
-
- path.SetSelectionRoot(root);
-
- var resolver = rootSequence.director;
-
- if (m_Sequences.Count > 1)
- {
- for (int i = 1, n = m_Sequences.Count; i < n; ++i)
- {
- path.AddSubSequence(m_Sequences[i], resolver);
- resolver = m_Sequences[i].director;
- }
- }
-
- return path;
- }
-
- public bool NeedsUpdate(SequencePath path, bool forceRebuild)
- {
- return forceRebuild || !SequencePath.AreEqual(m_SerializedPath, path);
- }
-
- public void FromSequencePath(SequencePath path, bool forceRebuild)
- {
- if (!NeedsUpdate(path, forceRebuild))
- return;
-
- Clear_Internal();
-
- var rootObject = EditorUtility.InstanceIDToObject(path.selectionRoot);
- if (rootObject == null)
- {
- UpdateSerializedPath();
- return;
- }
-
- var candidateAsset = rootObject as TimelineAsset;
- if (candidateAsset != null)
- {
- Add_Internal(candidateAsset, null, null);
- UpdateSerializedPath();
- return;
- }
-
- var candidateGameObject = rootObject as GameObject;
- if (candidateGameObject == null)
- {
- UpdateSerializedPath();
- return;
- }
-
- var director = TimelineUtility.GetDirectorComponentForGameObject(candidateGameObject);
- var asset = TimelineUtility.GetTimelineAssetForDirectorComponent(director);
- Add_Internal(asset, director, null);
-
- if (!path.subElements.Any())
- {
- UpdateSerializedPath();
- return;
- }
-
- List<SequenceBuildingBlock> buildingBlocks;
- if (ValidateSubElements(path.subElements, director, out buildingBlocks))
- {
- foreach (var buildingBlock in buildingBlocks)
- Add_Internal(buildingBlock.asset, buildingBlock.director, buildingBlock.hostClip);
- }
-
- UpdateSerializedPath();
- }
-
- void Add_Internal(TimelineAsset asset, PlayableDirector director, TimelineClip hostClip)
- {
- if (hostClip == null)
- Clear_Internal();
-
- var parent = m_Sequences.Count > 0 ? editSequence : null;
- m_Sequences.Add(new SequenceState(m_WindowState, asset, director, hostClip, (SequenceState)parent));
- }
-
- void Remove_Internal()
- {
- m_Sequences.Last().Dispose();
- m_Sequences.RemoveAt(m_Sequences.Count - 1);
- }
-
- void RemoveUntilCount_Internal(int expectedCount)
- {
- while (m_Sequences.Count > expectedCount)
- {
- Remove_Internal();
- }
- }
-
- void Clear_Internal()
- {
- RemoveUntilCount_Internal(0);
- }
-
- void UpdateSerializedPath()
- {
- m_SerializedPath = ToSequencePath();
- }
-
- static bool ValidateSubElements(List<SequencePathSubElement> subElements, PlayableDirector director, out List<SequenceBuildingBlock> buildingBlocks)
- {
- buildingBlocks = new List<SequenceBuildingBlock>(subElements.Count);
- var currentDirector = director;
-
- foreach (var element in subElements)
- {
- var timeline = currentDirector.playableAsset as TimelineAsset;
- if (timeline == null)
- return false;
- if (timeline.trackObjects == null)
- return false;
-
- var track = timeline.GetOutputTracks().FirstOrDefault(t => t.GetInstanceID() == element.trackInstanceID);
- if (track == null)
- return false;
- if (track.Hash() != element.trackHash)
- return false;
- if (track.clips == null)
- return false;
- if (track.clips.Length <= element.clipIndex)
- return false;
-
- var clip = track.clips[element.clipIndex];
- if (clip == null)
- return false;
- if (clip.Hash() != element.clipHash)
- return false;
-
- var candidateDirectors = TimelineUtility.GetSubTimelines(clip, director);
-
- if (element.subDirectorIndex < 0 || element.subDirectorIndex >= candidateDirectors.Count)
- return false;
-
- var candidateDirector = candidateDirectors[element.subDirectorIndex];
-
- if (candidateDirector == null || !(candidateDirector.playableAsset is TimelineAsset))
- return false;
-
- currentDirector = candidateDirector;
-
- buildingBlocks.Add(
- new SequenceBuildingBlock
- {
- asset = currentDirector.playableAsset as TimelineAsset,
- director = currentDirector,
- hostClip = clip
- });
- }
-
- return true;
- }
-
- struct SequenceBuildingBlock
- {
- public TimelineAsset asset;
- public PlayableDirector director;
- public TimelineClip hostClip;
- }
-
- static void AddToCurrentUndoGroup(Object target)
- {
- if (target == null) return;
-
- var group = Undo.GetCurrentGroup();
- var groupName = Undo.GetCurrentGroupName();
- EditorUtility.SetDirty(target);
- Undo.RegisterCompleteObjectUndo(target, groupName);
- Undo.CollapseUndoOperations(group);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceHierarchy.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceHierarchy.cs.meta
deleted file mode 100644
index 1e9c089..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceHierarchy.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6901fab4d5157ac48b9f263730387c03
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequencePath.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequencePath.cs
deleted file mode 100644
index d727041..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequencePath.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [Serializable]
- class SequencePath
- {
- [SerializeField] int m_SelectionRoot;
-
- public int selectionRoot
- {
- get { return m_SelectionRoot; }
- }
-
- [SerializeField] List<SequencePathSubElement> m_SubElements;
-
- public List<SequencePathSubElement> subElements
- {
- get { return m_SubElements ?? (m_SubElements = new List<SequencePathSubElement>()); }
- }
-
- public void SetSelectionRoot(int instanceID)
- {
- m_SelectionRoot = instanceID;
- subElements.Clear();
- }
-
- public void AddSubSequence(ISequenceState state, IExposedPropertyTable resolver)
- {
- subElements.Add(SequencePathSubElement.Create(state, resolver));
- }
-
- public void Clear()
- {
- m_SelectionRoot = 0;
- subElements.Clear();
- }
-
- public static bool AreEqual(SequencePath lhs, SequencePath rhs)
- {
- if (ReferenceEquals(lhs, null) && ReferenceEquals(rhs, null)) return true;
- if (ReferenceEquals(lhs, null) || ReferenceEquals(rhs, null)) return false;
- if (ReferenceEquals(lhs, rhs)) return true;
-
- var result = lhs.selectionRoot == rhs.selectionRoot &&
- lhs.subElements.Count == rhs.subElements.Count;
-
- if (!result)
- return false;
-
- for (int i = 0, n = lhs.subElements.Count; i < n; ++i)
- result = result && SequencePathSubElement.AreEqual(lhs.subElements[i], rhs.subElements[i]);
-
- return result;
- }
-
- public override string ToString()
- {
- var sb = new StringBuilder();
-
- sb.AppendFormat("[{0}]", m_SelectionRoot.ToString());
-
- if (m_SubElements != null && m_SubElements.Count > 0)
- {
- foreach (var element in m_SubElements)
- {
- sb.Append(" > ");
- sb.Append(element.ToString());
- }
- }
-
- return sb.ToString();
- }
- }
-
- [Serializable]
- class SequencePathSubElement
- {
- public int trackInstanceID;
- public int trackHash;
- public int clipIndex;
- public int clipHash;
- public int subDirectorIndex;
-
- public static SequencePathSubElement Create(ISequenceState state, IExposedPropertyTable resolver)
- {
- var clip = state.hostClip;
- Debug.Assert(clip != null);
- var track = clip.parentTrack;
- Debug.Assert(track != null);
- var asset = track.timelineAsset;
- Debug.Assert(asset != null);
- var directors = TimelineUtility.GetSubTimelines(clip, resolver as PlayableDirector);
-
- return new SequencePathSubElement
- {
- trackInstanceID = track.GetInstanceID(),
- trackHash = track.Hash(),
- clipIndex = Array.IndexOf(track.clips, clip),
- clipHash = clip.Hash(),
- subDirectorIndex = directors.IndexOf(state.director)
- };
- }
-
- public static bool AreEqual(SequencePathSubElement lhs, SequencePathSubElement rhs)
- {
- if (ReferenceEquals(lhs, null) && ReferenceEquals(rhs, null)) return true;
- if (ReferenceEquals(lhs, null) || ReferenceEquals(rhs, null)) return false;
- if (ReferenceEquals(lhs, rhs)) return true;
-
- return lhs.trackInstanceID == rhs.trackInstanceID &&
- lhs.trackHash == rhs.trackHash &&
- lhs.clipIndex == rhs.clipIndex &&
- lhs.clipHash == rhs.clipHash &&
- lhs.subDirectorIndex == rhs.subDirectorIndex;
- }
-
- public override string ToString()
- {
- return string.Format(
- "[track[{0}] ({1}) > clip[{2}] ({3})]",
- trackInstanceID.ToString(), trackHash.ToString(),
- clipIndex.ToString(), clipHash.ToString());
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequencePath.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequencePath.cs.meta
deleted file mode 100644
index 9d76ca5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequencePath.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d1207768d96c479488b6b81f3483e0c1
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceState.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceState.cs
deleted file mode 100644
index d7430bf..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceState.cs
+++ /dev/null
@@ -1,212 +0,0 @@
-using System;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class SequenceState : ISequenceState
- {
- readonly WindowState m_WindowState;
- readonly SequenceState m_ParentSequence;
-
- double m_Time;
- Range? m_CachedEvaluableRange;
-
- public TimelineAsset asset { get; }
- public PlayableDirector director { get; }
- public TimelineClip hostClip { get; }
- public double start { get; }
- public double timeScale { get; }
-
- public double duration
- {
- get
- {
- if (asset == null)
- return 0.0;
-
- var assetDuration = asset.durationMode == TimelineAsset.DurationMode.FixedLength ? asset.fixedDuration : asset.duration;
- return hostClip == null ? assetDuration : Math.Min(hostClip.duration, assetDuration);
- }
- }
-
- bool? m_IsReadOnly;
- public bool isReadOnly
- {
- get
- {
- if (!m_IsReadOnly.HasValue)
- m_IsReadOnly = FileUtil.IsReadOnly(asset);
- return m_IsReadOnly.Value;
- }
- }
-
- public void ResetIsReadOnly()
- {
- m_IsReadOnly = null;
- }
-
- public TimelineAssetViewModel viewModel
- {
- get
- {
- return TimelineWindowViewPrefs.GetOrCreateViewModel(asset);
- }
- }
-
- public double time
- {
- get
- {
- if (m_ParentSequence != null)
- return hostClip.ToLocalTimeUnbound(m_ParentSequence.time);
-
- return GetLocalTime();
- }
- set
- {
- var correctedValue = Math.Min(value, TimeUtility.k_MaxTimelineDurationInSeconds);
- viewModel.windowTime = correctedValue;
-
- if (m_ParentSequence != null)
- m_ParentSequence.time = hostClip.FromLocalTimeUnbound(correctedValue);
- else
- SetLocalTime(correctedValue);
- }
- }
-
- public int frame
- {
- get { return TimeUtility.ToFrames(time, frameRate); }
- set { time = TimeUtility.FromFrames(Mathf.Max(0, value), frameRate); }
- }
-
- public float frameRate
- {
- get
- {
- if (asset != null)
- return asset.editorSettings.fps;
-
- return TimelineAsset.EditorSettings.kDefaultFps;
- }
- set
- {
- TimelineAsset.EditorSettings settings = asset.editorSettings;
- if (Math.Abs(settings.fps - value) > TimeUtility.kFrameRateEpsilon)
- {
- settings.fps = Mathf.Max(value, (float)TimeUtility.kFrameRateEpsilon);
- EditorUtility.SetDirty(asset);
- }
- }
- }
-
- public SequenceState(WindowState windowState, TimelineAsset asset, PlayableDirector director, TimelineClip hostClip, SequenceState parentSequence)
- {
- m_WindowState = windowState;
- m_ParentSequence = parentSequence;
-
- this.asset = asset;
- this.director = director;
- this.hostClip = hostClip;
-
- start = hostClip == null ? 0.0 : hostClip.start;
- timeScale = hostClip == null ? 1.0 : hostClip.timeScale * parentSequence.timeScale;
- }
-
- public Range GetEvaluableRange()
- {
- if (hostClip == null)
- return new Range
- {
- start = 0.0,
- end = duration
- };
-
- if (!m_CachedEvaluableRange.HasValue)
- {
- var globalRange = GetGlobalEvaluableRange();
- m_CachedEvaluableRange = new Range
- {
- start = ToLocalTime(globalRange.start),
- end = ToLocalTime(globalRange.end)
- };
- }
-
- return m_CachedEvaluableRange.Value;
- }
-
- public string TimeAsString(double timeValue, string format = "F2")
- {
- if (viewModel.timeInFrames)
- return TimeUtility.TimeAsFrames(timeValue, frameRate, format);
-
- return TimeUtility.TimeAsTimeCode(timeValue, frameRate, format);
- }
-
- public double ToGlobalTime(double t)
- {
- if (hostClip == null)
- return t;
-
- return m_ParentSequence.ToGlobalTime(hostClip.FromLocalTimeUnbound(t));
- }
-
- public double ToLocalTime(double t)
- {
- if (hostClip == null)
- return t;
-
- return hostClip.ToLocalTimeUnbound(m_ParentSequence.ToLocalTime(t));
- }
-
- double GetLocalTime()
- {
- if (!m_WindowState.previewMode && !Application.isPlaying)
- return viewModel.windowTime;
-
- // the time needs to always be synchronized with the director
- if (director != null)
- m_Time = director.time;
-
- return m_Time;
- }
-
- void SetLocalTime(double newTime)
- {
- // do this prior to the calback, because the callback pulls from the get
- if (director != null)
- director.time = newTime;
-
- if (Math.Abs(m_Time - newTime) > TimeUtility.kTimeEpsilon)
- {
- m_Time = newTime;
- m_WindowState.InvokeTimeChangeCallback();
- }
- }
-
- Range GetGlobalEvaluableRange()
- {
- if (hostClip == null)
- return new Range
- {
- start = 0.0,
- end = duration
- };
-
- var currentRange = new Range
- {
- start = hostClip.ToLocalTimeUnbound(ToGlobalTime(hostClip.start)),
- end = hostClip.ToLocalTimeUnbound(ToGlobalTime(hostClip.end))
- };
-
- return Range.Intersection(currentRange, m_ParentSequence.GetGlobalEvaluableRange());
- }
-
- public void Dispose()
- {
- TimelineWindowViewPrefs.SaveViewModel(asset);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceState.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceState.cs.meta
deleted file mode 100644
index 8e8e6cc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/SequenceState.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 09f4db536a377bc40a9ac110af702bfa
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/WindowState.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/WindowState.cs
deleted file mode 100644
index 0ad374a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/WindowState.cs
+++ /dev/null
@@ -1,1131 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.Experimental.SceneManagement;
-using UnityEngine.Experimental.Animations;
-using UnityEditorInternal;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-using UnityEngine.Animations;
-
-namespace UnityEditor.Timeline
-{
- delegate bool PendingUpdateDelegate(WindowState state, Event currentEvent);
-
- class WindowState
- {
- const int k_TimeCodeTextFieldId = 3790;
-
- readonly TimelineWindow m_Window;
- bool m_Recording;
- readonly SpacePartitioner m_SpacePartitioner = new SpacePartitioner();
- readonly List<Manipulator> m_CaptureSession = new List<Manipulator>();
- int m_DirtyStamp;
- float m_SequencerHeaderWidth = WindowConstants.defaultHeaderWidth;
- float m_BindingAreaWidth = WindowConstants.defaultBindingAreaWidth;
-
- bool m_MustRebuildGraph;
-
- float m_LastTime;
-
- readonly PropertyCollector m_PropertyCollector = new PropertyCollector();
-
- static AnimationModeDriver s_PreviewDriver;
- List<Animator> m_PreviewedAnimators;
- List<IAnimationWindowPreview> m_PreviewedComponents;
-
- public static double kTimeEpsilon { get { return TimeUtility.kTimeEpsilon; } }
- public static readonly float kMaxShownTime = (float)TimeUtility.k_MaxTimelineDurationInSeconds;
-
- static readonly ISequenceState k_NullSequenceState = new NullSequenceState();
-
- // which tracks are armed for record - only one allowed per 'actor'
- Dictionary<TrackAsset, TrackAsset> m_ArmedTracks = new Dictionary<TrackAsset, TrackAsset>();
-
- TimelineWindow.TimelineWindowPreferences m_Preferences;
-
- List<PendingUpdateDelegate> m_OnStartFrameUpdates;
- List<PendingUpdateDelegate> m_OnEndFrameUpdates;
-
- readonly SequenceHierarchy m_SequenceHierarchy;
-
- public event Action<WindowState, Event> windowOnGuiStarted;
- public event Action<WindowState, Event> windowOnGuiFinished;
-
- public event Action<bool> OnPlayStateChange;
- public event Action OnDirtyStampChange;
- public event Action OnRebuildGraphChange;
- public event Action OnTimeChange;
- public event Action OnRecordingChange;
-
- public event Action OnBeforeSequenceChange;
- public event Action OnAfterSequenceChange;
-
- public WindowState(TimelineWindow w, SequenceHierarchy hierarchy)
- {
- m_Window = w;
- m_Preferences = w.preferences;
- hierarchy.Init(this);
- m_SequenceHierarchy = hierarchy;
- TimelinePlayable.muteAudioScrubbing = muteAudioScrubbing;
- }
-
- public static AnimationModeDriver previewDriver
- {
- get
- {
- if (s_PreviewDriver == null)
- s_PreviewDriver = ScriptableObject.CreateInstance<AnimationModeDriver>();
- return s_PreviewDriver;
- }
- }
-
- public EditorWindow editorWindow
- {
- get { return m_Window; }
- }
-
- public ISequenceState editSequence
- {
- get
- {
- // Using "null" ISequenceState to avoid checking against null all the time.
- // This *should* be removed in a phase 2 of refactoring, where we make sure
- // to pass around the correct state object instead of letting clients dig
- // into the WindowState for whatever they want.
- return m_SequenceHierarchy.editSequence ?? k_NullSequenceState;
- }
- }
-
- public ISequenceState masterSequence
- {
- get { return m_SequenceHierarchy.masterSequence ?? k_NullSequenceState; }
- }
-
- public ISequenceState referenceSequence
- {
- get { return timeReferenceMode == TimeReferenceMode.Local ? editSequence : masterSequence; }
- }
-
- public bool rebuildGraph
- {
- get { return m_MustRebuildGraph; }
- set { SyncNotifyValue(ref m_MustRebuildGraph, value, OnRebuildGraphChange); }
- }
-
- public float mouseDragLag { get; set; }
-
- public SpacePartitioner spacePartitioner
- {
- get { return m_SpacePartitioner; }
- }
-
- public List<Manipulator> captured
- {
- get { return m_CaptureSession; }
- }
-
- public void AddCaptured(Manipulator manipulator)
- {
- if (!m_CaptureSession.Contains(manipulator))
- m_CaptureSession.Add(manipulator);
- }
-
- public void RemoveCaptured(Manipulator manipulator)
- {
- m_CaptureSession.Remove(manipulator);
- }
-
- public bool isJogging { get; set; }
-
- public int viewStateHash { get; private set; }
-
- public float bindingAreaWidth
- {
- get { return m_BindingAreaWidth; }
- set { m_BindingAreaWidth = value; }
- }
-
- public float sequencerHeaderWidth
- {
- get { return m_SequencerHeaderWidth; }
- set
- {
- m_SequencerHeaderWidth = Mathf.Clamp(value, WindowConstants.minHeaderWidth, WindowConstants.maxHeaderWidth);
- }
- }
-
- public float mainAreaWidth { get; set; }
-
- public float trackScale
- {
- get { return editSequence.viewModel.trackScale; }
- set
- {
- editSequence.viewModel.trackScale = value;
- m_Window.treeView.CalculateRowRects();
- }
- }
-
- public int dirtyStamp
- {
- get { return m_DirtyStamp; }
- private set { SyncNotifyValue(ref m_DirtyStamp, value, OnDirtyStampChange); }
- }
-
- public bool showQuadTree { get; set; }
-
- public bool canRecord
- {
- get { return AnimationMode.InAnimationMode(previewDriver) || !AnimationMode.InAnimationMode(); }
- }
-
- public bool recording
- {
- get
- {
- if (!previewMode)
- m_Recording = false;
- return m_Recording;
- }
- // set can only be used to disable recording
- set
- {
- // force preview mode on
- if (value)
- previewMode = true;
-
- bool newValue = value;
- if (!previewMode)
- newValue = false;
-
- if (newValue && m_ArmedTracks.Count == 0)
- {
- Debug.LogError("Cannot enable recording without an armed track");
- newValue = false;
- }
-
- if (!newValue)
- m_ArmedTracks.Clear();
-
- if (newValue != m_Recording)
- {
- if (newValue)
- AnimationMode.StartAnimationRecording();
- else
- AnimationMode.StopAnimationRecording();
-
- InspectorWindow.RepaintAllInspectors();
- }
-
- SyncNotifyValue(ref m_Recording, newValue, OnRecordingChange);
- }
- }
-
- public bool previewMode
- {
- get { return Application.isPlaying || AnimationMode.InAnimationMode(previewDriver); }
- set
- {
- if (Application.isPlaying)
- return;
- bool inAnimationMode = AnimationMode.InAnimationMode(previewDriver);
- if (!value)
- {
- if (inAnimationMode)
- {
- Stop();
-
- OnStopPreview();
-
- AnimationMode.StopAnimationMode(previewDriver);
-
- AnimationPropertyContextualMenu.Instance.SetResponder(null);
- previewedDirectors = null;
- }
- }
- else if (!inAnimationMode)
- {
- editSequence.time = editSequence.viewModel.windowTime;
- EvaluateImmediate(); // does appropriate caching prior to enabling
- }
- }
- }
-
- public bool playing
- {
- get
- {
- return masterSequence.director != null && masterSequence.director.state == PlayState.Playing;
- }
- }
-
- public float playbackSpeed { get; set; }
-
- public bool frameSnap
- {
- get { return m_Preferences.frameSnap; }
- set { m_Preferences.frameSnap = value; }
- }
-
- public bool edgeSnaps
- {
- get { return m_Preferences.edgeSnaps; }
- set { m_Preferences.edgeSnaps = value; }
- }
-
- public bool muteAudioScrubbing
- {
- get { return m_Preferences.muteAudioScrub; }
- set
- {
- m_Preferences.muteAudioScrub = value;
- TimelinePlayable.muteAudioScrubbing = value;
- RebuildPlayableGraph();
- }
- }
-
- public bool playRangeLoopMode
- {
- get { return m_Preferences.playRangeLoopMode; }
- set { m_Preferences.playRangeLoopMode = value; }
- }
-
- public TimeReferenceMode timeReferenceMode
- {
- get { return m_Preferences.timeReferenceMode; }
- set { m_Preferences.timeReferenceMode = value; }
- }
-
- public bool timeInFrames
- {
- get { return editSequence.viewModel.timeInFrames; }
- set { editSequence.viewModel.timeInFrames = value; }
- }
-
- public bool showAudioWaveform
- {
- get { return editSequence.viewModel.showAudioWaveform; }
- set { editSequence.viewModel.showAudioWaveform = value; }
- }
-
- public Vector2 playRange
- {
- get { return masterSequence.viewModel.timeAreaPlayRange; }
- set { masterSequence.viewModel.timeAreaPlayRange = ValidatePlayRange(value); }
- }
-
- public bool showMarkerHeader
- {
- get { return editSequence.viewModel.showMarkerHeader; }
- set { editSequence.viewModel.showMarkerHeader = value; }
- }
-
- void UnSelectMarkerOnHeaderTrack()
- {
- //Where(m => editSequence.asset.markerTrack == m.parent)
- foreach (IMarker marker in SelectionManager.SelectedMarkers())
- {
- if (marker.parent == editSequence.asset.markerTrack)
- SelectionManager.Remove(marker);
- }
- }
-
- public EditMode.EditType editType
- {
- get { return m_Preferences.editType; }
- set { m_Preferences.editType = value; }
- }
-
- public PlaybackScrollMode autoScrollMode
- {
- get { return m_Preferences.autoScrollMode; }
- set { m_Preferences.autoScrollMode = value; }
- }
-
- public bool isClipSnapping { get; set; }
-
- public List<PlayableDirector> previewedDirectors { get; private set; }
-
- public void OnDestroy()
- {
- if (!Application.isPlaying)
- Stop();
-
- if (m_OnStartFrameUpdates != null)
- m_OnStartFrameUpdates.Clear();
-
- if (m_OnEndFrameUpdates != null)
- m_OnEndFrameUpdates.Clear();
-
- m_SequenceHierarchy.Clear();
- windowOnGuiStarted = null;
- windowOnGuiFinished = null;
- }
-
- public void OnSceneSaved()
- {
- // the director will reset it's time when the scene is saved.
- EnsureWindowTimeConsistency();
- }
-
- public void SetCurrentSequence(TimelineAsset timelineAsset, PlayableDirector director, TimelineClip hostClip)
- {
- if (OnBeforeSequenceChange != null)
- OnBeforeSequenceChange.Invoke();
-
- OnCurrentDirectorWillChange();
-
- if (hostClip == null || timelineAsset == null)
- {
- m_PropertyCollector.Clear();
- m_SequenceHierarchy.Clear();
- }
-
- if (timelineAsset != null)
- m_SequenceHierarchy.Add(timelineAsset, director, hostClip);
-
- if (OnAfterSequenceChange != null)
- OnAfterSequenceChange.Invoke();
- }
-
- public void PopSequencesUntilCount(int count)
- {
- if (count >= m_SequenceHierarchy.count) return;
- if (count < 1) return;
-
- if (OnBeforeSequenceChange != null)
- OnBeforeSequenceChange.Invoke();
-
- var nextDirector = m_SequenceHierarchy.GetStateAtIndex(count - 1).director;
- OnCurrentDirectorWillChange();
-
- m_SequenceHierarchy.RemoveUntilCount(count);
-
- EnsureWindowTimeConsistency();
-
- if (OnAfterSequenceChange != null)
- OnAfterSequenceChange.Invoke();
- }
-
- public SequencePath GetCurrentSequencePath()
- {
- return m_SequenceHierarchy.ToSequencePath();
- }
-
- public void SetCurrentSequencePath(SequencePath path, bool forceRebuild)
- {
- if (!m_SequenceHierarchy.NeedsUpdate(path, forceRebuild))
- return;
-
- if (OnBeforeSequenceChange != null)
- OnBeforeSequenceChange.Invoke();
-
- m_SequenceHierarchy.FromSequencePath(path, forceRebuild);
-
- if (OnAfterSequenceChange != null)
- OnAfterSequenceChange.Invoke();
- }
-
- public IEnumerable<ISequenceState> GetAllSequences()
- {
- return m_SequenceHierarchy.allSequences;
- }
-
- public double SnapToFrameIfRequired(double currentTime)
- {
- return frameSnap ? TimeReferenceUtility.SnapToFrame(currentTime) : currentTime;
- }
-
- public void Reset()
- {
- recording = false;
- previewMode = false;
- }
-
- public double GetSnappedTimeAtMousePosition(Vector2 mousePos)
- {
- return SnapToFrameIfRequired(ScreenSpacePixelToTimeAreaTime(mousePos.x));
- }
-
- static void SyncNotifyValue<T>(ref T oldValue, T newValue, Action changeStateCallback)
- {
- var stateChanged = false;
-
- if (oldValue == null)
- {
- oldValue = newValue;
- stateChanged = true;
- }
- else
- {
- if (!oldValue.Equals(newValue))
- {
- oldValue = newValue;
- stateChanged = true;
- }
- }
-
- if (stateChanged && changeStateCallback != null)
- {
- changeStateCallback.Invoke();
- }
- }
-
- public void SetTimeAreaTransform(Vector2 newTranslation, Vector2 newScale)
- {
- m_Window.timeArea.SetTransform(newTranslation, newScale);
- TimeAreaChanged();
- }
-
- public void SetTimeAreaShownRange(float min, float max)
- {
- m_Window.timeArea.SetShownHRange(min, max);
- TimeAreaChanged();
- }
-
- internal void TimeAreaChanged()
- {
- if (editSequence.asset != null)
- {
- Vector2 newShownRange = new Vector2(m_Window.timeArea.shownArea.x, m_Window.timeArea.shownArea.xMax);
- if (editSequence.viewModel.timeAreaShownRange != newShownRange)
- {
- editSequence.viewModel.timeAreaShownRange = newShownRange;
- if (!FileUtil.IsReadOnly(editSequence.asset))
- EditorUtility.SetDirty(editSequence.asset);
- }
- }
- }
-
- public void ResetPreviewMode()
- {
- var mode = previewMode;
- previewMode = false;
- previewMode = mode;
- }
-
- public bool TimeIsInRange(float value)
- {
- Rect shownArea = m_Window.timeArea.shownArea;
- return value >= shownArea.x && value <= shownArea.xMax;
- }
-
- public bool RangeIsVisible(Range range)
- {
- var shownArea = m_Window.timeArea.shownArea;
- return range.start < shownArea.xMax && range.end > shownArea.xMin;
- }
-
- public void EnsurePlayHeadIsVisible()
- {
- double minDisplayedTime = PixelToTime(timeAreaRect.xMin);
- double maxDisplayedTime = PixelToTime(timeAreaRect.xMax);
-
- double currentTime = editSequence.time;
- if (currentTime >= minDisplayedTime && currentTime <= maxDisplayedTime)
- return;
-
- float displayedTimeRange = (float)(maxDisplayedTime - minDisplayedTime);
- float minimumTimeToDisplay = (float)currentTime - displayedTimeRange / 2.0f;
- float maximumTimeToDisplay = (float)currentTime + displayedTimeRange / 2.0f;
- SetTimeAreaShownRange(minimumTimeToDisplay, maximumTimeToDisplay);
- }
-
- public void SetPlayHeadToMiddle()
- {
- double minDisplayedTime = PixelToTime(timeAreaRect.xMin);
- double maxDisplayedTime = PixelToTime(timeAreaRect.xMax);
-
- double currentTime = editSequence.time;
- float displayedTimeRange = (float)(maxDisplayedTime - minDisplayedTime);
-
- if (currentTime >= minDisplayedTime && currentTime <= maxDisplayedTime)
- {
- if (currentTime < minDisplayedTime + displayedTimeRange / 2)
- return;
- }
-
- const float kCatchUpSpeed = 3f;
- float realDelta = Mathf.Clamp(Time.realtimeSinceStartup - m_LastTime, 0f, 1f) * kCatchUpSpeed;
- float scrollCatchupAmount = kCatchUpSpeed * realDelta * displayedTimeRange / 2;
-
- if (currentTime < minDisplayedTime)
- {
- SetTimeAreaShownRange((float)currentTime, (float)currentTime + displayedTimeRange);
- }
- else if (currentTime > maxDisplayedTime)
- {
- SetTimeAreaShownRange((float)currentTime - displayedTimeRange + scrollCatchupAmount, (float)currentTime + scrollCatchupAmount);
- }
- else if (currentTime > minDisplayedTime + displayedTimeRange / 2)
- {
- float targetMinDisplayedTime = Mathf.Min((float)minDisplayedTime + scrollCatchupAmount,
- (float)(currentTime - displayedTimeRange / 2));
- SetTimeAreaShownRange(targetMinDisplayedTime, targetMinDisplayedTime + displayedTimeRange);
- }
- }
-
- internal void UpdateLastFrameTime()
- {
- m_LastTime = Time.realtimeSinceStartup;
- }
-
- public Vector2 timeAreaShownRange
- {
- get
- {
- if (m_Window.state.editSequence.asset != null)
- return editSequence.viewModel.timeAreaShownRange;
-
- return TimelineAssetViewModel.TimeAreaDefaultRange;
- }
- }
-
- public Vector2 timeAreaTranslation
- {
- get { return m_Window.timeArea.translation; }
- }
-
- public Vector2 timeAreaScale
- {
- get { return m_Window.timeArea.scale; }
- }
-
- public Rect timeAreaRect
- {
- get
- {
- var sequenceContentRect = m_Window.sequenceContentRect;
- return new Rect(
- sequenceContentRect.x,
- WindowConstants.timeAreaYPosition,
- Mathf.Max(sequenceContentRect.width, WindowConstants.timeAreaMinWidth),
- WindowConstants.timeAreaHeight
- );
- }
- }
-
- public float windowHeight
- {
- get { return m_Window.position.height; }
- }
-
- public bool playRangeEnabled
- {
- get { return !EditorApplication.isPlaying && masterSequence.viewModel.playRangeEnabled && !IsEditingASubTimeline(); }
- set
- {
- if (EditorApplication.isPlaying)
- return;
-
- masterSequence.viewModel.playRangeEnabled = value;
- }
- }
-
- public TimelineWindow GetWindow()
- {
- return m_Window;
- }
-
- public void Play()
- {
- if (masterSequence.director == null)
- return;
-
- if (!previewMode)
- previewMode = true;
-
- if (previewMode)
- {
- if (masterSequence.time > masterSequence.duration)
- masterSequence.time = 0;
-
- masterSequence.director.Play();
- masterSequence.director.ProcessPendingGraphChanges();
- PlayableDirector.ResetFrameTiming();
- InvokePlayStateChangeCallback(true);
- }
- }
-
- public void Pause()
- {
- if (masterSequence.director != null)
- {
- masterSequence.director.Pause();
- masterSequence.director.ProcessPendingGraphChanges();
- SynchronizeSequencesAfterPlayback();
- InvokePlayStateChangeCallback(false);
- }
- }
-
- public void SetPlaying(bool start)
- {
- if (start && !playing)
- {
- Play();
- }
-
- if (!start && playing)
- {
- Pause();
- }
- }
-
- public void Stop()
- {
- if (masterSequence.director != null)
- {
- masterSequence.director.Stop();
- masterSequence.director.ProcessPendingGraphChanges();
- InvokePlayStateChangeCallback(false);
- }
- }
-
- void InvokePlayStateChangeCallback(bool isPlaying)
- {
- if (OnPlayStateChange != null)
- OnPlayStateChange.Invoke(isPlaying);
- }
-
- public void RebuildPlayableGraph()
- {
- if (masterSequence.director != null)
- {
- masterSequence.director.RebuildGraph();
- // rebuild both the parent and the edit sequences. control tracks don't necessary
- // rebuild the subdirector on recreation
- if (editSequence.director != null && editSequence.director != masterSequence.director)
- {
- editSequence.director.RebuildGraph();
- }
- }
- }
-
- public void Evaluate()
- {
- if (masterSequence.director != null)
- {
- if (!EditorApplication.isPlaying && !previewMode)
- GatherProperties(masterSequence.director);
-
- ForceTimeOnDirector(masterSequence.director);
- masterSequence.director.DeferredEvaluate();
-
- if (EditorApplication.isPlaying == false)
- {
- PlayModeView.RepaintAll();
- SceneView.RepaintAll();
- AudioMixerWindow.RepaintAudioMixerWindow();
- }
- }
- }
-
- public void EvaluateImmediate()
- {
- if (masterSequence.director != null)
- {
- if (!EditorApplication.isPlaying && !previewMode)
- GatherProperties(masterSequence.director);
-
- if (previewMode)
- {
- ForceTimeOnDirector(masterSequence.director);
- masterSequence.director.ProcessPendingGraphChanges();
- masterSequence.director.Evaluate();
- }
- }
- }
-
- public void Refresh()
- {
- CheckRecordingState();
- dirtyStamp = dirtyStamp + 1;
-
- rebuildGraph = true;
- }
-
- public void UpdateViewStateHash()
- {
- viewStateHash = timeAreaTranslation.GetHashCode()
- .CombineHash(timeAreaScale.GetHashCode())
- .CombineHash(trackScale.GetHashCode());
- }
-
- public bool IsEditingASubItem()
- {
- return IsCurrentEditingASequencerTextField() || !SelectionManager.IsCurveEditorFocused(null);
- }
-
- public bool IsEditingASubTimeline()
- {
- return editSequence != masterSequence;
- }
-
- public bool IsEditingAnEmptyTimeline()
- {
- return editSequence.asset == null;
- }
-
- public bool IsEditingAPrefabAsset()
- {
- var stage = PrefabStageUtility.GetCurrentPrefabStage();
- return stage != null && editSequence.director != null && stage.IsPartOfPrefabContents(editSequence.director.gameObject);
- }
-
- public bool IsCurrentEditingASequencerTextField()
- {
- if (editSequence.asset == null)
- return false;
-
- if (k_TimeCodeTextFieldId == GUIUtility.keyboardControl)
- return true;
-
- return editSequence.asset.flattenedTracks.Count(t => t.GetInstanceID() == GUIUtility.keyboardControl) != 0;
- }
-
- public float TimeToTimeAreaPixel(double t) // TimeToTimeAreaPixel
- {
- float pixelX = (float)t;
- pixelX *= timeAreaScale.x;
- pixelX += timeAreaTranslation.x + sequencerHeaderWidth;
- return pixelX;
- }
-
- public float TimeToScreenSpacePixel(double time)
- {
- float pixelX = (float)time;
- pixelX *= timeAreaScale.x;
- pixelX += timeAreaTranslation.x;
- return pixelX;
- }
-
- public float TimeToPixel(double time)
- {
- return m_Window.timeArea.TimeToPixel((float)time, timeAreaRect);
- }
-
- public float PixelToTime(float pixel)
- {
- return m_Window.timeArea.PixelToTime(pixel, timeAreaRect);
- }
-
- public float PixelDeltaToDeltaTime(float p)
- {
- return PixelToTime(p) - PixelToTime(0);
- }
-
- public float TimeAreaPixelToTime(float pixel)
- {
- return PixelToTime(pixel);
- }
-
- public float ScreenSpacePixelToTimeAreaTime(float p)
- {
- // transform into track space by offsetting the pixel by the screen-space offset of the time area
- p -= timeAreaRect.x;
- return TrackSpacePixelToTimeAreaTime(p);
- }
-
- public float TrackSpacePixelToTimeAreaTime(float p)
- {
- p -= timeAreaTranslation.x;
-
- if (timeAreaScale.x > 0.0f)
- return p / timeAreaScale.x;
-
- return p;
- }
-
- public void OffsetTimeArea(int pixels)
- {
- Vector3 tx = timeAreaTranslation;
- tx.x += pixels;
- SetTimeAreaTransform(tx, timeAreaScale);
- }
-
- public GameObject GetSceneReference(TrackAsset asset)
- {
- if (editSequence.director == null)
- return null; // no player bound
-
- return TimelineUtility.GetSceneGameObject(editSequence.director, asset);
- }
-
- public void CalculateRowRects()
- {
- // arming a track might add inline curve tracks, recalc track heights
- if (m_Window != null && m_Window.treeView != null)
- m_Window.treeView.CalculateRowRects();
- }
-
- // Only one track within a 'track' hierarchy can be armed
- public void ArmForRecord(TrackAsset track)
- {
- m_ArmedTracks[TimelineUtility.GetSceneReferenceTrack(track)] = track;
- if (track != null && !recording)
- recording = true;
- if (!recording)
- return;
-
- track.OnRecordingArmed(editSequence.director);
- CalculateRowRects();
- }
-
- public void UnarmForRecord(TrackAsset track)
- {
- m_ArmedTracks.Remove(TimelineUtility.GetSceneReferenceTrack(track));
- if (m_ArmedTracks.Count == 0)
- recording = false;
- track.OnRecordingUnarmed(editSequence.director);
- }
-
- public void UpdateRecordingState()
- {
- if (recording)
- {
- foreach (var track in m_ArmedTracks.Values)
- {
- if (track != null)
- track.OnRecordingTimeChanged(editSequence.director);
- }
- }
- }
-
- public bool IsTrackRecordable(TrackAsset track)
- {
- // A track with animated parameters can always be recorded to
- return IsArmedForRecord(track) || track.HasAnyAnimatableParameters();
- }
-
- public bool IsArmedForRecord(TrackAsset track)
- {
- return track == GetArmedTrack(track);
- }
-
- public TrackAsset GetArmedTrack(TrackAsset track)
- {
- TrackAsset outTrack;
- m_ArmedTracks.TryGetValue(TimelineUtility.GetSceneReferenceTrack(track), out outTrack);
- return outTrack;
- }
-
- void CheckRecordingState()
- {
- // checks for deleted tracks, and makes sure the recording state matches
- if (m_ArmedTracks.Any(t => t.Value == null))
- {
- m_ArmedTracks = m_ArmedTracks.Where(t => t.Value != null).ToDictionary(t => t.Key, t => t.Value);
- if (m_ArmedTracks.Count == 0)
- recording = false;
- }
- }
-
- void OnCurrentDirectorWillChange()
- {
- SynchronizeViewModelTime(editSequence);
-
- if (!Application.isPlaying)
- Stop();
-
- rebuildGraph = true; // needed for asset previews
- }
-
- public void GatherProperties(PlayableDirector director)
- {
- if (director == null || Application.isPlaying)
- return;
-
- var asset = director.playableAsset as TimelineAsset;
-
- if (!previewMode)
- {
- AnimationMode.StartAnimationMode(previewDriver);
-
- OnStartPreview(director);
-
- AnimationPropertyContextualMenu.Instance.SetResponder(new TimelineRecordingContextualResponder(this));
- if (!previewMode)
- return;
- EnsureWindowTimeConsistency();
- }
-
- if (asset != null)
- {
- m_PropertyCollector.Reset();
- m_PropertyCollector.PushActiveGameObject(null); // avoid overflow on unbound tracks
- asset.GatherProperties(director, m_PropertyCollector);
- }
- }
-
- void OnStartPreview(PlayableDirector director)
- {
- previewedDirectors = TimelineUtility.GetAllDirectorsInHierarchy(director).ToList();
-
- if (previewedDirectors == null)
- return;
-
- m_PreviewedAnimators = TimelineUtility.GetBindingsFromDirectors<Animator>(previewedDirectors).ToList();
-
- m_PreviewedComponents = new List<IAnimationWindowPreview>();
- foreach (var animator in m_PreviewedAnimators)
- {
- m_PreviewedComponents.AddRange(animator.GetComponents<IAnimationWindowPreview>());
- }
- foreach (var previewedComponent in m_PreviewedComponents)
- {
- previewedComponent.StartPreview();
- }
- }
-
- void OnStopPreview()
- {
- if (m_PreviewedComponents != null)
- {
- foreach (var previewComponent in m_PreviewedComponents)
- {
- if (previewComponent != null)
- {
- previewComponent.StopPreview();
- }
- }
- m_PreviewedComponents = null;
- }
-
- if (m_PreviewedAnimators != null)
- {
- foreach (var previewAnimator in m_PreviewedAnimators)
- {
- if (previewAnimator != null)
- {
- previewAnimator.UnbindAllHandles();
- }
- }
- m_PreviewedAnimators = null;
- }
- }
-
- internal void ProcessStartFramePendingUpdates()
- {
- if (m_OnStartFrameUpdates != null)
- m_OnStartFrameUpdates.RemoveAll(callback => callback.Invoke(this, Event.current));
- }
-
- internal void ProcessEndFramePendingUpdates()
- {
- if (m_OnEndFrameUpdates != null)
- m_OnEndFrameUpdates.RemoveAll(callback => callback.Invoke(this, Event.current));
- }
-
- public void AddStartFrameDelegate(PendingUpdateDelegate updateDelegate)
- {
- if (m_OnStartFrameUpdates == null)
- m_OnStartFrameUpdates = new List<PendingUpdateDelegate>();
- if (m_OnStartFrameUpdates.Contains(updateDelegate))
- return;
- m_OnStartFrameUpdates.Add(updateDelegate);
- }
-
- public void AddEndFrameDelegate(PendingUpdateDelegate updateDelegate)
- {
- if (m_OnEndFrameUpdates == null)
- m_OnEndFrameUpdates = new List<PendingUpdateDelegate>();
- if (m_OnEndFrameUpdates.Contains(updateDelegate))
- return;
- m_OnEndFrameUpdates.Add(updateDelegate);
- }
-
- internal void InvokeWindowOnGuiStarted(Event evt)
- {
- if (windowOnGuiStarted != null)
- windowOnGuiStarted.Invoke(this, evt);
- }
-
- internal void InvokeWindowOnGuiFinished(Event evt)
- {
- if (windowOnGuiFinished != null)
- windowOnGuiFinished.Invoke(this, evt);
- }
-
- public void UpdateRootPlayableDuration(double duration)
- {
- if (editSequence.director != null)
- {
- if (editSequence.director.playableGraph.IsValid())
- {
- if (editSequence.director.playableGraph.GetRootPlayableCount() > 0)
- {
- var rootPlayable = editSequence.director.playableGraph.GetRootPlayable(0);
- if (rootPlayable.IsValid())
- rootPlayable.SetDuration(duration);
- }
- }
- }
- }
-
- public void InvokeTimeChangeCallback()
- {
- if (OnTimeChange != null)
- OnTimeChange.Invoke();
- }
-
- Vector2 ValidatePlayRange(Vector2 range)
- {
- if (range == TimelineAssetViewModel.NoPlayRangeSet)
- return range;
-
- float minimumPlayRangeTime = 0.01f / Mathf.Max(1.0f, referenceSequence.frameRate);
-
- // Validate min
- if (range.y - range.x < minimumPlayRangeTime)
- range.x = range.y - minimumPlayRangeTime;
-
- if (range.x < 0.0f)
- range.x = 0.0f;
-
- // Validate max
- if (range.y > editSequence.duration)
- range.y = (float)editSequence.duration;
-
- if (range.y - range.x < minimumPlayRangeTime)
- range.y = Mathf.Min(range.x + minimumPlayRangeTime, (float)editSequence.duration);
-
- return range;
- }
-
- void EnsureWindowTimeConsistency()
- {
- if (Application.isPlaying || masterSequence.director == null || masterSequence.viewModel == null)
- return;
-
- masterSequence.time = masterSequence.viewModel.windowTime;
- }
-
- void SynchronizeSequencesAfterPlayback()
- {
- // Synchronizing editSequence will synchronize all view models up to the master
- SynchronizeViewModelTime(editSequence);
- }
-
- static void SynchronizeViewModelTime(ISequenceState state)
- {
- if (state.director == null || state.viewModel == null)
- return;
-
- var t = state.time;
- state.time = t;
- }
-
- // because we may be evaluating outside the duration of the root playable
- // we explicitly set the time - this causes the graph to not 'advance' the time
- // because advancing it can force it to change due to wrapping to the duration
- // This can happen if the graph is force evaluated outside it's duration
- // case 910114, 936844 and 943377
- static void ForceTimeOnDirector(PlayableDirector director)
- {
- var directorTime = director.time;
- director.time = directorTime;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/WindowState.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/WindowState.cs.meta
deleted file mode 100644
index 37183a9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/State/WindowState.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: df8df80bb65e9ec4280229a9921c4f3c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets.meta
deleted file mode 100644
index 17fb152..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: ece36bb2bc4128d42911bbc757a56860
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions.meta
deleted file mode 100644
index 0082666..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: fa68ac03b8845a142974ec6497cb4acc
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/common.uss b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/common.uss
deleted file mode 100644
index dd302f4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/common.uss
+++ /dev/null
@@ -1,1153 +0,0 @@
-.Color-Selected {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 20;
-
- /* GUIStyle.fixedWidth */
- width: 6;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.name */
- -unity-name: "Color.Selected";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.textColor */
- color: rgb(12, 180, 204);
-}
-
-/* GUIStyle.active */
-.Color-Selected:hover:active {
- /* GUIState.textColor */
- color: rgb(12, 180, 204);
-}
-
-/* GUIStyle.focused */
-.Color-Selected:focus {
- /* GUIState.textColor */
- color: rgb(255, 255, 255);
-}
-
-.Font-Clip {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size-small;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.name */
- -unity-name: "Font.Clip";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.groupBackground {
-
- -unity-slice-left: 5;
- -unity-slice-top: 5;
- -unity-slice-bottom: 5;
-
- -unity-clipping: clip;
- -unity-image-position: text-only;
-
- padding-top: 2;
- padding-bottom: 2;
-
- -unity-stretch-height: true;
- color: rgb(115, 151, 236);
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Shared/TimelineGroupBackground.png");
-}
-
-/* GUIStyle.active */
-.groupBackground:hover:active {
- /* GUIState.textColor */
- color: rgb(137, 196, 255);
-}
-
-.Icon-Activation {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.fixedHeight */
- height: 15;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Activation";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.textColor */
- color: rgba(0, 0, 0, 0.75);
-}
-
-.Icon-AutoKey {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.fixedHeight */
- height: 15;
-
- /* GUIStyle.fixedWidth */
- width: 15;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.AutoKey";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-AvatarMaskOff {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.fixedHeight */
- height: 15;
-
- /* GUIStyle.fixedWidth */
- width: 15;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.AvatarMaskOff";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-AvatarMaskOn {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.fixedHeight */
- height: 15;
-
- /* GUIStyle.fixedWidth */
- width: 15;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.AvatarMaskOn";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-ClipIn {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 8;
-
- /* GUIStyle.fixedWidth */
- width: 4;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.ClipIn";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-ClipOut {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 8;
-
- /* GUIStyle.fixedWidth */
- width: 4;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.ClipOut";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-Connector {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 5;
-
- /* GUIStyle.fixedWidth */
- width: 7;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Connector";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Shared/TimelineConnector.png");
-}
-
-.Icon-Curves {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 15;
-
- /* GUIStyle.fixedWidth */
- width: 15;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Curves";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-Endmarker {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.fixedHeight */
- height: 14;
-
- /* GUIStyle.fixedWidth */
- width: 5;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.margin */
- margin-left: 4;
- margin-right: 4;
- margin-top: 4;
- margin-bottom: 4;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Endmarker";
-
- /* GUIStyle.padding */
- padding-left: 4;
- padding-right: 4;
- padding-top: 4;
- padding-bottom: 4;
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Shared/TimelineSeqEnd.png");
-}
-
-.MarkerItem {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.fixedHeight */
- height: 16;
-
- /* GUIStyle.fixedWidth */
- width: 9;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
-}
-
-.SignalEmitter {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.fixedHeight */
- height: 16;
-
- /* GUIStyle.fixedWidth */
- width: 9;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-}
-
-.TrackCollapseMarkerButton {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.fixedHeight */
- height: 16;
-
- /* GUIStyle.fixedWidth */
- width: 16;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-}
-
-.MarkerMultiOverlay {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.fixedHeight */
- height: 16;
-
- /* GUIStyle.fixedWidth */
- width: 9;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Shared/Timeline-Marker-Multi-Overlay.png");
-}
-
-.Icon-ExtrapolationContinue {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 11;
-
- /* GUIStyle.fixedWidth */
- width: 14;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.ExtrapolationContinue";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-ExtrapolationHold {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 11;
-
- /* GUIStyle.fixedWidth */
- width: 14;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.ExtrapolationHold";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-ExtrapolationLoop {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 11;
-
- /* GUIStyle.fixedWidth */
- width: 14;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.ExtrapolationLoop";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-ExtrapolationPingPong {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 11;
-
- /* GUIStyle.fixedWidth */
- width: 14;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.ExtrapolationPingPong";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-Foldout {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.fixedWidth */
- width: 13;
-
- /* GUIStyle.fixedWidth */
- height: 13;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Foldout";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-InfiniteTrack {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
- -unity-slice-top: 5;
- -unity-slice-bottom: 5;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-above;
-
- /* GUIStyle.name */
- -unity-name: "Icon.InfiniteTrack";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIStyle.wordWrap */
- -unity-word-wrap: true;
-}
-
-/* GUIStyle.active */
-.Icon-InfiniteTrack:hover:active {
- /* GUIState.textColor */
- color: rgba(0, 0, 0, 0.96);
-}
-
-.Icon-Keyframe {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 8;
-
- /* GUIStyle.fixedWidth */
- width: 9;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Keyframe";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-Locked {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.fixedHeight */
- height: 16;
-
- /* GUIStyle.fixedWidth */
- width: 16;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Locked";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-LockedBG {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.LockedBG";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.textColor */
- color: rgb(37, 45, 50);
-}
-
-.Icon-Mute {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.fixedHeight */
- height: 16;
-
- /* GUIStyle.fixedWidth */
- width: 16;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Mute";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-Options {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 14;
-
- /* GUIStyle.fixedWidth */
- width: 14;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.margin */
- margin-left: 10;
- margin-right: 5;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Options";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.textColor */
- color: rgb(37, 45, 50);
-}
-
-.Icon-OutlineBorder {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.border */
- -unity-slice-left: 5;
- -unity-slice-right: 5;
- -unity-slice-top: 5;
- -unity-slice-bottom: 5;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-above;
-
- /* GUIStyle.name */
- -unity-name: "Icon.OutlineBorder";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIStyle.wordWrap */
- -unity-word-wrap: true;
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Shared/TimelineOutline.png");
-}
-
-/* GUIStyle.active */
-.Icon-OutlineBorder:hover:active {
- /* GUIState.textColor */
- color: rgba(0, 0, 0, 0.96);
-}
-
-.Icon-PlayAreaEnd {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 20;
-
- /* GUIStyle.fixedWidth */
- width: 6;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.PlayAreaEnd";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-PlayAreaStart {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 20;
-
- /* GUIStyle.fixedWidth */
- width: 6;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.PlayAreaStart";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-Playrange {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 25;
-
- /* GUIStyle.fixedWidth */
- width: 6;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Playrange";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.Icon-Shadow {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Shadow";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Shared/TimelineBottomShadow.png");
-}
-
-.Icon-TimeCursor {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.fixedHeight */
- height: 20;
-
- /* GUIStyle.fixedWidth */
- width: 11;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.margin */
- margin-left: 4;
- margin-right: 4;
- margin-top: 4;
- margin-bottom: 4;
-
- /* GUIStyle.name */
- -unity-name: "Icon.TimeCursor";
-
- /* GUIStyle.padding */
- padding-left: 4;
- padding-right: 4;
- padding-top: 4;
- padding-bottom: 4;
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.textColor */
- color: rgb(255, 255, 255);
-}
-
-.Icon-TrackHeaderSwatch {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
- -unity-slice-top: 4;
- -unity-slice-bottom: 4;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedWidth */
- width: 4;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.TrackHeaderSwatch";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Shared/TimelineSwatch.png");
-}
-
-/* GUIStyle.active */
-.Icon-TrackHeaderSwatch:hover:active {
- /* GUIState.textColor */
- color: rgb(137, 196, 255);
-}
-
-.Icon-TrackOptions {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fixedHeight */
- height: 16;
-
- /* GUIStyle.fixedWidth */
- width: 16;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.name */
- -unity-name: "Icon.TrackOptions";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIStyle.wordWrap */
- -unity-word-wrap: true;
-}
-
-/* GUIStyle.active */
-.Icon-TrackOptions:hover:active {
- /* GUIState.textColor */
- color: rgba(0, 0, 0, 0.96);
-}
-
-.Icon-Warning {
- /* GUIStyle.alignment */
- -unity-text-align: middle-center;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fontSize */
- font-size: 72;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIStyle.name */
- -unity-name: "Icon.Warning";
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Shared/TimelineWarning.png");
-}
-
-.sequenceClip {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.border */
- -unity-slice-left: 5;
- -unity-slice-right: 5;
- -unity-slice-top: 5;
- -unity-slice-bottom: 5;
-
- /* GUIStyle.clipping */
- -unity-clipping: clip;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size-tiny;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- padding-top: 2;
- padding-bottom: 2;
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchHeight */
- -unity-stretch-height: true;
-
- /* GUIState.textColor */
- color: rgb(115, 151, 236);
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Shared/TimelineDisplay.png");
-}
-
-/* GUIStyle.active */
-.sequenceClip:hover:active {
- /* GUIState.textColor */
- color: rgb(137, 196, 255);
-}
-
-.sequenceGroupFont {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-}
-
-.sequenceTrackHeaderFont {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.padding */
- padding-left: 5;
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.textColor */
- color: rgb(153, 153, 153);
-}
-
-.tinyFont {
- /* GUIStyle.alignment */
- -unity-text-align: middle-left;
-
- /* GUIStyle.fontSize */
- font-size: --unity-font-size-tiny;
-
- /* GUIStyle.imagePosition */
- -unity-image-position: text-only;
-
- /* GUIStyle.richText */
- -unity-rich-text: false;
-
- /* GUIStyle.stretchWidth */
- -unity-stretch-width: false;
-
- /* GUIState.textColor */
- color: rgba(255, 255, 255, 0.75);
-}
-
-.editModeBtn {
- padding-left: 8px;
- padding-right: 8px;
- padding-top: 4px;
- padding-bottom: 3px;
- -unity-extend: ".ToolbarPopup";
- background-image: resource("");
-}
-
-.showMarkerBtn{
- margin: 0px 0px 6px 6px;
- padding-left: 12px;
- padding-right: 12px;
- padding-top: 4px;
- padding-bottom: 3px;
- -unity-extend: ".ToolbarPopup";
- background-image: resource("");
-}
-
-.sequenceSwitcher{
- margin: 0px 5px 0px 0px;
- padding-left: 0px;
- padding-right: 0px;
- padding-top: 0px;
- padding-bottom: 0px;
- -unity-extend: ".ToolbarPopup";
- background-image: resource("");
- -unity-text-align: middle-center;
-}
-
-.markerWarningOverlay{
- height: 13px;
- width: 14px;
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Icons/Timeline-Marker-Warning-Overlay.png");
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/common.uss.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/common.uss.meta
deleted file mode 100644
index 5f90bc8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/common.uss.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ada555936059fa149bb48537842ee230
-ScriptedImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 2
- userData:
- assetBundleName:
- assetBundleVariant:
- script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
- disableValidation: 1
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/dark.uss b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/dark.uss
deleted file mode 100644
index cf11991..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/dark.uss
+++ /dev/null
@@ -1,286 +0,0 @@
-.Font-Clip {
- /* GUIState.textColor */
- color: rgb(255, 255, 255);
-}
-
-.Icon-Activation {
- /* GUIStyle.fixedWidth */
- width: 12;
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineActivation.png");
-}
-
-.Icon-AutoKey {
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey@2x.png");
-}
-
-.Icon-AutoKey:active {
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active@2x.png");
-}
-
-.Icon-AvatarMaskOff {
- /* GUIState.background */
- background-image: resource("Builtin Skins/DarkSkin/Images/AvatarMaskDisabled.png");
-}
-
-.Icon-AvatarMaskOn {
- /* GUIState.background */
- background-image: resource("Builtin Skins/DarkSkin/Images/AvatarMaskEnabled.png");
-}
-
-.Icon-ClipIn {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipIn.png");
-}
-
-.Icon-ClipOut {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipOut.png");
-}
-
-.Icon-ClipSelected {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineClipGradientSelected.png");
-}
-
-.Icon-Curves {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOff.png");
-}
-
-/* GUIStyle.active */
-.Icon-Curves:hover:active {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOn.png");
-}
-
-/* GUIStyle.onActive */
-.Icon-Curves:hover:active:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOn.png");
-}
-
-/* GUIStyle.onNormal */
-.Icon-Curves:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOn.png");
-}
-
-.Icon-Endmarker {
- /* GUIState.textColor */
- color: rgb(61, 94, 152);
-}
-
-.MarkerItem {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemCollapsed.png");
-}
-
-.MarkerItem:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItem.png");
-}
-
-.MarkerItem:hover:focus:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemSelected.png");
-}
-
-.SignalEmitter {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineSignalCollapsed.png");
-}
-
-.SignalEmitter:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Icons/d_TimelineSignal.png");
-}
-
-.SignalEmitter:hover:focus:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineSignalSelected.png");
-}
-
-.TrackCollapseMarkerButton {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonDisabled.png");
-}
-
-.TrackCollapseMarkerButton:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonEnabled.png");
-}
-
-.Icon-ExtrapolationContinue {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineContinue.png");
-
- /* GUIStyle.contentOffset */
- -unity-content-offset: -5 0;
-}
-
-.Icon-ExtrapolationHold {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineHold.png");
-}
-
-.Icon-ExtrapolationLoop {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLoop.png");
-}
-
-.Icon-ExtrapolationPingPong {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelinePingPong.png");
-}
-
-.Icon-Foldout {
- /* GUIState.background */
- background-image: resource("Builtin Skins/DarkSkin/Images/IN foldout.png");
-
- /* GUIState.scaledBackgrounds */
- -unity-scaled-backgrounds: resource("Builtin Skins/DarkSkin/Images/IN foldout@2x.png");
-}
-
-/* GUIStyle.active */
-.Icon-Foldout:hover:active {
- /* GUIState.background */
- background-image: resource("Builtin Skins/DarkSkin/Images/IN foldout on.png");
-
- /* GUIState.scaledBackgrounds */
- -unity-scaled-backgrounds: resource("Builtin Skins/DarkSkin/Images/IN foldout on@2x.png");
-}
-
-/* GUIStyle.onActive */
-.Icon-Foldout:hover:active:checked {
- /* GUIState.background */
- background-image: resource("Builtin Skins/DarkSkin/Images/IN foldout on.png");
-
- /* GUIState.scaledBackgrounds */
- -unity-scaled-backgrounds: resource("Builtin Skins/DarkSkin/Images/IN foldout on@2x.png");
-}
-
-/* GUIStyle.onNormal */
-.Icon-Foldout:checked {
- /* GUIState.background */
- background-image: resource("Builtin Skins/DarkSkin/Images/IN foldout on.png");
-
- /* GUIState.scaledBackgrounds */
- -unity-scaled-backgrounds: resource("Builtin Skins/DarkSkin/Images/IN foldout on@2x.png");
-}
-
-.Icon-InfiniteTrack {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineInfiniteTrackNoShadow.png");
-}
-
-.Icon-Keyframe {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineKeyframe.png");
-}
-
-.Icon-Locked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png");
-}
-
-/* GUIStyle.active */
-.Icon-Locked:hover:active {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png");
-}
-
-/* GUIStyle.focused */
-.Icon-Locked:focus {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png");
-}
-
-/* GUIStyle.hover */
-.Icon-Locked:hover {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png");
-}
-
-/* GUIStyle.onActive */
-.Icon-Locked:hover:active:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png");
-}
-
-/* GUIStyle.onNormal */
-.Icon-Locked:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png");
-}
-
-.Icon-LockedBG {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineDisabledBackground.png");
-}
-
-.Icon-Mute {
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineEye.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineEye@2x.png");
-}
-
-.Icon-Options {
- /* GUIState.background */
- background-image: resource("Icons/d__Popup.png");
-}
-
-.Icon-PlayAreaEnd {
- /* GUIState.textColor */
- color: rgb(187, 189, 191);
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineEndPlayback.png");
-}
-
-.Icon-PlayAreaStart {
- /* GUIState.textColor */
- color: rgb(187, 189, 191);
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineStartPlayback.png");
-}
-
-.Icon-Playrange {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelinePlayRange.png");
-}
-
-.Icon-TimeCursor {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/DarkSkin/TimelineTimeCursor.png");
-}
-
-.Icon-TrackOptions {
- /* GUIStyle.imagePosition */
- -unity-image-position: image-only;
-
- /* GUIState.background */
- background-image: resource("Builtin Skins/DarkSkin/Images/pane options.png");
-
- /* GUIState.scaledBackgrounds */
- -unity-scaled-backgrounds: resource("Builtin Skins/DarkSkin/Images/pane options@2x.png");
-}
-
-.sequenceGroupFont {
- /* GUIState.textColor */
- color: rgb(204, 204, 204);
-}
-
-
-.sequenceSwitcher{
- background-color: rgb(51, 51, 51);
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/dark.uss.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/dark.uss.meta
deleted file mode 100644
index a6c0372..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/dark.uss.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5393cdb70614ab24f94f78bfcf5d1455
-ScriptedImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 2
- userData:
- assetBundleName:
- assetBundleVariant:
- script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
- disableValidation: 1
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/light.uss b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/light.uss
deleted file mode 100644
index f809be7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/light.uss
+++ /dev/null
@@ -1,282 +0,0 @@
-.Icon-Activation {
- /* GUIStyle.fixedWidth */
- width: 10;
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineActivation.png");
-}
-
-.Icon-AutoKey {
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineAutokey.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineAutokey@2x.png");
-}
-
-.Icon-AutoKey:active {
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active@2x.png");
-}
-
-.Icon-AvatarMaskOff {
- /* GUIState.background */
- background-image: resource("Builtin Skins/LightSkin/Images/AvatarMaskDisabled.png");
-}
-
-.Icon-AvatarMaskOn {
- /* GUIState.background */
- background-image: resource("Builtin Skins/LightSkin/Images/AvatarMaskEnabled.png");
-}
-
-.Icon-ClipIn {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineIconClipIn.png");
-}
-
-.Icon-ClipOut {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineIconClipOut.png");
-}
-
-.Icon-ClipSelected {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineClipGradientSelected.png");
-}
-
-.Icon-Curves {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOff.png");
-}
-
-/* GUIStyle.active */
-.Icon-Curves:hover:active {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOn.png");
-}
-
-/* GUIStyle.onActive */
-.Icon-Curves:hover:active:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOn.png");
-}
-
-/* GUIStyle.onNormal */
-.Icon-Curves:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOn.png");
-}
-
-.Icon-Endmarker {
- /* GUIState.textColor */
- color: rgb(57, 122, 234);
-}
-
-.MarkerItem {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemCollapsed.png");
-}
-
-.MarkerItem:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItem.png");
-}
-
-.MarkerItem:hover:focus:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemSelected.png");
-}
-
-.SignalEmitter {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineSignalCollapsed.png");
-}
-
-.SignalEmitter:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/Icons/TimelineSignal.png");
-}
-
-.SignalEmitter:hover:focus:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineSignalSelected.png");
-}
-
-.TrackCollapseMarkerButton {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonDisabled.png");
-}
-
-.TrackCollapseMarkerButton:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonEnabled.png");
-}
-
-.Icon-ExtrapolationContinue {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineContinue.png");
-}
-
-.Icon-ExtrapolationHold {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineHold.png");
-}
-
-.Icon-ExtrapolationLoop {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLoop.png");
-}
-
-.Icon-ExtrapolationPingPong {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelinePingPong.png");
-}
-
-.Icon-Foldout {
- /* GUIState.background */
- background-image: resource("Builtin Skins/LightSkin/Images/IN foldout.png");
-
- /* GUIState.scaledBackgrounds */
- -unity-scaled-backgrounds: resource("Builtin Skins/LightSkin/Images/IN foldout@2x.png");
-}
-
-/* GUIStyle.active */
-.Icon-Foldout:hover:active {
- /* GUIState.background */
- background-image: resource("Builtin Skins/LightSkin/Images/IN foldout on.png");
-
- /* GUIState.scaledBackgrounds */
- -unity-scaled-backgrounds: resource("Builtin Skins/LightSkin/Images/IN foldout on@2x.png");
-}
-
-/* GUIStyle.onActive */
-.Icon-Foldout:hover:active:checked {
- /* GUIState.background */
- background-image: resource("Builtin Skins/LightSkin/Images/IN foldout on.png");
-
- /* GUIState.scaledBackgrounds */
- -unity-scaled-backgrounds: resource("Builtin Skins/LightSkin/Images/IN foldout on@2x.png");
-}
-
-/* GUIStyle.onNormal */
-.Icon-Foldout:checked {
- /* GUIState.background */
- background-image: resource("Builtin Skins/LightSkin/Images/IN foldout on.png");
-
- /* GUIState.scaledBackgrounds */
- -unity-scaled-backgrounds: resource("Builtin Skins/LightSkin/Images/IN foldout on@2x.png");
-}
-
-.Icon-InfiniteTrack {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineInfiniteTrackNoShadow.png");
-}
-
-.Icon-Keyframe {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineKeyframe.png");
-}
-
-.Icon-Locked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png");
-}
-
-/* GUIStyle.active */
-.Icon-Locked:hover:active {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png");
-}
-
-/* GUIStyle.focused */
-.Icon-Locked:focus {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png");
-}
-
-/* GUIStyle.hover */
-.Icon-Locked:hover {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png");
-}
-
-/* GUIStyle.onActive */
-.Icon-Locked:hover:active:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png");
-}
-
-/* GUIStyle.onNormal */
-.Icon-Locked:checked {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png");
-}
-
-.Icon-LockedBG {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineDisabledBackground.png");
-}
-
-.Icon-Mute {
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineEye.png");
- -unity-scaled-backgrounds: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineEye@2x.png");
-}
-
-.Icon-Options {
- /* GUIState.background */
- background-image: resource("Icons/_Popup.png");
-}
-
-.Icon-PlayAreaEnd {
- /* GUIState.textColor */
- color: rgba(255, 255, 255, 0.2);
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineEndPlayback.png");
-}
-
-.Icon-PlayAreaStart {
- /* GUIState.textColor */
- color: rgba(255, 255, 255, 0.21);
-
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineStartPlayback.png");
-}
-
-.Icon-Playrange {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelinePlayRange.png");
-}
-
-.Icon-TimeCursor {
- /* GUIState.background */
- background-image: resource("Packages/com.unity.timeline/Editor/StyleSheets/Images/LightSkin/TimelineTimeCursor.png");
-}
-
-.Icon-TrackOptions {
- /* GUIStyle.imagePosition */
- -unity-image-position: image-above;
-
- /* GUIState.background */
- background-image: resource("Builtin Skins/LightSkin/Images/pane options.png");
-
- /* GUIState.scaledBackgrounds */
- -unity-scaled-backgrounds: resource("Builtin Skins/LightSkin/Images/pane options@2x.png");
-}
-
-.sequenceGroupFont {
- /* GUIState.textColor */
- color: rgb(255, 255, 255);
-}
-
-.Font-Clip {
- /* GUIStyleState.textColor */
- color: rgb(0, 0, 0);
-}
-
-.sequenceSwitcher{
- background-color: rgb(208, 208, 208);
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/light.uss.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/light.uss.meta
deleted file mode 100644
index 8076cfc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Extensions/light.uss.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e98085123be873947970c4f10099a39a
-ScriptedImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 2
- userData:
- assetBundleName:
- assetBundleVariant:
- script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
- disableValidation: 1
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images.meta
deleted file mode 100644
index 2988bc9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 5f603f10b9ec26841b2ecb6003dc1d0e
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin.meta
deleted file mode 100644
index ba1aac1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 21b6b069ae021364ab45e1094807ec98
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineActivation.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineActivation.png
deleted file mode 100644
index 0fb6650..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineActivation.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineActivation.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineActivation.png.meta
deleted file mode 100644
index 6b62a6b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineActivation.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: 359cf58d5969d1a4aad29b095c7fc338
-timeCreated: 1484166676
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey.png
deleted file mode 100644
index 7c08088..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey.png.meta
deleted file mode 100644
index e154a51..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 92b5e4310629b264dad0fb2cc196d818
-timeCreated: 1460382690
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey@2x.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey@2x.png
deleted file mode 100644
index 855b486..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey@2x.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey@2x.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey@2x.png.meta
deleted file mode 100644
index 43f7f10..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey@2x.png.meta
+++ /dev/null
@@ -1,91 +0,0 @@
-fileFormatVersion: 2
-guid: af24c542434a025448222d576f61a956
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: -100
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 1
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active.png
deleted file mode 100644
index 060daf7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active.png.meta
deleted file mode 100644
index 7b0ee04..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: e17ee60887efdd04389991a15ee0c578
-timeCreated: 1465396246
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 64
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 64
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active@2x.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active@2x.png
deleted file mode 100644
index 419fa1a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active@2x.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active@2x.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active@2x.png.meta
deleted file mode 100644
index 3587ec0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineAutokey_active@2x.png.meta
+++ /dev/null
@@ -1,91 +0,0 @@
-fileFormatVersion: 2
-guid: 183f7b7549219ab47becb461a16df882
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: -100
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 1
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonDisabled.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonDisabled.png
deleted file mode 100644
index d7787f6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonDisabled.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonDisabled.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonDisabled.png.meta
deleted file mode 100644
index 71bc08c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonDisabled.png.meta
+++ /dev/null
@@ -1,88 +0,0 @@
-fileFormatVersion: 2
-guid: ab4a984ceda5ef4438b4dd7d0c8325db
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 7
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonEnabled.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonEnabled.png
deleted file mode 100644
index 3222ad1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonEnabled.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonEnabled.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonEnabled.png.meta
deleted file mode 100644
index 8afc17f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCollapseMarkerButtonEnabled.png.meta
+++ /dev/null
@@ -1,88 +0,0 @@
-fileFormatVersion: 2
-guid: b2d973d22210e734f91a7633b8f101f9
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 7
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineContinue.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineContinue.png
deleted file mode 100644
index d469bfe..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineContinue.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineContinue.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineContinue.png.meta
deleted file mode 100644
index 0fc876e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineContinue.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: f747f9cdf03f2ff418fe728a77e8cbef
-timeCreated: 1481652765
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOff.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOff.png
deleted file mode 100644
index f93a5b2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOff.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOff.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOff.png.meta
deleted file mode 100644
index b5996df..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOff.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 9dfea116cd2bd974e80173bcf8db4331
-timeCreated: 1481580515
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOn.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOn.png
deleted file mode 100644
index 8985961..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOn.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOn.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOn.png.meta
deleted file mode 100644
index 82c6cb3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineCurvesOn.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 88e563d69bc649c4dbf8ffbe396fbcbe
-timeCreated: 1481580525
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineDisabledBackground.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineDisabledBackground.png
deleted file mode 100644
index 72cc79c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineDisabledBackground.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineDisabledBackground.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineDisabledBackground.png.meta
deleted file mode 100644
index 35c87a0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineDisabledBackground.png.meta
+++ /dev/null
@@ -1,119 +0,0 @@
-fileFormatVersion: 2
-guid: 412f73153f3a3c549b67b2a847741145
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 1
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - serializedVersion: 2
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - serializedVersion: 2
- buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - serializedVersion: 2
- buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEndPlayback.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEndPlayback.png
deleted file mode 100644
index 98b2644..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEndPlayback.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEndPlayback.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEndPlayback.png.meta
deleted file mode 100644
index 7a16452..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEndPlayback.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: c285802d9d414814fad592b90b223f15
-timeCreated: 1454598165
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye.png
deleted file mode 100644
index 3f6ff61..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye.png.meta
deleted file mode 100644
index cada224..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: b93a8712e80177f46b3cff1a274b2dce
-timeCreated: 1449255153
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye@2x.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye@2x.png
deleted file mode 100644
index 092031d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye@2x.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye@2x.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye@2x.png.meta
deleted file mode 100644
index 782df18..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineEye@2x.png.meta
+++ /dev/null
@@ -1,91 +0,0 @@
-fileFormatVersion: 2
-guid: 631aaf57db9353344b41fe203d0a8b62
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: -100
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 1
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineHold.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineHold.png
deleted file mode 100644
index 0d395b5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineHold.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineHold.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineHold.png.meta
deleted file mode 100644
index 020bbf7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineHold.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: ddbd45249a133a846b2f20e39b537565
-timeCreated: 1481653109
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipIn.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipIn.png
deleted file mode 100644
index 1698c0a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipIn.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipIn.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipIn.png.meta
deleted file mode 100644
index 10b7769..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipIn.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: ab1e2f0dfb0df5e40bb95359b3d8ed3a
-timeCreated: 1480536694
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipOut.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipOut.png
deleted file mode 100644
index fed0515..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipOut.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipOut.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipOut.png.meta
deleted file mode 100644
index 171dbff..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineIconClipOut.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 32f7e3598d6414c489127629e29af3f6
-timeCreated: 1480535436
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineInfiniteTrackNoShadow.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineInfiniteTrackNoShadow.png
deleted file mode 100644
index 03f3a2d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineInfiniteTrackNoShadow.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineInfiniteTrackNoShadow.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineInfiniteTrackNoShadow.png.meta
deleted file mode 100644
index f0afba3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineInfiniteTrackNoShadow.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: eae63adb172f1164db61a7f4bdfc3637
-timeCreated: 1484150287
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineKeyframe.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineKeyframe.png
deleted file mode 100644
index 091b9e5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineKeyframe.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineKeyframe.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineKeyframe.png.meta
deleted file mode 100644
index f1c44aa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineKeyframe.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: 8eba099eb091faf419fecdcd5cdabfd7
-timeCreated: 1484066929
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png
deleted file mode 100644
index b5c9702..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png.meta
deleted file mode 100644
index 74ce3e7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: f41d3194e87f6df4eb328916fd91d20c
-timeCreated: 1449255153
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 1
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 64
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 64
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png
deleted file mode 100644
index 50cfa80..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png.meta
deleted file mode 100644
index 7ca8bde..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLockButton@2x.png.meta
+++ /dev/null
@@ -1,91 +0,0 @@
-fileFormatVersion: 2
-guid: d51d89aa019127a4e9c5bec4e423a4d6
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: -100
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 1
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLoop.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLoop.png
deleted file mode 100644
index 0402691..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLoop.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLoop.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLoop.png.meta
deleted file mode 100644
index 8ef0117..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineLoop.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: 360dded8761e81d4d98c10f469d55492
-timeCreated: 1481653109
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItem.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItem.png
deleted file mode 100644
index c73ae32..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItem.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItem.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItem.png.meta
deleted file mode 100644
index ce24d1e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItem.png.meta
+++ /dev/null
@@ -1,90 +0,0 @@
-fileFormatVersion: 2
-guid: c133595e3c100774496e03e66fa69259
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 8
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemCollapsed.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemCollapsed.png
deleted file mode 100644
index e86ef74..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemCollapsed.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemCollapsed.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemCollapsed.png.meta
deleted file mode 100644
index 4b33778..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemCollapsed.png.meta
+++ /dev/null
@@ -1,90 +0,0 @@
-fileFormatVersion: 2
-guid: f179d9a3cccffb04ba2e27f681e9b147
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 8
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemSelected.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemSelected.png
deleted file mode 100644
index 91f5af4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemSelected.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemSelected.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemSelected.png.meta
deleted file mode 100644
index dd4b4fd..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineMarkerItemSelected.png.meta
+++ /dev/null
@@ -1,90 +0,0 @@
-fileFormatVersion: 2
-guid: 3dd65256ca8837544b3e738c0d3ee0e2
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 8
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePingPong.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePingPong.png
deleted file mode 100644
index 17aa182..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePingPong.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePingPong.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePingPong.png.meta
deleted file mode 100644
index 5dc471d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePingPong.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: d3b5c4f7d6b94f64085b3713bffa680e
-timeCreated: 1481580507
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePlayRange.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePlayRange.png
deleted file mode 100644
index 8908b07..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePlayRange.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePlayRange.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePlayRange.png.meta
deleted file mode 100644
index 8ace41d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelinePlayRange.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 43eeff8a446b32242a4fb1a5c1bd7b8e
-timeCreated: 1481916753
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalCollapsed.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalCollapsed.png
deleted file mode 100644
index 4501cbe..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalCollapsed.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalCollapsed.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalCollapsed.png.meta
deleted file mode 100644
index 38f8402..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalCollapsed.png.meta
+++ /dev/null
@@ -1,83 +0,0 @@
-fileFormatVersion: 2
-guid: d91793cd853a258448e4d5545bb38e45
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalSelected.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalSelected.png
deleted file mode 100644
index 2f1b08f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalSelected.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalSelected.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalSelected.png.meta
deleted file mode 100644
index c8250dc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineSignalSelected.png.meta
+++ /dev/null
@@ -1,88 +0,0 @@
-fileFormatVersion: 2
-guid: a5e21f4e466690645980dd0cf0b664bc
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 7
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineStartPlayback.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineStartPlayback.png
deleted file mode 100644
index 8c15153..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineStartPlayback.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineStartPlayback.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineStartPlayback.png.meta
deleted file mode 100644
index 2f8fc73..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineStartPlayback.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 5060c9f9eb2f7ee4695b638a21d8fe01
-timeCreated: 1454598165
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineTimeCursor.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineTimeCursor.png
deleted file mode 100644
index 1e4ea64..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineTimeCursor.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineTimeCursor.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineTimeCursor.png.meta
deleted file mode 100644
index 0c8ec5e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/DarkSkin/TimelineTimeCursor.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 3b9e9b3d9ade166499e7a17109ca73bf
-timeCreated: 1454538902
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons.meta
deleted file mode 100644
index 3c0bfbd..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: a90603761ea3d8449a60aebebd202228
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/Timeline-Marker-Warning-Overlay.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/Timeline-Marker-Warning-Overlay.png
deleted file mode 100644
index 9f798bc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/Timeline-Marker-Warning-Overlay.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/Timeline-Marker-Warning-Overlay.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/Timeline-Marker-Warning-Overlay.png.meta
deleted file mode 100644
index 1852412..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/Timeline-Marker-Warning-Overlay.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 945f4ecec6df62244b9ebcc363833642
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 9
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: -1
- aniso: 1
- mipBias: -100
- wrapU: 1
- wrapV: 1
- wrapW: -1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 2
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipBG.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipBG.png
deleted file mode 100644
index 4d481fb..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipBG.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipBG.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipBG.png.meta
deleted file mode 100644
index 18a0bb3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipBG.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: d44fc8b11425e0043aa7c20a301ce707
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: -100
- wrapU: 0
- wrapV: 0
- wrapW: -1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipFG.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipFG.png
deleted file mode 100644
index 5783c91..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipFG.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipFG.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipFG.png.meta
deleted file mode 100644
index 3e9cce0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineClipFG.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 33b1871a2d09cfa459a93f4e8feb5c41
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: -100
- wrapU: 0
- wrapV: 0
- wrapW: -1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineDigIn.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineDigIn.png
deleted file mode 100644
index 826230d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineDigIn.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineDigIn.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineDigIn.png.meta
deleted file mode 100644
index 21f3433..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineDigIn.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: b1d064d6d80829f4eb370f679384ea1f
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: -100
- wrapU: 0
- wrapV: 0
- wrapW: -1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixOFF.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixOFF.png
deleted file mode 100644
index 0f16bf7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixOFF.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixOFF.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixOFF.png.meta
deleted file mode 100644
index 5c66a0e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixOFF.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 8fca5ed160cdc5440a4c7561db4082b2
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixON.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixON.png
deleted file mode 100644
index 49e8fd7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixON.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixON.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixON.png.meta
deleted file mode 100644
index 37bf9e1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeMixON.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: a82846d41464fcf4b962ebdc815963f5
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceOFF.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceOFF.png
deleted file mode 100644
index a05c0f7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceOFF.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceOFF.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceOFF.png.meta
deleted file mode 100644
index 33ca3ae..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceOFF.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 09ae14686a02d484ab41e76fd1efba14
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceON.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceON.png
deleted file mode 100644
index ee6b23d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceON.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceON.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceON.png.meta
deleted file mode 100644
index a896acc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeReplaceON.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 6d41c3e8796a4fd4e80840354039e4ac
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleOFF.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleOFF.png
deleted file mode 100644
index fb51a58..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleOFF.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleOFF.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleOFF.png.meta
deleted file mode 100644
index 8f4958c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleOFF.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: bd7b7cac6eb0c3f469781d9a729a1c94
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleON.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleON.png
deleted file mode 100644
index 9e98892..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleON.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleON.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleON.png.meta
deleted file mode 100644
index 514ab7a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineEditModeRippleON.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: c5c1f094d9a9b3f4c9cc6c3a87af871c
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineHeaderMarkerIcon.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineHeaderMarkerIcon.png
deleted file mode 100644
index e58abc2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineHeaderMarkerIcon.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineHeaderMarkerIcon.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineHeaderMarkerIcon.png.meta
deleted file mode 100644
index 0d07924..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineHeaderMarkerIcon.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: bf1debab21103154b99778ba6e074175
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonDisabled.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonDisabled.png
deleted file mode 100644
index 3243e0a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonDisabled.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonDisabled.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonDisabled.png.meta
deleted file mode 100644
index e5147f2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonDisabled.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 33a52b41b4de5874ca7da1da32067e39
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonEnabled.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonEnabled.png
deleted file mode 100644
index 683d1aa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonEnabled.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonEnabled.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonEnabled.png.meta
deleted file mode 100644
index db526e1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineMarkerAreaButtonEnabled.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: d1eccbb425fdacc4ba53ce4223f4ea30
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSelector.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSelector.png
deleted file mode 100644
index da927b8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSelector.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSelector.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSelector.png.meta
deleted file mode 100644
index 469f273..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSelector.png.meta
+++ /dev/null
@@ -1,139 +0,0 @@
-fileFormatVersion: 2
-guid: 73f5ebb64da7b2a40ab6bffac80f1a61
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 1
- - serializedVersion: 3
- buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 1
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSignal.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSignal.png
deleted file mode 100644
index 2afc29a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSignal.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSignal.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSignal.png.meta
deleted file mode 100644
index bc8bc1b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/TimelineSignal.png.meta
+++ /dev/null
@@ -1,88 +0,0 @@
-fileFormatVersion: 2
-guid: 15845fb26c2846947b4dedb9fb348cc1
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 7
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineDigIn.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineDigIn.png
deleted file mode 100644
index 826230d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineDigIn.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineDigIn.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineDigIn.png.meta
deleted file mode 100644
index fb86cad..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineDigIn.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 22c3c381bd3cd4a40a8541103023e1ef
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixOFF.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixOFF.png
deleted file mode 100644
index 3e0009a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixOFF.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixOFF.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixOFF.png.meta
deleted file mode 100644
index 66cb896..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixOFF.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 39d9575ed0465354cb02b69ea18526de
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixON.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixON.png
deleted file mode 100644
index 896adfe..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixON.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixON.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixON.png.meta
deleted file mode 100644
index b42e367..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeMixON.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 7c681ffb5a436684fa3e98a9b66775c0
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceOFF.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceOFF.png
deleted file mode 100644
index e9a2af1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceOFF.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceOFF.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceOFF.png.meta
deleted file mode 100644
index 287012e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceOFF.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 912fd71cbf4cbe140b4f240bedbc1f3e
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceON.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceON.png
deleted file mode 100644
index c26a611..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceON.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceON.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceON.png.meta
deleted file mode 100644
index 1bced03..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeReplaceON.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 7b4b3cedf598c954cb2f38d6e2e34c0d
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleOFF.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleOFF.png
deleted file mode 100644
index 490fe0f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleOFF.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleOFF.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleOFF.png.meta
deleted file mode 100644
index d350e3a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleOFF.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 411e6f19c19fa0546af83aeb59c2ed4b
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleON.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleON.png
deleted file mode 100644
index bda372e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleON.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleON.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleON.png.meta
deleted file mode 100644
index ec7afb8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineEditModeRippleON.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 67a774c4384aa6c488128e2851b18ced
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineHeaderMarkerIcon.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineHeaderMarkerIcon.png
deleted file mode 100644
index c1703aa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineHeaderMarkerIcon.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineHeaderMarkerIcon.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineHeaderMarkerIcon.png.meta
deleted file mode 100644
index d947cf0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineHeaderMarkerIcon.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 4f8d98ef7dbbe3d469e14c04722cbeed
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonDisabled.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonDisabled.png
deleted file mode 100644
index 16ff9ea..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonDisabled.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonDisabled.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonDisabled.png.meta
deleted file mode 100644
index 9266b15..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonDisabled.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: b3644a971cca0bd4eb357cb9aca4dde1
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonEnabled.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonEnabled.png
deleted file mode 100644
index 014414d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonEnabled.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonEnabled.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonEnabled.png.meta
deleted file mode 100644
index bdf29b9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineMarkerAreaButtonEnabled.png.meta
+++ /dev/null
@@ -1,115 +0,0 @@
-fileFormatVersion: 2
-guid: 8cde79655a957734b8c20c92c6d3132d
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSelector.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSelector.png
deleted file mode 100644
index 19776d6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSelector.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSelector.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSelector.png.meta
deleted file mode 100644
index 64a463b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSelector.png.meta
+++ /dev/null
@@ -1,139 +0,0 @@
-fileFormatVersion: 2
-guid: 06bf6150656339941aa98e175a995445
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 0
- mipBias: 0
- wrapU: 0
- wrapV: 0
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 1
- - serializedVersion: 3
- buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 1
- - serializedVersion: 3
- buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSignal.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSignal.png
deleted file mode 100644
index 9f421fd..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSignal.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSignal.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSignal.png.meta
deleted file mode 100644
index 6069c30..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Icons/d_TimelineSignal.png.meta
+++ /dev/null
@@ -1,88 +0,0 @@
-fileFormatVersion: 2
-guid: ad2e3e92b00839c4e991ca602ef19822
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 7
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin.meta
deleted file mode 100644
index e08f364..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 8ad9b938ad733e94ca95fe5a5c19a5b8
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineActivation.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineActivation.png
deleted file mode 100644
index e18f78a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineActivation.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineActivation.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineActivation.png.meta
deleted file mode 100644
index a136318..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineActivation.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: 2887294cc7f1fe840bff6e349409648d
-timeCreated: 1484165733
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey.png
deleted file mode 100644
index 9bccd33..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey.png.meta
deleted file mode 100644
index 6063498..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: af3aec622aef40c45813b39e405966a3
-timeCreated: 1463497119
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey@2x.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey@2x.png
deleted file mode 100644
index 6a3e01f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey@2x.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey@2x.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey@2x.png.meta
deleted file mode 100644
index 7049d7d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey@2x.png.meta
+++ /dev/null
@@ -1,91 +0,0 @@
-fileFormatVersion: 2
-guid: cf3fbf98d5c3f1941bd9c0256918a4c8
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: -100
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 1
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active.png
deleted file mode 100644
index 6eeb0e1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active.png.meta
deleted file mode 100644
index 42bf09b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 0a5e3e063c4e1ab45999cf6e40c13c07
-timeCreated: 1463497122
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active@2x.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active@2x.png
deleted file mode 100644
index 6fe2a5b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active@2x.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active@2x.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active@2x.png.meta
deleted file mode 100644
index 41ace44..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineAutokey_active@2x.png.meta
+++ /dev/null
@@ -1,91 +0,0 @@
-fileFormatVersion: 2
-guid: f6717d61970edba4686c297677881a77
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: -100
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 1
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonDisabled.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonDisabled.png
deleted file mode 100644
index e6dbdac..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonDisabled.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonDisabled.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonDisabled.png.meta
deleted file mode 100644
index 637f97a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonDisabled.png.meta
+++ /dev/null
@@ -1,88 +0,0 @@
-fileFormatVersion: 2
-guid: 14793e8174fe3b04ea5907898393d93c
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 7
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonEnabled.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonEnabled.png
deleted file mode 100644
index bb352e5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonEnabled.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonEnabled.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonEnabled.png.meta
deleted file mode 100644
index 20c22fa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCollapseMarkerButtonEnabled.png.meta
+++ /dev/null
@@ -1,88 +0,0 @@
-fileFormatVersion: 2
-guid: 1500816bcf9112a45bb071c4cc6b0e46
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 7
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineContinue.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineContinue.png
deleted file mode 100644
index 4d57ebc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineContinue.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineContinue.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineContinue.png.meta
deleted file mode 100644
index ee71da0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineContinue.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: 61c21f74972ba8246b3ea400a9231841
-timeCreated: 1481657337
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOff.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOff.png
deleted file mode 100644
index d743183..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOff.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOff.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOff.png.meta
deleted file mode 100644
index a6d9092..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOff.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: fe163a92c54d2a1469c204b541041f09
-timeCreated: 1484065716
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOn.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOn.png
deleted file mode 100644
index 62a2423..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOn.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOn.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOn.png.meta
deleted file mode 100644
index 0a9ce54..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineCurvesOn.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 0ab0f1666e707204dbd25d05500361cf
-timeCreated: 1481580517
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineDisabledBackground.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineDisabledBackground.png
deleted file mode 100644
index 281198e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineDisabledBackground.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineDisabledBackground.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineDisabledBackground.png.meta
deleted file mode 100644
index 555c102..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineDisabledBackground.png.meta
+++ /dev/null
@@ -1,119 +0,0 @@
-fileFormatVersion: 2
-guid: 0304baf8d224f3e47b22d872c8dcd412
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - serializedVersion: 2
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - serializedVersion: 2
- buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - serializedVersion: 2
- buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEndPlayback.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEndPlayback.png
deleted file mode 100644
index 9590560..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEndPlayback.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEndPlayback.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEndPlayback.png.meta
deleted file mode 100644
index c6b3b5c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEndPlayback.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 6952cd3b0f88917449a8fa4d19fc5009
-timeCreated: 1463497108
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye.png
deleted file mode 100644
index d690621..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye.png.meta
deleted file mode 100644
index b61f495..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 3e39a4369cb0730479607382c383f786
-timeCreated: 1463497108
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye@2x.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye@2x.png
deleted file mode 100644
index d14d600..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye@2x.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye@2x.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye@2x.png.meta
deleted file mode 100644
index 442dc4d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineEye@2x.png.meta
+++ /dev/null
@@ -1,91 +0,0 @@
-fileFormatVersion: 2
-guid: 2dc127b7c30543c428127a6ddd0ee98f
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: -100
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 1
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineHold.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineHold.png
deleted file mode 100644
index 706f084..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineHold.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineHold.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineHold.png.meta
deleted file mode 100644
index 8a5eafe..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineHold.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: a09fd8b5d9396c24a96a6de50cddc3b9
-timeCreated: 1481652201
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipIn.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipIn.png
deleted file mode 100644
index f6a552e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipIn.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipIn.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipIn.png.meta
deleted file mode 100644
index 47909c6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipIn.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: 4171b549947246b4f9579419d5698a7e
-timeCreated: 1481402454
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipOut.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipOut.png
deleted file mode 100644
index b79b816..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipOut.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipOut.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipOut.png.meta
deleted file mode 100644
index 925d98f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineIconClipOut.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: a7a968b204ed77c4ba90be3ef3ee8551
-timeCreated: 1481569020
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineInfiniteTrackNoShadow.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineInfiniteTrackNoShadow.png
deleted file mode 100644
index 0f6a992..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineInfiniteTrackNoShadow.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineInfiniteTrackNoShadow.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineInfiniteTrackNoShadow.png.meta
deleted file mode 100644
index fb8bb82..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineInfiniteTrackNoShadow.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: 69ff79f863a32ad44a9497d4896d9d1c
-timeCreated: 1484066142
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineKeyframe.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineKeyframe.png
deleted file mode 100644
index ad0b8aa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineKeyframe.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineKeyframe.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineKeyframe.png.meta
deleted file mode 100644
index d8f5c94..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineKeyframe.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: f9fd2f335364cda41937eab39bf20049
-timeCreated: 1484152109
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png
deleted file mode 100644
index a96b419..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png.meta
deleted file mode 100644
index dc18ccc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: a3a859cdc4dd70d40b0d0bcb44047de8
-timeCreated: 1463497122
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png
deleted file mode 100644
index 8695d92..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png.meta
deleted file mode 100644
index dcbb72a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLockButton@2x.png.meta
+++ /dev/null
@@ -1,91 +0,0 @@
-fileFormatVersion: 2
-guid: 9c0c310590aeee542a7a4ca704b0660a
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: -100
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 1
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLoop.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLoop.png
deleted file mode 100644
index 9530573..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLoop.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLoop.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLoop.png.meta
deleted file mode 100644
index 0881676..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineLoop.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: c7df1e797b21c774f9b859d17f674737
-timeCreated: 1481580507
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItem.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItem.png
deleted file mode 100644
index e753c56..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItem.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItem.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItem.png.meta
deleted file mode 100644
index 148ffa6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItem.png.meta
+++ /dev/null
@@ -1,90 +0,0 @@
-fileFormatVersion: 2
-guid: 24b97c67b63a23b48bea4036d28a5818
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 8
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemCollapsed.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemCollapsed.png
deleted file mode 100644
index 17cf682..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemCollapsed.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemCollapsed.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemCollapsed.png.meta
deleted file mode 100644
index cb71cdc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemCollapsed.png.meta
+++ /dev/null
@@ -1,90 +0,0 @@
-fileFormatVersion: 2
-guid: 7d4691eba7565c34ab785c00fbc27ff8
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 8
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemSelected.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemSelected.png
deleted file mode 100644
index cdb9ca7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemSelected.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemSelected.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemSelected.png.meta
deleted file mode 100644
index 041863e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineMarkerItemSelected.png.meta
+++ /dev/null
@@ -1,90 +0,0 @@
-fileFormatVersion: 2
-guid: b6e9dc9aad5843748a0124b8925c3743
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 8
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePingPong.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePingPong.png
deleted file mode 100644
index 1223cdc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePingPong.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePingPong.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePingPong.png.meta
deleted file mode 100644
index 35ec478..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePingPong.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 88d697f38121de443ba144702e5122d9
-timeCreated: 1481580508
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePlayRange.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePlayRange.png
deleted file mode 100644
index f850f5c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePlayRange.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePlayRange.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePlayRange.png.meta
deleted file mode 100644
index b54c1d3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelinePlayRange.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 70e3f118652b9094885689730ad3a47b
-timeCreated: 1481916753
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalCollapsed.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalCollapsed.png
deleted file mode 100644
index 6e2cdc5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalCollapsed.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalCollapsed.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalCollapsed.png.meta
deleted file mode 100644
index 76f21aa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalCollapsed.png.meta
+++ /dev/null
@@ -1,86 +0,0 @@
-fileFormatVersion: 2
-guid: a88fa20ed164bbe4da6bf533f94a3113
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 6
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalSelected.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalSelected.png
deleted file mode 100644
index 004130d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalSelected.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalSelected.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalSelected.png.meta
deleted file mode 100644
index 4a943b6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineSignalSelected.png.meta
+++ /dev/null
@@ -1,88 +0,0 @@
-fileFormatVersion: 2
-guid: 1a7852b1b33b816498b6af1e739f5995
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 7
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineStartPlayback.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineStartPlayback.png
deleted file mode 100644
index c9f0cae..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineStartPlayback.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineStartPlayback.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineStartPlayback.png.meta
deleted file mode 100644
index fb58b3f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineStartPlayback.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 824c4beb0ca6c934bbc7a26919302236
-timeCreated: 1463497128
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineTimeCursor.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineTimeCursor.png
deleted file mode 100644
index c425aff..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineTimeCursor.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineTimeCursor.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineTimeCursor.png.meta
deleted file mode 100644
index f37e360..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/LightSkin/TimelineTimeCursor.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: ed665472b4fee2043a5c1cc802beaa8e
-timeCreated: 1463497119
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared.meta
deleted file mode 100644
index d15a175..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 456d458547ae36d44a13d4a4682f0441
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/Timeline-Marker-Multi-Overlay.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/Timeline-Marker-Multi-Overlay.png
deleted file mode 100644
index 7d4f00d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/Timeline-Marker-Multi-Overlay.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/Timeline-Marker-Multi-Overlay.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/Timeline-Marker-Multi-Overlay.png.meta
deleted file mode 100644
index 50d7910..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/Timeline-Marker-Multi-Overlay.png.meta
+++ /dev/null
@@ -1,108 +0,0 @@
-fileFormatVersion: 2
-guid: 75f26f1c549568c4e9950a368bd08cb8
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 6
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - serializedVersion: 2
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - serializedVersion: 2
- buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineBottomShadow.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineBottomShadow.png
deleted file mode 100644
index db2a796..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineBottomShadow.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineBottomShadow.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineBottomShadow.png.meta
deleted file mode 100644
index 20be770..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineBottomShadow.png.meta
+++ /dev/null
@@ -1,117 +0,0 @@
-fileFormatVersion: 2
-guid: db66ea47c76423f4a881937d34495801
-timeCreated: 1479917874
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineConnector.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineConnector.png
deleted file mode 100644
index 99acdf8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineConnector.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineConnector.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineConnector.png.meta
deleted file mode 100644
index 44f822b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineConnector.png.meta
+++ /dev/null
@@ -1,107 +0,0 @@
-fileFormatVersion: 2
-guid: a04f1625bf500f64e97445265dfbcc93
-timeCreated: 1481569141
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineDisplay.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineDisplay.png
deleted file mode 100644
index 6951080..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineDisplay.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineDisplay.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineDisplay.png.meta
deleted file mode 100644
index 943c1c5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineDisplay.png.meta
+++ /dev/null
@@ -1,104 +0,0 @@
-fileFormatVersion: 2
-guid: 03ae22b9de3989144a9bebf8972b4fad
-TextureImporter:
- internalIDToNameTable: []
- externalObjects: {}
- serializedVersion: 10
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 1
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: -100
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- ignorePngGamma: 0
- platformSettings:
- - serializedVersion: 3
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- - serializedVersion: 3
- buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- forceMaximumCompressionQuality_BC6H_BC7: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- internalID: 0
- vertices: []
- indices:
- edges: []
- weights: []
- secondaryTextures: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineGroupBackground.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineGroupBackground.png
deleted file mode 100644
index 7a62bfd..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineGroupBackground.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineGroupBackground.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineGroupBackground.png.meta
deleted file mode 100644
index 63f28fc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineGroupBackground.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 6ca5daa3415451940921fa7e2c3db9e8
-timeCreated: 1434467611
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: -1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineOutline.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineOutline.png
deleted file mode 100644
index 19dc98d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineOutline.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineOutline.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineOutline.png.meta
deleted file mode 100644
index 2c8f4d0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineOutline.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 829511f8e35bf3a40be037a1050f801c
-timeCreated: 1461591699
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSeqEnd.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSeqEnd.png
deleted file mode 100644
index 538b94d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSeqEnd.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSeqEnd.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSeqEnd.png.meta
deleted file mode 100644
index 512379f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSeqEnd.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 5dfe66e61e0d270468ae75349ff3a3eb
-timeCreated: 1455898819
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSwatch.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSwatch.png
deleted file mode 100644
index a7127ef..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSwatch.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSwatch.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSwatch.png.meta
deleted file mode 100644
index a350aa4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineSwatch.png.meta
+++ /dev/null
@@ -1,117 +0,0 @@
-fileFormatVersion: 2
-guid: e50018fd67fc156459e4014bdad3f5f6
-timeCreated: 1476817131
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Standalone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: iPhone
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: tvOS
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- - buildTarget: Windows Store Apps
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineWarning.png b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineWarning.png
deleted file mode 100644
index d9d4ee4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineWarning.png
+++ /dev/null
Binary files differ
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineWarning.png.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineWarning.png.meta
deleted file mode 100644
index 5b266db..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/Images/Shared/TimelineWarning.png.meta
+++ /dev/null
@@ -1,77 +0,0 @@
-fileFormatVersion: 2
-guid: 1732e542f535d374bbfa7565fc78414e
-timeCreated: 1455644730
-licenseType: Pro
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 5
- mipmaps:
- mipMapMode: 0
- enableMipMap: 0
- sRGBTexture: 1
- linearTexture: 1
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: 5
- maxTextureSize: 2048
- textureSettings:
- serializedVersion: 2
- filterMode: 0
- aniso: 1
- mipBias: 0
- wrapU: 1
- wrapV: 1
- wrapW: 1
- nPOTScale: 0
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spritePixelsToUnits: 100
- alphaUsage: 1
- alphaIsTransparency: 1
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - buildTarget: DefaultTexturePlatform
- maxTextureSize: 2048
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- spritePackingTag:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res.meta
deleted file mode 100644
index 1ef39f8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 12a2d6aa8a743f04aa760f8c675c97e6
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/HumanoidDefault.anim b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/HumanoidDefault.anim
deleted file mode 100644
index ba787eb..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/HumanoidDefault.anim
+++ /dev/null
@@ -1,6683 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!74 &7400000
-AnimationClip:
- m_ObjectHideFlags: 0
- m_PrefabParentObject: {fileID: 0}
- m_PrefabInternal: {fileID: 0}
- m_Name: HumanoidDefault
- serializedVersion: 6
- m_Legacy: 0
- m_Compressed: 0
- m_UseHighQualityCurve: 0
- m_RotationCurves: []
- m_CompressedRotationCurves: []
- m_EulerCurves: []
- m_PositionCurves: []
- m_ScaleCurves: []
- m_FloatCurves:
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0023206125
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0023206125
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootT.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.9978025
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.9978025
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootT.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0036914505
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0036914505
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootT.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0009904206
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0009904206
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootQ.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.000000029802322
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.000000029802322
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootQ.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.000000029802322
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.000000029802322
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootQ.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.9999995
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.9999995
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootQ.w
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.09074765
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.09074765
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootT.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.99597967
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.99597967
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootT.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.032569747
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.032569747
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootT.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootQ.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.4995045
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.4995045
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootQ.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootQ.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.49950463
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.49950463
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootQ.w
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.08610656
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.08610656
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootT.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.99597967
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.99597967
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootT.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.03256977
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.03256977
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootT.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootQ.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.49950442
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.49950442
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootQ.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootQ.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.4995047
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.4995047
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootQ.w
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.6962602
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.6962602
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandT.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.39508566
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.39508566
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandT.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.029317556
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.029317556
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandT.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0011194708
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0011194708
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandQ.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.028612569
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.028612569
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandQ.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.99959004
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.99959004
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandQ.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.000031995765
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.000031995765
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandQ.w
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6916188
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6916188
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandT.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.39508596
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.39508596
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandT.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.029317655
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.029317655
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandT.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.02861254
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.02861254
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandQ.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.0011195474
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.0011195474
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandQ.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.000032021475
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.000032021475
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandQ.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.99959004
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.99959004
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandQ.w
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Spine Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Spine Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Spine Twist Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Chest Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Chest Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Chest Twist Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 1.6044449e-22
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 1.6044449e-22
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: UpperChest Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 2.0281193e-14
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 2.0281193e-14
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: UpperChest Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 3.1805545e-15
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 3.1805545e-15
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: UpperChest Twist Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.21768919
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.21768919
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Neck Nod Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.0000005364417
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.0000005364417
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Neck Tilt Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -2.5518072e-15
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -2.5518072e-15
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Neck Turn Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.1385466
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.1385466
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Head Nod Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0000005064527
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0000005064527
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Head Tilt Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0000002003913
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0000002003913
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Head Turn Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Eye Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Eye In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Eye Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Eye In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 1.0285543
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 1.0285543
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Jaw Close
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.0000021457988
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.0000021457988
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Jaw Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.5288592
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.5288592
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Upper Leg Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.00000017935282
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.00000017935282
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Upper Leg In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.000000071362784
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.000000071362784
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Upper Leg Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.93421274
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.93421274
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Lower Leg Stretch
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00000023841858
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00000023841858
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Lower Leg Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.03387608
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.03387608
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Foot Up-Down
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00000055896726
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00000055896726
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Foot Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -1.4463487e-29
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -1.4463487e-29
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Toes Up-Down
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.5288592
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.5288592
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Upper Leg Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.000000049938695
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.000000049938695
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Upper Leg In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00000008376336
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00000008376336
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Upper Leg Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.93421274
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.93421274
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Lower Leg Stretch
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Lower Leg Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.03387639
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.03387639
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Foot Up-Down
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00000034893546
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00000034893546
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Foot Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Toes Up-Down
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.6577008
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.6577008
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Shoulder Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.026656672
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.026656672
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Shoulder Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.5008309
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.5008309
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Arm Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.2945701
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.2945701
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Arm Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00094974384
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00094974384
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Arm Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.89037263
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.89037263
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Forearm Stretch
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.0039196364
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.0039196364
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Forearm Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00038705475
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00038705475
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Hand Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.24678716
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.24678716
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Hand In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.65770036
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.65770036
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Shoulder Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.026655924
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.026655924
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Shoulder Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.5008307
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.5008307
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Arm Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.29456997
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.29456997
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Arm Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00094974646
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00094974646
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Arm Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8903728
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8903728
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Forearm Stretch
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.0039196513
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.0039196513
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Forearm Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00038712102
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00038712102
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Hand Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.24678724
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.24678724
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Hand In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.7149313
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.7149313
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Thumb.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.37668565
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.37668565
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Thumb.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.64628243
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.64628243
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Thumb.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.64628184
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.64628184
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Thumb.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Index.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.45739162
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.45739162
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Index.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Index.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Index.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Middle.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.61083114
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.61083114
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Middle.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Middle.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Middle.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.66797
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.66797
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Ring.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.6108282
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.6108282
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Ring.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Ring.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Ring.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Little.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.45739284
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.45739284
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Little.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Little.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Little.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.71493024
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.71493024
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Thumb.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.37669381
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.37669381
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Thumb.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6462818
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6462818
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Thumb.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.64628184
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.64628184
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Thumb.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Index.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.45739165
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.45739165
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Index.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Index.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Index.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Middle.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.6108283
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.6108283
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Middle.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Middle.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Middle.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Ring.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.61083126
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.61083126
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Ring.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Ring.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Ring.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Little.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.45739275
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.45739275
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Little.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116837
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116837
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Little.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Little.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- m_PPtrCurves: []
- m_SampleRate: 30
- m_WrapMode: 0
- m_Bounds:
- m_Center: {x: 0, y: 0, z: 0}
- m_Extent: {x: 0, y: 0, z: 0}
- m_ClipBindingConstant:
- genericBindings:
- - serializedVersion: 2
- path: 0
- attribute: 7
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 8
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 9
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 10
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 11
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 12
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 13
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 14
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 15
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 16
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 17
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 18
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 19
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 20
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 21
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 22
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 23
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 24
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 25
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 26
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 27
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 28
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 29
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 30
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 31
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 32
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 33
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 34
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 35
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 36
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 37
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 38
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 39
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 40
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 41
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 42
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 43
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 44
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 45
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 46
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 47
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 48
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 49
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 50
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 51
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 52
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 53
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 54
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 55
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 56
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 57
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 58
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 59
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 60
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 61
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 62
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 63
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 64
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 65
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 66
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 67
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 68
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 69
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 70
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 71
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 72
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 73
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 74
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 75
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 76
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 77
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 78
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 79
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 80
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 81
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 82
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 83
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 84
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 85
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 86
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 87
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 88
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 89
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 90
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 91
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 92
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 93
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 94
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 95
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 96
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 97
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 98
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 99
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 100
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 101
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 102
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 103
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 104
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 105
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 106
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 107
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 108
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 109
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 110
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 111
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 112
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 113
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 114
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 115
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 116
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 117
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 118
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 119
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 120
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 121
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 122
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 123
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 124
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 125
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 126
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 127
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 128
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 129
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 130
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 131
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 132
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 133
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 134
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 135
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- - serializedVersion: 2
- path: 0
- attribute: 136
- script: {fileID: 0}
- typeID: 95
- customType: 8
- isPPtrCurve: 0
- pptrCurveMapping: []
- m_AnimationClipSettings:
- serializedVersion: 2
- m_AdditiveReferencePoseClip: {fileID: 0}
- m_AdditiveReferencePoseTime: 0
- m_StartTime: 0
- m_StopTime: 0.033333335
- m_OrientationOffsetY: 0
- m_Level: 0
- m_CycleOffset: 0
- m_HasAdditiveReferencePose: 0
- m_LoopTime: 0
- m_LoopBlend: 0
- m_LoopBlendOrientation: 0
- m_LoopBlendPositionY: 0
- m_LoopBlendPositionXZ: 0
- m_KeepOriginalOrientation: 0
- m_KeepOriginalPositionY: 1
- m_KeepOriginalPositionXZ: 0
- m_HeightFromFeet: 0
- m_Mirror: 0
- m_EditorCurves:
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0023206125
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0023206125
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootT.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.9978025
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.9978025
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootT.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0036914505
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0036914505
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootT.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0009904206
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0009904206
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootQ.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.000000029802322
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.000000029802322
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootQ.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.000000029802322
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.000000029802322
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootQ.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.9999995
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.9999995
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RootQ.w
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.09074765
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.09074765
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootT.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.99597967
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.99597967
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootT.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.032569747
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.032569747
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootT.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootQ.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.4995045
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.4995045
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootQ.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootQ.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.49950463
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.49950463
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftFootQ.w
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.08610656
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.08610656
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootT.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.99597967
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.99597967
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootT.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.03256977
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.03256977
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootT.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootQ.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.49950442
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.49950442
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootQ.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.50049496
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootQ.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.4995047
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.4995047
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightFootQ.w
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.6962602
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.6962602
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandT.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.39508566
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.39508566
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandT.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.029317556
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.029317556
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandT.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0011194708
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0011194708
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandQ.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.028612569
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.028612569
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandQ.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.99959004
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.99959004
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandQ.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.000031995765
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.000031995765
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHandQ.w
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6916188
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6916188
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandT.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.39508596
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.39508596
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandT.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.029317655
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.029317655
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandT.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.02861254
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.02861254
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandQ.x
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.0011195474
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.0011195474
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandQ.y
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.000032021475
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.000032021475
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandQ.z
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.99959004
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.99959004
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHandQ.w
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Spine Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Spine Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Spine Twist Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Chest Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Chest Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Chest Twist Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 1.6044449e-22
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 1.6044449e-22
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: UpperChest Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 2.0281193e-14
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 2.0281193e-14
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: UpperChest Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 3.1805545e-15
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 3.1805545e-15
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: UpperChest Twist Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.21768919
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.21768919
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Neck Nod Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.0000005364417
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.0000005364417
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Neck Tilt Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -2.5518072e-15
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -2.5518072e-15
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Neck Turn Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.1385466
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.1385466
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Head Nod Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0000005064527
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0000005064527
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Head Tilt Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.0000002003913
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.0000002003913
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Head Turn Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Eye Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Eye In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Eye Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Eye In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 1.0285543
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 1.0285543
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Jaw Close
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.0000021457988
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.0000021457988
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Jaw Left-Right
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.5288592
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.5288592
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Upper Leg Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.00000017935282
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.00000017935282
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Upper Leg In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.000000071362784
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.000000071362784
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Upper Leg Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.93421274
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.93421274
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Lower Leg Stretch
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00000023841858
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00000023841858
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Lower Leg Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.03387608
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.03387608
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Foot Up-Down
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00000055896726
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00000055896726
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Foot Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -1.4463487e-29
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -1.4463487e-29
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Toes Up-Down
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.5288592
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.5288592
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Upper Leg Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.000000049938695
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.000000049938695
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Upper Leg In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00000008376336
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00000008376336
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Upper Leg Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.93421274
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.93421274
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Lower Leg Stretch
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Lower Leg Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.03387639
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.03387639
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Foot Up-Down
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00000034893546
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00000034893546
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Foot Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Toes Up-Down
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.6577008
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.6577008
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Shoulder Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.026656672
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.026656672
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Shoulder Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.5008309
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.5008309
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Arm Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.2945701
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.2945701
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Arm Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00094974384
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00094974384
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Arm Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.89037263
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.89037263
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Forearm Stretch
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.0039196364
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.0039196364
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Forearm Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00038705475
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00038705475
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Hand Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.24678716
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.24678716
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Left Hand In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.65770036
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.65770036
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Shoulder Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.026655924
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.026655924
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Shoulder Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.5008307
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.5008307
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Arm Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.29456997
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.29456997
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Arm Front-Back
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00094974646
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00094974646
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Arm Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8903728
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8903728
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Forearm Stretch
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.0039196513
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.0039196513
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Forearm Twist In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.00038712102
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.00038712102
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Hand Down-Up
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.24678724
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.24678724
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: Right Hand In-Out
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.7149313
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.7149313
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Thumb.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.37668565
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.37668565
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Thumb.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.64628243
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.64628243
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Thumb.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.64628184
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.64628184
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Thumb.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Index.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.45739162
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.45739162
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Index.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Index.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Index.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Middle.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.61083114
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.61083114
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Middle.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Middle.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Middle.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.66797
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.66797
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Ring.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.6108282
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.6108282
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Ring.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Ring.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Ring.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Little.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.45739284
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.45739284
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Little.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Little.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116842
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: LeftHand.Little.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.71493024
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.71493024
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Thumb.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.37669381
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.37669381
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Thumb.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6462818
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6462818
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Thumb.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.64628184
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.64628184
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Thumb.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Index.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.45739165
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.45739165
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Index.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Index.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Index.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Middle.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.6108283
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.6108283
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Middle.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Middle.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116838
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Middle.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Ring.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.61083126
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.61083126
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Ring.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Ring.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Ring.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.6679698
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Little.1 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: -0.45739275
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: -0.45739275
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Little.Spread
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116837
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116837
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Little.2 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- - curve:
- serializedVersion: 2
- m_Curve:
- - serializedVersion: 2
- time: 0
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- - serializedVersion: 2
- time: 0.033333335
- value: 0.8116841
- inSlope: 0
- outSlope: 0
- tangentMode: 0
- m_PreInfinity: 2
- m_PostInfinity: 2
- m_RotationOrder: 4
- attribute: RightHand.Little.3 Stretched
- path:
- classID: 95
- script: {fileID: 0}
- m_EulerEditorCurves: []
- m_HasGenericRootTransform: 0
- m_HasMotionFloatCurves: 0
- m_GenerateMotionCurves: 0
- m_Events: []
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/HumanoidDefault.anim.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/HumanoidDefault.anim.meta
deleted file mode 100644
index 0b38f70..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/HumanoidDefault.anim.meta
+++ /dev/null
@@ -1,10 +0,0 @@
-fileFormatVersion: 2
-guid: c91389c39d842cc4190ea8be0836798a
-timeCreated: 1500990629
-licenseType: Pro
-NativeFormatImporter:
- externalObjects: {}
- mainObjectFileID: 7400000
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_DarkSkin.txt b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_DarkSkin.txt
deleted file mode 100644
index 14d0e57..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_DarkSkin.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-colorPlayhead,RGBA(1.000, 1.000, 1.000, 1.000)
-colorSelection,RGBA(0.239, 0.369, 0.596, 1.000)
-colorEndmarker,RGBA(0.239, 0.369, 0.596, 1.000)
-colorGroup,RGBA(0.153, 0.216, 0.224, 1.000)
-colorGroupTrackBackground,RGBA(0.080, 0.305, 0.328, 0.178)
-colorAnimation,RGBA(0.141, 0.333, 0.537, 1.000)
-colorAnimationRecorded,RGBA(0.248, 0.463, 0.691, 1.000)
-colorAudio,RGBA(1.000, 0.635, 0.000, 1.000)
-colorAudioWaveform,RGBA(0.129, 0.164, 0.254, 1.000)
-colorActivation,RGBA(0.000, 0.597, 0.128, 1.000)
-colorDropTarget,RGBA(0.514, 0.627, 0.827, 1.000)
-colorClipFont,RGBA(0.569, 0.580, 0.588, 1.000)
-colorInvalidClipOverlay,RGBA(1.000, 0.000, 0.000, 0.502)
-colorTrackBackground,RGBA(0.216, 0.216, 0.216, 0.628)
-colorTrackHeaderBackground,RGBA(0.255, 0.255, 0.255, 1.000)
-colorTrackDarken,RGBA(0.059, 0.059, 0.059, 0.672)
-colorTrackBackgroundRecording,RGBA(0.622, 0.085, 0.085, 0.347)
-colorInfiniteTrackBackgroundRecording,RGBA(0.391, 0.000, 0.000, 0.721)
-colorTrackBackgroundSelected,RGBA(0.260, 0.339, 0.477, 0.516)
-colorTrackFont,RGBA(0.718, 0.718, 0.718, 1.000)
-colorClipUnion,RGBA(0.229, 0.280, 0.316, 0.709)
-colorTopOutline3,RGBA(0.274, 0.274, 0.274, 1.000)
-colorDurationLine,RGBA(0.153, 0.231, 0.376, 0.709)
-colorRange,RGBA(0.733, 0.733, 0.733, 0.166)
-colorSequenceBackground,RGBA(0.161, 0.161, 0.161, 1.000)
-colorTooltipBackground,RGBA(0.114, 0.125, 0.129, 1.000)
-colorInfiniteClipLine,RGBA(0.322, 0.322, 0.322, 1.000)
-colorDefaultTrackDrawer,RGBA(0.855, 0.863, 0.871, 1.000)
-colorDuration,RGBA(0.660, 0.660, 0.660, 1.000)
-colorRecordingClipOutline,RGBA(1.000, 0.000, 0.000, 0.900)
-colorAnimEditorBinding,RGBA(0.212, 0.212, 0.212, 1.000)
-colorTimelineBackground,RGBA(0.216, 0.216, 0.216, 1.000)
-colorLockTextBG,RGBA(0.601, 0.601, 0.601, 0.709)
-colorInlineCurveVerticalLines,RGBA(1.000, 1.000, 1.000, 0.200)
-colorInlineCurveOutOfRangeOverlay,RGBA(0.000, 0.000, 0.000, 0.500)
-colorInlineCurvesBackground,RGBA(0.000, 0.000, 0.000, 0.000)
-markerDrawerBackgroundColor,RGBA(0.180, 0.180, 0.180, 1.000)
-markerHeaderDrawerBackgroundColor,RGBA(0.190, 0.190, 0.190, 1.000)
-colorControl,RGBA(0.231, 0.635, 0.584, 1.000)
-colorSubSequenceBackground,RGBA(0.218, 0.218, 0.218, 1.000)
-colorTrackSubSequenceBackground,RGBA(0.153, 0.180, 0.180, 0.792)
-colorTrackSubSequenceBackgroundSelected,RGBA(0.056, 0.189, 0.189, 1.000)
-colorSubSequenceOverlay,RGBA(0.009, 0.080, 0.080, 0.286)
-colorSubSequenceDurationLine,RGBA(0.000, 1.000, 0.880, 0.460)
-clipBckg,RGBA(0.251, 0.267, 0.290, 1.000)
-clipSelectedBckg,RGBA(0.408, 0.427, 0.478, 1.000)
-clipBorderColor,RGBA(0.196, 0.196, 0.196, 1.000)
-clipEaseBckgColor,RGBA(0.153, 0.153, 0.153, 1.000)
-clipBlendIn,RGBA(0.286, 0.306, 0.329, 1.000)
-clipBlendInSelected,RGBA(0.408, 0.427, 0.478, 1.000)
-clipBlendOut,RGBA(0.286, 0.306, 0.329, 1.000)
-clipBlendOutSelected,RGBA(0.408, 0.427, 0.478, 1.000)
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_DarkSkin.txt.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_DarkSkin.txt.meta
deleted file mode 100644
index 33aa8d2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_DarkSkin.txt.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 54905d77593e9eb44a7c25d704bb4163
-timeCreated: 1471357208
-licenseType: Pro
-TextScriptImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_LightSkin.txt b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_LightSkin.txt
deleted file mode 100644
index 5495a19..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_LightSkin.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-colorPlayhead,RGBA(1.000, 1.000, 1.000, 1.000)
-colorSelection,RGBA(0.290, 0.494, 0.878, 1.000)
-colorEndmarker,RGBA(0.368, 0.599, 1.000, 1.000)
-colorGroup,RGBA(0.518, 0.569, 0.576, 1.000)
-colorGroupTrackBackground,RGBA(0.023, 0.235, 0.258, 0.157)
-colorAnimation,RGBA(0.090, 0.388, 0.627, 1.000)
-colorAnimationRecorded,RGBA(0.084, 0.450, 0.588, 1.000)
-colorAudio,RGBA(1.000, 0.678, 0.000, 1.000)
-colorAudioWaveform,RGBA(0.333, 0.388, 0.466, 1.000)
-colorActivation,RGBA(0.000, 0.684, 0.148, 1.000)
-colorDropTarget,RGBA(0.667, 0.788, 0.918, 1.000)
-colorClipFont,RGBA(0.000, 0.000, 0.000, 0.804)
-colorInvalidClipOverlay,RGBA(0.981, 0.000, 0.000, 0.502)
-colorTrackBackground,RGBA(0.550, 0.550, 0.550, 0.561)
-colorTrackHeaderBackground,RGBA(0.824, 0.824, 0.824, 1.000)
-colorTrackDarken,RGBA(0.290, 0.290, 0.290, 0.591)
-colorTrackBackgroundRecording,RGBA(0.422, 0.000, 0.000, 0.529)
-colorInfiniteTrackBackgroundRecording,RGBA(0.410, 0.000, 0.000, 0.941)
-colorTrackBackgroundSelected,RGBA(0.274, 0.466, 0.828, 0.459)
-colorTrackFont,RGBA(0.000, 0.000, 0.000, 1.000)
-colorClipUnion,RGBA(0.702, 0.741, 0.772, 0.472)
-colorTopOutline3,RGBA(0.274, 0.274, 0.274, 1.000)
-colorDurationLine,RGBA(0.467, 0.635, 0.925, 0.697)
-colorRange,RGBA(1.000, 1.000, 1.000, 0.172)
-colorSequenceBackground,RGBA(0.665, 0.665, 0.665, 1.000)
-colorTooltipBackground,RGBA(0.266, 0.266, 0.266, 1.000)
-colorInfiniteClipLine,RGBA(0.804, 0.804, 0.804, 1.000)
-colorDefaultTrackDrawer,RGBA(0.855, 0.863, 0.871, 1.000)
-colorDuration,RGBA(0.660, 0.660, 0.660, 1.000)
-colorRecordingClipOutline,RGBA(1.000, 0.083, 0.083, 0.900)
-colorAnimEditorBinding,RGBA(0.815, 0.815, 0.815, 1.000)
-colorTimelineBackground,RGBA(0.855, 0.855, 0.855, 1.000)
-colorLockTextBG,RGBA(0.341, 0.341, 0.341, 0.866)
-colorInlineCurveVerticalLines,RGBA(1.000, 1.000, 1.000, 0.200)
-colorInlineCurveOutOfRangeOverlay,RGBA(0.915, 0.915, 0.915, 0.569)
-colorInlineCurvesBackground,RGBA(0.245, 0.245, 0.245, 0.471)
-markerDrawerBackgroundColor,RGBA(0.517, 0.517, 0.517, 1.000)
-markerHeaderDrawerBackgroundColor,RGBA(0.762, 0.762, 0.762, 1.000)
-colorControl,RGBA(0.192, 0.693, 0.629, 1.000)
-colorSubSequenceBackground,RGBA(0.695, 0.695, 0.695, 1.000)
-colorTrackSubSequenceBackground,RGBA(0.280, 0.405, 0.389, 0.329)
-colorTrackSubSequenceBackgroundSelected,RGBA(0.073, 0.252, 0.252, 1.000)
-colorSubSequenceOverlay,RGBA(0.053, 0.118, 0.118, 0.300)
-colorSubSequenceDurationLine,RGBA(0.200, 0.723, 0.654, 1.000)
-clipBckg,RGBA(0.534, 0.551, 0.580, 1.000)
-clipSelectedBckg,RGBA(0.690, 0.714, 0.753, 1.000)
-clipBorderColor,RGBA(0.459, 0.476, 0.500, 1.000)
-clipEaseBckgColor,RGBA(0.651, 0.651, 0.651, 1.000)
-clipBlendIn,RGBA(0.533, 0.553, 0.580, 1.000)
-clipBlendInSelected,RGBA(0.690, 0.714, 0.753, 1.000)
-clipBlendOut,RGBA(0.533, 0.553, 0.580, 1.000)
-clipBlendOutSelected,RGBA(0.690, 0.714, 0.753, 1.000)
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_LightSkin.txt.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_LightSkin.txt.meta
deleted file mode 100644
index b1927d6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/StyleSheets/res/Timeline_LightSkin.txt.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 3235ecefad2a6a645aa0222aca200aeb
-timeCreated: 1471352677
-licenseType: Pro
-TextScriptImporter:
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineEditor.cs
deleted file mode 100644
index 198273f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineEditor.cs
+++ /dev/null
@@ -1,173 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- /// <summary>
- /// Information currently being edited in the Timeline Editor Window.
- /// </summary>
- public static class TimelineEditor
- {
- /// <summary>
- /// The PlayableDirector associated with the timeline currently being shown in the Timeline window.
- /// </summary>
- public static PlayableDirector inspectedDirector { get { return state == null ? null : state.editSequence.director; } }
-
- /// <summary>
- /// The PlayableDirector responsible for the playback of the timeline currently being shown in the Timeline window.
- /// </summary>
- public static PlayableDirector masterDirector { get { return state == null ? null : state.masterSequence.director; } }
-
- /// <summary>
- /// The TimelineAsset currently being shown in the Timeline window.
- /// </summary>
- public static TimelineAsset inspectedAsset { get { return state == null ? null : state.editSequence.asset; } }
-
- /// <summary>
- /// The TimelineAsset at the root of the hierarchy currently being shown in the Timeline window.
- /// </summary>
- public static TimelineAsset masterAsset { get { return state == null ? null : state.masterSequence.asset; } }
-
- /// <summary>
- /// The PlayableDirector currently being shown in the Timeline Editor Window.
- /// </summary>
- [Obsolete("playableDirector is ambiguous. Please select either inspectedDirector or masterDirector instead.", false)]
- public static PlayableDirector playableDirector { get { return inspectedDirector; } }
-
- /// <summary>
- /// The TimelineAsset currently being shown in the Timeline Editor Window.
- /// </summary>
- [Obsolete("timelineAsset is ambiguous. Please select either inspectedAsset or masterAsset instead.", false)]
- public static TimelineAsset timelineAsset { get { return inspectedAsset; } }
-
-
- /// <summary>
- /// <para>
- /// Refreshes the different components affected by the currently inspected
- /// <see cref="UnityEngine.Timeline.TimelineAsset"/>, based on the <see cref="RefreshReason"/> provided.
- /// </para>
- /// <para>
- /// For better performance, it is recommended that you invoke this method once, after you modify the
- /// <see cref="UnityEngine.Timeline.TimelineAsset"/>. You should also combine reasons using the <c>|</c> operator.
- /// </para>
- /// </summary>
- /// <remarks>
- /// Note: This operation is not synchronous. It is performed during the next GUI loop.
- /// </remarks>
- /// <param name="reason">The reason why a refresh should be performed.</param>
- public static void Refresh(RefreshReason reason)
- {
- if (state == null)
- return;
-
- if ((reason & RefreshReason.ContentsAddedOrRemoved) != 0)
- {
- state.Refresh();
- }
- else if ((reason & RefreshReason.ContentsModified) != 0)
- {
- state.rebuildGraph = true;
- }
- else if ((reason & RefreshReason.SceneNeedsUpdate) != 0)
- {
- state.Evaluate();
- }
-
- window.Repaint();
- }
-
- static TimelineWindow window { get { return TimelineWindow.instance; } }
- static WindowState state { get { return window == null ? null : window.state; } }
-
- internal static readonly Clipboard clipboard = new Clipboard();
-
- /// <summary>
- /// The list of clips selected in the TimelineEditor.
- /// </summary>
- public static TimelineClip[] selectedClips
- {
- get { return Selection.GetFiltered<EditorClip>(SelectionMode.Unfiltered).Select(e => e.clip).Where(x => x != null).ToArray(); }
- set
- {
- if (value == null || value.Length == 0)
- {
- Selection.objects = null;
- }
- else
- {
- var objects = new List<UnityEngine.Object>();
- foreach (var clip in value)
- {
- if (clip == null)
- continue;
-
- var editorClip = EditorClipFactory.GetEditorClip(clip);
- if (editorClip != null)
- objects.Add(editorClip);
- }
-
- Selection.objects = objects.ToArray();
- }
- }
- }
-
- /// <summary>
- /// The clip selected in the TimelineEditor.
- /// </summary>
- /// <remarks>
- /// If there are multiple clips selected, this property returns the first clip.
- /// </remarks>
- public static TimelineClip selectedClip
- {
- get
- {
- var editorClip = Selection.activeObject as EditorClip;
- if (editorClip != null)
- return editorClip.clip;
- return null;
- }
- set
- {
- var editorClip = (value != null) ? EditorClipFactory.GetEditorClip(value) : null;
- Selection.activeObject = editorClip;
- }
- }
- }
-
-
- /// <summary>
- /// <see cref="TimelineEditor.Refresh"/> uses these flags to determine what needs to be refreshed or updated.
- /// </summary>
- /// <remarks>
- /// Use the <c>|</c> operator to combine flags.
- /// <example>
- /// <c>TimelineEditor.Refresh(RefreshReason.ContentsModified | RefreshReason.SceneNeedsUpdate);</c>
- /// </example>
- /// </remarks>
- [Flags]
- public enum RefreshReason
- {
- /// <summary>
- /// Use this flag when a change to the Timeline requires that the Timeline window be redrawn.
- /// </summary>
- WindowNeedsRedraw = 1 << 0,
-
- /// <summary>
- /// Use this flag when a change to the Timeline requires that the Scene be updated.
- /// </summary>
- SceneNeedsUpdate = 1 << 1,
-
- /// <summary>
- /// Use this flag when a Timeline element was modified.
- /// </summary>
- ContentsModified = 1 << 2,
-
- /// <summary>
- /// Use this flag when an element was added to or removed from the Timeline.
- /// </summary>
- ContentsAddedOrRemoved = 1 << 3
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineEditor.cs.meta
deleted file mode 100644
index eeac1a3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c072e5b741a87974385c270827879cbf
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineHelpers.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineHelpers.cs
deleted file mode 100644
index 11b86f7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineHelpers.cs
+++ /dev/null
@@ -1,929 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Reflection;
-using UnityEditor.MemoryProfiler;
-using UnityEditor.SceneManagement;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- static class TimelineHelpers
- {
- static List<Type> s_SubClassesOfTrackDrawer;
-
- // check whether the exposed reference is explicitly named
- static bool IsExposedReferenceExplicitlyNamed(string name)
- {
- if (string.IsNullOrEmpty(name))
- return false;
-
- GUID guid;
- return !GUID.TryParse(name, out guid);
- }
-
- static string GenerateExposedReferenceName()
- {
- return UnityEditor.GUID.Generate().ToString();
- }
-
- public static void CloneExposedReferences(ScriptableObject clone, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable)
- {
- var cloneObject = new SerializedObject(clone);
- SerializedProperty prop = cloneObject.GetIterator();
- while (prop.Next(true))
- {
- if (prop.propertyType == SerializedPropertyType.ExposedReference)
- {
- var exposedNameProp = prop.FindPropertyRelative("exposedName");
- var sourceKey = exposedNameProp.stringValue;
- var destKey = sourceKey;
-
- if (!IsExposedReferenceExplicitlyNamed(sourceKey))
- destKey = GenerateExposedReferenceName();
-
- exposedNameProp.stringValue = destKey;
-
- var requiresCopy = sourceTable != destTable || sourceKey != destKey;
- if (requiresCopy && sourceTable != null && destTable != null)
- {
- var valid = false;
- var target = sourceTable.GetReferenceValue(sourceKey, out valid);
- if (valid && target != null)
- {
- var existing = destTable.GetReferenceValue(destKey, out valid);
- if (!valid || existing != target)
- {
- var destTableObj = destTable as UnityEngine.Object;
- if (destTableObj != null)
- TimelineUndo.PushUndo(destTableObj, "Create Clip");
- destTable.SetReferenceValue(destKey, target);
- }
- }
- }
- }
- }
- cloneObject.ApplyModifiedPropertiesWithoutUndo();
- }
-
- public static ScriptableObject CloneReferencedPlayableAsset(ScriptableObject original, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable, Object newOwner)
- {
- var clone = Object.Instantiate(original);
- SaveCloneToAsset(clone, newOwner);
- if (clone == null || (clone as IPlayableAsset) == null)
- {
- throw new InvalidCastException("could not cast instantiated object into IPlayableAsset");
- }
- CloneExposedReferences(clone, sourceTable, destTable);
- TimelineUndo.RegisterCreatedObjectUndo(clone, "Create clip");
-
- return clone;
- }
-
- static void SaveCloneToAsset(Object clone, Object newOwner)
- {
- if (newOwner == null)
- return;
-
- var containerPath = AssetDatabase.GetAssetPath(newOwner);
- var containerAsset = AssetDatabase.LoadAssetAtPath<Object>(containerPath);
- if (containerAsset != null)
- {
- TimelineCreateUtilities.SaveAssetIntoObject(clone, containerAsset);
- EditorUtility.SetDirty(containerAsset);
- }
- }
-
- static AnimationClip CloneAnimationClip(AnimationClip clip, Object owner)
- {
- if (clip == null)
- return null;
-
- var newClip = Object.Instantiate(clip);
- newClip.name = AnimationTrackRecorder.GetUniqueRecordedClipName(owner, clip.name);
-
- SaveAnimClipIntoObject(newClip, owner);
- TimelineUndo.RegisterCreatedObjectUndo(newClip, "Create clip");
-
- return newClip;
- }
-
- public static TimelineClip Clone(TimelineClip clip, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable, double time, PlayableAsset newOwner = null)
- {
- if (newOwner == null)
- newOwner = clip.parentTrack;
-
- TimelineClip newClip = DuplicateClip(clip, sourceTable, destTable, newOwner);
- newClip.start = time;
- var track = newClip.parentTrack;
- track.SortClips();
- TrackExtensions.ComputeBlendsFromOverlaps(track.clips);
- return newClip;
- }
-
- // Creates a complete clone of a track and returns it.
- // Does not parent, or add the track to the sequence
- public static TrackAsset Clone(PlayableAsset parent, TrackAsset trackAsset, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable, PlayableAsset assetOwner = null)
- {
- if (trackAsset == null)
- return null;
-
- var timelineAsset = trackAsset.timelineAsset;
- if (timelineAsset == null)
- return null;
-
- if (assetOwner == null)
- assetOwner = parent;
-
- // create a duplicate, then clear the clips and subtracks
- var newTrack = Object.Instantiate(trackAsset);
- newTrack.name = trackAsset.name;
- newTrack.ClearClipsInternal();
- newTrack.parent = parent;
- newTrack.ClearSubTracksInternal();
-
- if (trackAsset.hasCurves)
- newTrack.curves = CloneAnimationClip(trackAsset.curves, assetOwner);
-
- var animTrack = trackAsset as AnimationTrack;
- if (animTrack != null && animTrack.infiniteClip != null)
- ((AnimationTrack)newTrack).infiniteClip = CloneAnimationClip(animTrack.infiniteClip, assetOwner);
-
- foreach (var clip in trackAsset.clips)
- {
- var newClip = DuplicateClip(clip, sourceTable, destTable, assetOwner);
- newClip.parentTrack = newTrack;
- }
-
- newTrack.ClearMarkers();
- foreach (var e in trackAsset.GetMarkersRaw())
- {
- var newMarker = Object.Instantiate(e);
- newTrack.AddMarker(newMarker);
- SaveCloneToAsset(newMarker, assetOwner);
- if (newMarker is IMarker)
- {
- (newMarker as IMarker).Initialize(newTrack);
- }
- }
-
- newTrack.SetCollapsed(trackAsset.GetCollapsed());
-
- // calling code is responsible for adding to asset, adding to sequence, and parenting,
- // and duplicating subtracks
- return newTrack;
- }
-
- public static IEnumerable<ITimelineItem> DuplicateItemsUsingCurrentEditMode(WindowState state, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable, ItemsPerTrack items, TrackAsset targetParent, double candidateTime, string undoOperation)
- {
- if (targetParent != null)
- {
- var aTrack = targetParent as AnimationTrack;
- if (aTrack != null)
- aTrack.ConvertToClipMode();
-
- var duplicatedItems = DuplicateItems(items, targetParent, sourceTable, destTable, undoOperation);
- FinalizeInsertItemsUsingCurrentEditMode(state, new[] {duplicatedItems}, candidateTime);
- return duplicatedItems.items;
- }
-
- return Enumerable.Empty<ITimelineItem>();
- }
-
- public static IEnumerable<ITimelineItem> DuplicateItemsUsingCurrentEditMode(WindowState state, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable, IEnumerable<ItemsPerTrack> items, double candidateTime, string undoOperation)
- {
- var duplicatedItemsGroups = new List<ItemsPerTrack>();
- foreach (var i in items)
- duplicatedItemsGroups.Add(DuplicateItems(i, i.targetTrack, sourceTable, destTable, undoOperation));
-
- FinalizeInsertItemsUsingCurrentEditMode(state, duplicatedItemsGroups, candidateTime);
- return duplicatedItemsGroups.SelectMany(i => i.items);
- }
-
- internal static ItemsPerTrack DuplicateItems(ItemsPerTrack items, TrackAsset target, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable, string undoOperation)
- {
- var duplicatedItems = new List<ITimelineItem>();
- var clips = items.clips.ToList();
- if (clips.Any())
- {
- TimelineUndo.PushUndo(target, undoOperation);
- duplicatedItems.AddRange(DuplicateClips(clips, sourceTable, destTable, target).ToItems());
- TimelineUndo.PushUndo(target, undoOperation); // second undo causes reference fixups on redo (case 1063868)
- }
-
- var markers = items.markers.ToList();
- if (markers.Any())
- {
- duplicatedItems.AddRange(MarkerModifier.CloneMarkersToParent(markers, target).ToItems());
- }
-
- return new ItemsPerTrack(target, duplicatedItems.ToArray());
- }
-
- static void FinalizeInsertItemsUsingCurrentEditMode(WindowState state, IList<ItemsPerTrack> itemsGroups, double candidateTime)
- {
- EditMode.FinalizeInsertItemsAtTime(itemsGroups, candidateTime);
-
- SelectionManager.Clear();
- foreach (var itemsGroup in itemsGroups)
- {
- var track = itemsGroup.targetTrack;
- var items = itemsGroup.items;
-
- EditModeUtils.SetParentTrack(items, track);
-
- track.SortClips();
-
- TrackExtensions.ComputeBlendsFromOverlaps(track.clips);
- track.CalculateExtrapolationTimes();
-
- foreach (var item in items)
- if (item.gui != null) item.gui.Select();
- }
-
- var allItems = itemsGroups.SelectMany(x => x.items).ToList();
- foreach (var item in allItems)
- {
- SelectionManager.Add(item);
- }
-
- FrameItems(state, allItems);
- }
-
- internal static TimelineClip Clone(TimelineClip clip, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable, PlayableAsset newOwner)
- {
- var editorClip = EditorClipFactory.GetEditorClip(clip);
- // Workaround for Clips not being unity object, assign it to a editor clip wrapper, clone it, and pull the clip back out
- var newClip = Object.Instantiate(editorClip).clip;
-
- // perform fix ups for what Instantiate cannot properly detect
- SelectionManager.Remove(newClip);
- newClip.parentTrack = null;
- newClip.curves = null; // instantiate might copy the reference, we need to clear it
-
- // curves are explicitly owned by the clip
- if (clip.curves != null)
- {
- newClip.CreateCurves(AnimationTrackRecorder.GetUniqueRecordedClipName(newOwner, clip.curves.name));
- EditorUtility.CopySerialized(clip.curves, newClip.curves);
- TimelineCreateUtilities.SaveAssetIntoObject(newClip.curves, newOwner);
- }
-
- ScriptableObject playableAsset = newClip.asset as ScriptableObject;
- if (playableAsset != null && newClip.asset is IPlayableAsset)
- {
- var clone = CloneReferencedPlayableAsset(playableAsset, sourceTable, destTable, newOwner);
- newClip.asset = clone;
-
- // special case to make the name match the recordable clips, but only if they match on the original clip
- var originalRecordedAsset = clip.asset as AnimationPlayableAsset;
- if (clip.recordable && originalRecordedAsset != null && originalRecordedAsset.clip != null)
- {
- AnimationPlayableAsset clonedAnimationAsset = clone as AnimationPlayableAsset;
- if (clonedAnimationAsset != null && clonedAnimationAsset.clip != null)
- {
- clonedAnimationAsset.clip = CloneAnimationClip(originalRecordedAsset.clip, newOwner);
- if (clip.displayName == originalRecordedAsset.clip.name && newClip.recordable)
- {
- clonedAnimationAsset.name = clonedAnimationAsset.clip.name;
- newClip.displayName = clonedAnimationAsset.name;
- }
- }
- }
- }
-
- return newClip;
- }
-
- static TimelineClip[] DuplicateClips(IEnumerable<TimelineClip> clips, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable, PlayableAsset newOwner)
- {
- var newClips = new TimelineClip[clips.Count()];
-
- int i = 0;
-
- foreach (var clip in clips)
- {
- var newParent = newOwner == null ? clip.parentTrack : newOwner;
- var newClip = DuplicateClip(clip, sourceTable, destTable, newParent);
- newClip.parentTrack = null;
- newClips[i++] = newClip;
- }
-
- return newClips;
- }
-
- static TimelineClip DuplicateClip(TimelineClip clip, IExposedPropertyTable sourceTable, IExposedPropertyTable destTable, PlayableAsset newOwner)
- {
- var newClip = Clone(clip, sourceTable, destTable, newOwner);
-
- var track = clip.parentTrack;
- if (track != null)
- {
- newClip.parentTrack = track;
- track.AddClip(newClip);
- }
-
- var editor = CustomTimelineEditorCache.GetClipEditor(clip);
- try
- {
- editor.OnCreate(newClip, track, clip);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
-
- return newClip;
- }
-
- // Given a track type, return all the playable asset types that should be
- // visible to the user via menus
-
- // Given a track type, return all the playable asset types
-
-
- public static Type GetCustomDrawer(Type trackType)
- {
- if (s_SubClassesOfTrackDrawer == null)
- {
- s_SubClassesOfTrackDrawer = TypeCache.GetTypesDerivedFrom<TrackDrawer>().ToList();
- }
-
- foreach (var drawer in s_SubClassesOfTrackDrawer)
- {
- var attr = Attribute.GetCustomAttribute(drawer, typeof(CustomTrackDrawerAttribute), false) as CustomTrackDrawerAttribute;
- if (attr != null && attr.assetType.IsAssignableFrom(trackType))
- return drawer;
- }
-
- return typeof(TrackDrawer);
- }
-
- public static bool HaveSameContainerAsset(Object assetA, Object assetB)
- {
- if (assetA == null || assetB == null)
- return false;
-
- if ((assetA.hideFlags & HideFlags.DontSave) != 0 && (assetB.hideFlags & HideFlags.DontSave) != 0)
- return true;
-
- return AssetDatabase.GetAssetPath(assetA) == AssetDatabase.GetAssetPath(assetB);
- }
-
- public static void SaveAnimClipIntoObject(AnimationClip clip, Object asset)
- {
- if (asset != null)
- {
- clip.hideFlags = asset.hideFlags & ~HideFlags.HideInHierarchy; // show animation clips, even if the parent track isn't
- if ((clip.hideFlags & HideFlags.DontSave) == 0)
- {
- AssetDatabase.AddObjectToAsset(clip, asset);
- }
- }
- }
-
- // Make sure a gameobject has all the required component for the given TrackAsset
- public static Component AddRequiredComponent(GameObject go, TrackAsset asset)
- {
- if (go == null || asset == null)
- return null;
-
- var bindings = asset.outputs;
- if (!bindings.Any())
- return null;
-
- var binding = bindings.First();
- if (binding.outputTargetType == null || !typeof(Component).IsAssignableFrom(binding.outputTargetType))
- return null;
-
- var component = go.GetComponent(binding.outputTargetType);
- if (component == null)
- {
- component = Undo.AddComponent(go, binding.outputTargetType);
- }
- return component;
- }
-
- public static string GetTrackCategoryName(System.Type trackType)
- {
- if (trackType == null)
- return string.Empty;
-
- string s = GetItemCategoryName(trackType);
- if (!String.IsNullOrEmpty(s))
- return s;
-
- if (trackType.Namespace == null || trackType.Namespace.Contains("UnityEngine"))
- return string.Empty;
-
- return trackType.Namespace + "/";
- }
-
- public static string GetItemCategoryName(System.Type itemType)
- {
- if (itemType == null)
- return string.Empty;
-
- var attribute = itemType.GetCustomAttribute(typeof(MenuCategoryAttribute)) as MenuCategoryAttribute;
- if (attribute != null)
- {
- var s = attribute.category;
- if (!s.EndsWith("/"))
- s += "/";
- return s;
- }
-
- return string.Empty;
- }
-
- public static string GetTrackMenuName(System.Type trackType)
- {
- return ObjectNames.NicifyVariableName(trackType.Name);
- }
-
- // retrieve the duration of a single loop, taking into account speed
- public static double GetLoopDuration(TimelineClip clip)
- {
- double length = clip.clipAssetDuration;
- if (double.IsNegativeInfinity(length) || double.IsNaN(length))
- return TimelineClip.kMinDuration;
-
- if (length == double.MaxValue || double.IsInfinity(length))
- {
- return double.MaxValue;
- }
-
- return Math.Max(TimelineClip.kMinDuration, length / clip.timeScale);
- }
-
- public static double GetClipAssetEndTime(TimelineClip clip)
- {
- var d = GetLoopDuration(clip);
- if (d < double.MaxValue)
- d = clip.FromLocalTimeUnbound(d);
-
- return d;
- }
-
- // Checks if the underlying asset duration is usable. This means the clip
- // can loop or hold
- public static bool HasUsableAssetDuration(TimelineClip clip)
- {
- double length = clip.clipAssetDuration;
- return (length < TimelineClip.kMaxTimeValue) && !double.IsInfinity(length) && !double.IsNaN(length);
- }
-
- // Retrieves the starting point of each loop of a clip, relative to the start of the clip
- // Note that if clip-in is bigger than the loopDuration, negative times will be added
- public static double[] GetLoopTimes(TimelineClip clip)
- {
- if (!HasUsableAssetDuration(clip))
- return new[] {-clip.clipIn / clip.timeScale};
-
- var times = new List<double>();
- double loopDuration = GetLoopDuration(clip);
-
- if (loopDuration <= TimeUtility.kTimeEpsilon)
- return new double[] {};
-
-
- double start = -clip.clipIn / clip.timeScale;
- double end = start + loopDuration;
-
- times.Add(start);
- while (end < clip.duration - WindowState.kTimeEpsilon)
- {
- times.Add(end);
- end += loopDuration;
- }
-
- return times.ToArray();
- }
-
- public static double GetCandidateTime(WindowState state, Vector2? mousePosition, params TrackAsset[] trackAssets)
- {
- // Right-Click
- if (mousePosition != null)
- return state.GetSnappedTimeAtMousePosition(mousePosition.Value);
-
- // Playhead
- if (state != null && state.editSequence.director != null)
- return state.SnapToFrameIfRequired(state.editSequence.time);
-
- // Specific tracks end
- if (trackAssets != null && trackAssets.Any())
- {
- var items = trackAssets.SelectMany(t => t.GetItems()).ToList();
- return items.Any() ? items.Max(i => i.end) : 0;
- }
-
- // Timeline tracks end
- if (state != null && state.editSequence.asset != null)
- return state.editSequence.asset.flattenedTracks.Any() ? state.editSequence.asset.flattenedTracks.Max(t => t.end) : 0;
-
- return 0.0;
- }
-
- public static TimelineClip CreateClipOnTrack(Object asset, TrackAsset parentTrack, WindowState state)
- {
- return CreateClipOnTrack(asset, parentTrack, GetCandidateTime(state, null, parentTrack), state);
- }
-
- public static TimelineClip CreateClipOnTrack(Object asset, TrackAsset parentTrack, double candidateTime)
- {
- WindowState state = null;
- if (TimelineWindow.instance != null)
- state = TimelineWindow.instance.state;
-
- return CreateClipOnTrack(asset, parentTrack, candidateTime, state);
- }
-
- public static TimelineClip CreateClipOnTrack(Type playableAssetType, TrackAsset parentTrack, WindowState state)
- {
- return CreateClipOnTrack(playableAssetType, null, parentTrack, GetCandidateTime(state, null, parentTrack), state);
- }
-
- public static TimelineClip CreateClipOnTrack(Type playableAssetType, TrackAsset parentTrack, double candidateTime)
- {
- return CreateClipOnTrack(playableAssetType, null, parentTrack, candidateTime);
- }
-
- public static TimelineClip CreateClipOnTrack(Object asset, TrackAsset parentTrack, double candidateTime, WindowState state)
- {
- if (parentTrack == null)
- return null;
-
- // pick the first clip type available, unless there is one that matches the asset
- var clipType = TypeUtility.GetPlayableAssetsHandledByTrack(parentTrack.GetType()).FirstOrDefault();
- if (asset != null)
- clipType = TypeUtility.GetAssetTypesForObject(parentTrack.GetType(), asset).FirstOrDefault();
-
- if (clipType == null)
- return null;
-
- return CreateClipOnTrack(clipType, asset, parentTrack, candidateTime, state);
- }
-
- public static TimelineClip CreateClipOnTrack(Type playableAssetType, Object assignableObject, TrackAsset parentTrack, double candidateTime)
- {
- WindowState state = null;
- if (TimelineWindow.instance != null)
- state = TimelineWindow.instance.state;
-
- return CreateClipOnTrack(playableAssetType, assignableObject, parentTrack, candidateTime, state);
- }
-
- public static TimelineClip CreateClipOnTrack(Type playableAssetType, Object assignableObject, TrackAsset parentTrack, double candidateTime, WindowState state)
- {
- if (parentTrack == null)
- return null;
-
- bool revertClipMode = false;
-
- // Ideally this is done automatically by the animation track,
- // but it's editor only because it does animation clip manipulation
- var animTrack = parentTrack as AnimationTrack;
- if (animTrack != null && animTrack.CanConvertToClipMode())
- {
- animTrack.ConvertToClipMode();
- revertClipMode = true;
- }
-
- TimelineClip newClip = null;
- if (TypeUtility.IsConcretePlayableAsset(playableAssetType))
- {
- try
- {
- newClip = parentTrack.CreateClipOfType(playableAssetType);
- }
- catch (InvalidOperationException) {} // expected on a mismatch
- }
-
- if (newClip == null)
- {
- if (revertClipMode)
- animTrack.ConvertFromClipMode(animTrack.timelineAsset);
-
- Debug.LogWarningFormat("Cannot create a clip of type {0} on a track of type {1}", playableAssetType.Name, parentTrack.GetType().Name);
- return null;
- }
-
- AddClipOnTrack(newClip, parentTrack, candidateTime, assignableObject, state);
-
- return newClip;
- }
-
- /// <summary>
- /// Create a clip on track from an existing PlayableAsset
- /// </summary>
- public static TimelineClip CreateClipOnTrackFromPlayableAsset(IPlayableAsset asset, TrackAsset parentTrack, double candidateTime)
- {
- if (parentTrack == null || asset == null || !TypeUtility.IsConcretePlayableAsset(asset.GetType()))
- return null;
-
- TimelineClip newClip = null;
- try
- {
- newClip = parentTrack.CreateClipFromPlayableAsset(asset);
- }
- catch
- {
- return null;
- }
-
- WindowState state = null;
- if (TimelineWindow.instance != null)
- state = TimelineWindow.instance.state;
-
- AddClipOnTrack(newClip, parentTrack, candidateTime, null, state);
-
- return newClip;
- }
-
- public static void CreateClipsFromObjects(Type assetType, TrackAsset targetTrack, double candidateTime, IEnumerable<Object> objects)
- {
- foreach (var obj in objects)
- {
- if (ObjectReferenceField.FindObjectReferences(assetType).Any(f => f.IsAssignable(obj)))
- {
- var clip = CreateClipOnTrack(assetType, obj, targetTrack, candidateTime);
- candidateTime += clip.duration;
- }
- }
- }
-
- public static void CreateMarkersFromObjects(Type assetType, TrackAsset targetTrack, double candidateTime, IEnumerable<Object> objects)
- {
- var mList = new List<ITimelineItem>();
- foreach (var obj in objects)
- {
- if (ObjectReferenceField.FindObjectReferences(assetType).Any(f => f.IsAssignable(obj)))
- {
- var marker = CreateMarkerOnTrack(assetType, obj, targetTrack, candidateTime);
- mList.Add(marker.ToItem());
- }
- }
-
- var state = TimelineWindow.instance.state;
- for (var i = 1; i < mList.Count; ++i)
- {
- var delta = ItemsUtils.TimeGapBetweenItems(mList[i - 1], mList[i], state);
- mList[i].start += delta;
- }
-
- FinalizeInsertItemsUsingCurrentEditMode(state, new[] {new ItemsPerTrack(targetTrack, mList)}, candidateTime);
- state.Refresh();
- }
-
- public static IMarker CreateMarkerOnTrack(Type markerType, Object assignableObject, TrackAsset parentTrack, double candidateTime)
- {
- WindowState state = null;
- if (TimelineWindow.instance != null)
- state = TimelineWindow.instance.state;
-
- var newMarker = parentTrack.CreateMarker(markerType, candidateTime); //Throws if marker is not an object
- var obj = newMarker as ScriptableObject;
- if (obj != null)
- obj.name = TypeUtility.GetDisplayName(markerType);
-
- if (assignableObject != null)
- {
- var director = state != null ? state.editSequence.director : null;
- foreach (var field in ObjectReferenceField.FindObjectReferences(markerType))
- {
- if (field.IsAssignable(assignableObject))
- {
- field.Assign(newMarker as ScriptableObject, assignableObject, director);
- break;
- }
- }
- }
-
- try
- {
- CustomTimelineEditorCache.GetMarkerEditor(newMarker).OnCreate(newMarker, null);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
-
- return newMarker;
- }
-
- public static void CreateClipsFromTypes(IEnumerable<Type> assetTypes, TrackAsset targetTrack, double candidateTime)
- {
- foreach (var assetType in assetTypes)
- {
- var clip = CreateClipOnTrack(assetType, targetTrack, candidateTime);
- candidateTime += clip.duration;
- }
- }
-
- public static void FrameItems(WindowState state, IEnumerable<ITimelineItem> items)
- {
- if (items == null || !items.Any() || state == null)
- return;
-
- // if this is called before a repaint, the timeArea can be null
- var window = state.editorWindow as TimelineWindow;
- if (window == null || window.timeArea == null)
- return;
-
- var start = (float)items.Min(x => x.start);
- var end = (float)items.Max(x => x.end);
- var timeRange = state.timeAreaShownRange;
-
- // nothing to do
- if (timeRange.x <= start && timeRange.y >= end)
- return;
-
- var ds = start - timeRange.x;
- var de = end - timeRange.y;
-
- var padding = state.PixelDeltaToDeltaTime(15);
- var d = Math.Abs(ds) < Math.Abs(de) ? ds - padding : de + padding;
-
- state.SetTimeAreaShownRange(timeRange.x + d, timeRange.y + d);
- }
-
- public static void Frame(WindowState state, double start, double end)
- {
- var timeRange = state.timeAreaShownRange;
-
- // nothing to do
- if (timeRange.x <= start && timeRange.y >= end)
- return;
-
- var ds = (float)start - timeRange.x;
- var de = (float)end - timeRange.y;
-
- var padding = state.PixelDeltaToDeltaTime(15);
- var d = Math.Abs(ds) < Math.Abs(de) ? ds - padding : de + padding;
-
- state.SetTimeAreaShownRange(timeRange.x + d, timeRange.y + d);
- }
-
- public static void RangeSelect<T>(IList<T> totalCollection, IList<T> currentSelection, T clickedItem, Action<T> selector, Action<T> remover) where T : class
- {
- var firstSelect = currentSelection.FirstOrDefault();
- if (firstSelect == null)
- {
- selector(clickedItem);
- return;
- }
-
- var idxFirstSelect = totalCollection.IndexOf(firstSelect);
- var idxLastSelect = totalCollection.IndexOf(currentSelection.Last());
- var idxClicked = totalCollection.IndexOf(clickedItem);
-
- //case 927807: selection is invalid
- if (idxFirstSelect < 0)
- {
- SelectionManager.Clear();
- selector(clickedItem);
- return;
- }
-
- // Expand the selection between the first selected clip and clicked clip (insertion order is important)
- if (idxFirstSelect < idxClicked)
- for (var i = idxFirstSelect; i <= idxClicked; ++i)
- selector(totalCollection[i]);
- else
- for (var i = idxFirstSelect; i >= idxClicked; --i)
- selector(totalCollection[i]);
-
- // If clicked inside the selected range, shrink the selection between the the click and last selected clip
- if (Math.Min(idxFirstSelect, idxLastSelect) < idxClicked && idxClicked < Math.Max(idxFirstSelect, idxLastSelect))
- for (var i = Math.Min(idxLastSelect, idxClicked); i <= Math.Max(idxLastSelect, idxClicked); ++i)
- remover(totalCollection[i]);
-
- // Ensure clicked clip is selected
- selector(clickedItem);
- }
-
- public static void Bind(TrackAsset track, Object obj, PlayableDirector director)
- {
- if (director != null && track != null)
- {
- var bindType = TypeUtility.GetTrackBindingAttribute(track.GetType());
- if (bindType == null || bindType.type == null)
- return;
-
- if (obj == null || bindType.type.IsInstanceOfType(obj))
- {
- TimelineUndo.PushUndo(director, "Bind Track");
- director.SetGenericBinding(track, obj);
- }
- else if (obj is GameObject && typeof(Component).IsAssignableFrom(bindType.type))
- {
- var component = (obj as GameObject).GetComponent(bindType.type);
- if (component == null)
- component = Undo.AddComponent(obj as GameObject, bindType.type);
-
- TimelineUndo.PushUndo(director, "Bind Track");
- director.SetGenericBinding(track, component);
- }
- }
- }
-
- /// <summary>
- /// Shared code for adding a clip to a track
- /// </summary>
- static void AddClipOnTrack(TimelineClip newClip, TrackAsset parentTrack, double candidateTime, Object assignableObject, WindowState state)
- {
- var playableAsset = newClip.asset as IPlayableAsset;
-
- newClip.parentTrack = null;
- newClip.timeScale = 1.0;
- newClip.mixInCurve = AnimationCurve.EaseInOut(0, 0, 1, 1);
- newClip.mixOutCurve = AnimationCurve.EaseInOut(0, 1, 1, 0);
-
- var playableDirector = state != null ? state.editSequence.director : null;
-
- if (assignableObject != null)
- {
- foreach (var field in ObjectReferenceField.FindObjectReferences(playableAsset.GetType()))
- {
- if (field.IsAssignable(assignableObject))
- {
- newClip.displayName = assignableObject.name;
- field.Assign(newClip.asset as PlayableAsset, assignableObject, playableDirector);
- break;
- }
- }
- }
-
- // get the clip editor
- try
- {
- CustomTimelineEditorCache.GetClipEditor(newClip).OnCreate(newClip, parentTrack, null);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
-
-
- // reset the duration as the newly assigned values may have changed the default
- if (playableAsset != null)
- {
- var candidateDuration = playableAsset.duration;
-
- if (!double.IsInfinity(candidateDuration) && candidateDuration > 0)
- newClip.duration = Math.Min(Math.Max(candidateDuration, TimelineClip.kMinDuration), TimelineClip.kMaxTimeValue);
- }
-
- var newClipsByTracks = new[] { new ItemsPerTrack(parentTrack, new[] {newClip.ToItem()}) };
-
- FinalizeInsertItemsUsingCurrentEditMode(state, newClipsByTracks, candidateTime);
-
- if (state != null)
- state.Refresh();
- }
-
- public static TrackAsset CreateTrack(TimelineAsset asset, Type type, TrackAsset parent = null, string name = null)
- {
- if (asset == null)
- return null;
-
- var track = asset.CreateTrack(type, parent, name);
- if (track != null)
- {
- if (parent != null)
- parent.SetCollapsed(false);
-
- var editor = CustomTimelineEditorCache.GetTrackEditor(track);
- try
- {
- editor.OnCreate(track, null);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
- TimelineEditor.Refresh(RefreshReason.ContentsAddedOrRemoved);
- }
-
- return track;
- }
-
- public static TrackAsset CreateTrack(Type type, TrackAsset parent = null, string name = null)
- {
- return CreateTrack(TimelineEditor.inspectedAsset, type, parent, name);
- }
-
- public static T CreateTrack<T>(TimelineAsset asset, TrackAsset parent = null, string name = null) where T : TrackAsset
- {
- return (T)CreateTrack(asset, typeof(T), parent, name);
- }
-
- public static T CreateTrack<T>(TrackAsset parent = null, string name = null) where T : TrackAsset
- {
- return (T)CreateTrack(TimelineEditor.inspectedAsset, typeof(T), parent, name);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineHelpers.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineHelpers.cs.meta
deleted file mode 100644
index cd30309..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineHelpers.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5a7f0d89a47f18c41b6ddf60dfae1bde
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineSelection.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineSelection.cs
deleted file mode 100644
index 2efe58d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineSelection.cs
+++ /dev/null
@@ -1,331 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class SelectionManager
- {
- static IClipCurveEditorOwner currentInlineEditorCurve;
-
- public static void AddObject(Object obj)
- {
- if (obj == null)
- return;
-
- currentInlineEditorCurve = null;
- if (Selection.Contains(obj))
- return;
-
- Selection.Add(obj);
- }
-
- public static void Add(TrackAsset obj)
- {
- // this can indicate a deleted track (Unity 'null')
- if (obj == null)
- return;
-
- currentInlineEditorCurve = null;
- if (!Selection.Contains(obj))
- {
- WindowState state = null;
- if (TimelineWindow.instance != null)
- state = TimelineWindow.instance.state;
-
- if (!Selection.instanceIDs.Any() && state != null && state.editSequence.director != null)
- Selection.SetActiveObjectWithContext(obj, TimelineWindow.instance.state.editSequence.director);
- else
- Selection.Add(obj);
- }
- }
-
- public static void Add(TimelineClip item)
- {
- AddObject(EditorClipFactory.GetEditorClip(item));
- }
-
- public static void Add(IMarker marker)
- {
- var markerAsObject = marker as Object;
- if (markerAsObject != null)
- {
- if (!Selection.Contains(markerAsObject))
- {
- currentInlineEditorCurve = null;
- WindowState state = null;
- if (TimelineWindow.instance != null)
- state = TimelineWindow.instance.state;
-
- if (!Selection.instanceIDs.Any() && state != null && state.editSequence.director != null)
- Selection.SetActiveObjectWithContext(markerAsObject, TimelineWindow.instance.state.editSequence.director);
- else
- Selection.Add(markerAsObject);
- }
- }
- }
-
- public static void Add(ITimelineItem item)
- {
- var clipItem = item as ClipItem;
- if (clipItem != null)
- {
- Add(clipItem.clip);
- }
- else
- {
- var markerItem = item as MarkerItem;
- if (markerItem != null)
- {
- Add(markerItem.marker);
- }
- }
- }
-
- public static void SelectOnly(TrackAsset track)
- {
- RemoveTimelineSelection();
- Add(track);
- }
-
- public static void SelectOnly(TimelineClip clip)
- {
- RemoveTimelineSelection();
- Add(clip);
- }
-
- public static void SelectOnly(IMarker item)
- {
- RemoveTimelineSelection();
- Add(item);
- }
-
- public static void SelectOnly(ITimelineItem item)
- {
- var clipItem = item as ClipItem;
- if (clipItem != null)
- {
- SelectOnly(clipItem.clip);
- }
- else
- {
- var markerItem = item as MarkerItem;
- if (markerItem != null)
- {
- SelectOnly(markerItem.marker);
- }
- }
- }
-
- public static void SelectInlineCurveEditor(IClipCurveEditorOwner selection)
- {
- // case 1030681 - selecting an inline curve should remove clips and
- // tracks to prevent shortcuts being forwarded incorrectly
- if (selection != null && selection != currentInlineEditorCurve)
- {
- var track = selection.owner;
- var selectedTracks = SelectedTracks().ToArray();
- var selectedClips = SelectedClips().ToArray();
-
- foreach (var t in selectedTracks)
- {
- if (t != track)
- Remove(t);
- }
-
- foreach (var c in selectedClips)
- {
- if (c.parentTrack != track)
- Remove(c);
- }
- }
-
-
- currentInlineEditorCurve = selection;
- }
-
- public static IClipCurveEditorOwner GetCurrentInlineEditorCurve()
- {
- return currentInlineEditorCurve;
- }
-
- public static bool IsCurveEditorFocused(IClipCurveEditorOwner selection)
- {
- return selection == currentInlineEditorCurve;
- }
-
- public static bool Contains(TrackAsset item)
- {
- if (item == null)
- return false;
-
- return Selection.Contains(item);
- }
-
- public static bool Contains(TimelineClip item)
- {
- if (item == null)
- return false;
- return Selection.Contains(EditorClipFactory.GetEditorClip(item));
- }
-
- public static bool Contains(Object obj)
- {
- return Selection.Contains(obj);
- }
-
- public static bool Contains(IMarker marker)
- {
- var markerAsObject = marker as Object;
- return Selection.Contains(markerAsObject);
- }
-
- public static bool Contains(ITimelineItem item)
- {
- var clipItem = item as ClipItem;
- if (clipItem != null)
- {
- return Contains(clipItem.clip);
- }
-
- var markerItem = item as MarkerItem;
- return markerItem != null && Contains(markerItem.marker);
- }
-
- public static void Clear()
- {
- currentInlineEditorCurve = null;
- Selection.activeObject = null;
- }
-
- public static void UnSelectTracks()
- {
- var newSelection = Selection.objects.Where(x => !(x is TrackAsset));
- Selection.objects = newSelection.ToArray();
- }
-
- public static void Remove(TimelineClip item)
- {
- Remove(EditorClipFactory.GetEditorClip(item));
- }
-
- public static void Remove(IMarker marker)
- {
- var o = marker as Object;
- if (o != null)
- {
- Remove(o);
- }
- }
-
- static void Remove(Object item)
- {
- Selection.Remove(item);
- }
-
- public static void Remove(TrackAsset item)
- {
- Selection.Remove(item);
- }
-
- public static void Remove(ITimelineItem item)
- {
- var clipItem = item as ClipItem;
- if (clipItem != null)
- {
- Remove(clipItem.clip);
- }
- else
- {
- var markerItem = item as MarkerItem;
- if (markerItem != null)
- {
- Remove(markerItem.marker);
- }
- }
- }
-
- public static void RemoveTimelineSelection()
- {
- Selection.objects = Selection.objects.Where(s => !IsTimelineType(s)).ToArray();
- }
-
- public static void RemoveAllClips()
- {
- Selection.objects = Selection.objects.Where(s => !(s is EditorClip)).ToArray();
- }
-
- public static int Count()
- {
- return Selection.objects.Count(IsTimelineType);
- }
-
- public static IEnumerable<TimelineClipGUI> SelectedClipGUI()
- {
- foreach (var clip in SelectedClips())
- {
- var gui = ItemToItemGui.GetGuiForClip(clip);
- if (gui != null)
- yield return gui;
- }
- }
-
- public static IEnumerable<TimelineClip> SelectedClips()
- {
- return Selection.objects.OfType<EditorClip>().Select(x => x.clip);
- }
-
- public static IEnumerable<IMarker> SelectedMarkers()
- {
- return Selection.objects.OfType<IMarker>();
- }
-
- public static IEnumerable<TrackAsset> SelectedTracks()
- {
- return Selection.objects.OfType<TrackAsset>();
- }
-
- public static IEnumerable<T> SelectedItemOfType<T>()
- {
- if (typeof(T) == typeof(TimelineClip))
- return SelectedClips().Cast<T>();
- if (typeof(T).IsAssignableFrom(typeof(IMarker)))
- return SelectedMarkers().Cast<T>();
- return Enumerable.Empty<T>();
- }
-
- public static IEnumerable<TimelineTrackBaseGUI> SelectedTrackGUI()
- {
- var tracks = SelectedTracks();
- return TimelineWindow.instance.allTracks.Where(x => tracks.Contains(x.track));
- }
-
- static bool IsTimelineType(Object o)
- {
- return o is TrackAsset || o is EditorClip || o is IMarker;
- }
-
- public static IEnumerable<ITimelineItem> SelectedItems()
- {
- var list = new List<ITimelineItem>();
- foreach (var obj in Selection.objects)
- {
- var editorClip = obj as EditorClip;
- if (editorClip != null)
- {
- list.Add(new ClipItem(editorClip.clip));
- continue;
- }
-
- var marker = obj as IMarker;
- if (marker != null)
- {
- list.Add(new MarkerItem(marker));
- }
- }
-
- return list;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineSelection.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineSelection.cs.meta
deleted file mode 100644
index 2a42098..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineSelection.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 65b045927b3948f43afb31234936c6aa
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineUtility.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineUtility.cs
deleted file mode 100644
index 5dc90f7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineUtility.cs
+++ /dev/null
@@ -1,315 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-using Object = UnityEngine.Object;
-using UnityEditor.Experimental.SceneManagement;
-
-namespace UnityEditor.Timeline
-{
- static class TimelineUtility
- {
- public static void ReorderTracks(List<ScriptableObject> allTracks, List<TrackAsset> tracks, ScriptableObject insertAfterAsset, bool up)
- {
- foreach (var i in tracks)
- allTracks.Remove(i);
-
- int index = allTracks.IndexOf(insertAfterAsset);
-
- index = up ? Math.Max(index, 0) : index + 1;
-
- allTracks.InsertRange(index, tracks.OfType<ScriptableObject>());
- }
-
- // Gets the track that holds the game object reference for this track.
- public static TrackAsset GetSceneReferenceTrack(TrackAsset asset)
- {
- if (asset == null)
- return null;
- if (asset.isSubTrack)
- return GetSceneReferenceTrack(asset.parent as TrackAsset);
- return asset;
- }
-
- public static bool TrackHasAnimationCurves(TrackAsset track)
- {
- if (track.hasCurves)
- return true;
-
- var animTrack = track as AnimationTrack;
- if (animTrack != null && animTrack.infiniteClip != null)
- return true;
-
- for (int i = 0; i < track.clips.Length; i++)
- {
- var curveClip = track.clips[i].curves;
- var animationClip = track.clips[i].animationClip;
-
- // prune out clip with zero curves
- if (curveClip != null && curveClip.empty)
- curveClip = null;
-
- if (animationClip != null && animationClip.empty)
- animationClip = null;
-
- // prune out clips coming from FBX
- if (animationClip != null && ((animationClip.hideFlags & HideFlags.NotEditable) != 0))
- animationClip = null;
-
- if (!track.clips[i].recordable)
- animationClip = null;
-
- if ((curveClip != null) || (animationClip != null))
- return true;
- }
-
- return false;
- }
-
- // get the game object reference associated with this
- public static GameObject GetSceneGameObject(PlayableDirector director, TrackAsset asset)
- {
- if (director == null || asset == null)
- return null;
-
- asset = GetSceneReferenceTrack(asset);
-
- var gameObject = director.GetGenericBinding(asset) as GameObject;
- var component = director.GetGenericBinding(asset) as Component;
- if (component != null)
- gameObject = component.gameObject;
- return gameObject;
- }
-
- public static void SetSceneGameObject(PlayableDirector director, TrackAsset asset, GameObject go)
- {
- if (director == null || asset == null)
- return;
-
- asset = GetSceneReferenceTrack(asset);
- var bindings = asset.outputs;
- if (bindings.Count() == 0)
- return;
-
- var binding = bindings.First();
- if (binding.outputTargetType == typeof(GameObject))
- {
- BindingUtility.Bind(director, asset, go);
- }
- else
- {
- BindingUtility.Bind(director, asset, TimelineHelpers.AddRequiredComponent(go, asset));
- }
- }
-
- public static PlayableDirector[] GetDirectorsInSceneUsingAsset(PlayableAsset asset)
- {
- const HideFlags hideFlags =
- HideFlags.HideInHierarchy | HideFlags.HideInInspector |
- HideFlags.DontSaveInEditor | HideFlags.NotEditable;
-
- var prefabMode = PrefabStageUtility.GetCurrentPrefabStage();
-
- var inScene = new List<PlayableDirector>();
- var allDirectors = Resources.FindObjectsOfTypeAll(typeof(PlayableDirector)) as PlayableDirector[];
- foreach (var director in allDirectors)
- {
- if ((director.hideFlags & hideFlags) != 0)
- continue;
-
- string assetPath = AssetDatabase.GetAssetPath(director.transform.root.gameObject);
- if (!String.IsNullOrEmpty(assetPath))
- continue;
-
- if (prefabMode != null && !prefabMode.IsPartOfPrefabContents(director.gameObject))
- continue;
-
- if (asset == null || (asset != null && director.playableAsset == asset))
- {
- inScene.Add(director);
- }
- }
- return inScene.ToArray();
- }
-
- public static PlayableDirector GetDirectorComponentForGameObject(GameObject gameObject)
- {
- return gameObject != null ? gameObject.GetComponent<PlayableDirector>() : null;
- }
-
- public static TimelineAsset GetTimelineAssetForDirectorComponent(PlayableDirector director)
- {
- return director != null ? director.playableAsset as TimelineAsset : null;
- }
-
- public static bool IsPrefabOrAsset(Object obj)
- {
- return EditorUtility.IsPersistent(obj) || (obj.hideFlags & HideFlags.NotEditable) != 0;
- }
-
- // TODO -- Need to add this to SerializedProperty so we can get replicate the accuracy that exists
- // in the undo system
- internal static string PropertyToString(SerializedProperty property)
- {
- switch (property.propertyType)
- {
- case SerializedPropertyType.Integer:
- return property.intValue.ToString();
- case SerializedPropertyType.Float:
- return property.floatValue.ToString();
- case SerializedPropertyType.String:
- return property.stringValue;
- case SerializedPropertyType.Boolean:
- return property.boolValue ? "1" : "0";
- case SerializedPropertyType.Color:
- return property.colorValue.ToString();
- case SerializedPropertyType.ArraySize:
- return property.intValue.ToString();
- case SerializedPropertyType.Enum:
- return property.intValue.ToString();
- case SerializedPropertyType.ObjectReference:
- return string.Empty;
- case SerializedPropertyType.LayerMask:
- return property.intValue.ToString();
- case SerializedPropertyType.Character:
- return property.intValue.ToString();
- case SerializedPropertyType.AnimationCurve:
- return property.animationCurveValue.ToString();
- case SerializedPropertyType.Gradient:
- return property.gradientValue.ToString();
- case SerializedPropertyType.Vector3:
- return property.vector3Value.ToString();
- case SerializedPropertyType.Vector4:
- return property.vector4Value.ToString();
- case SerializedPropertyType.Vector2:
- return property.vector2Value.ToString();
- case SerializedPropertyType.Rect:
- return property.rectValue.ToString();
- case SerializedPropertyType.Bounds:
- return property.boundsValue.ToString();
- case SerializedPropertyType.Quaternion:
- return property.quaternionValue.ToString();
- case SerializedPropertyType.Generic:
- return string.Empty;
- default:
- Debug.LogWarning("Unknown Property Type: " + property.propertyType);
- return string.Empty;
- }
- }
-
- // Is this a recordable clip on an animation track.
- internal static bool IsRecordableAnimationClip(TimelineClip clip)
- {
- if (!clip.recordable)
- return false;
-
- AnimationPlayableAsset asset = clip.asset as AnimationPlayableAsset;
- if (asset == null)
- return false;
-
- return true;
- }
-
- public static IList<PlayableDirector> GetSubTimelines(TimelineClip clip, IExposedPropertyTable director)
- {
- var editor = CustomTimelineEditorCache.GetClipEditor(clip);
- List<PlayableDirector> directors = new List<PlayableDirector>();
- try
- {
- editor.GetSubTimelines(clip, director as PlayableDirector, directors);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
-
- return directors;
- }
-
- public static bool IsAllSubTrackMuted(TrackAsset asset)
- {
- if (asset is GroupTrack)
- return asset.mutedInHierarchy;
-
- foreach (TrackAsset t in asset.GetChildTracks())
- {
- if (!t.muted)
- return false;
-
- var childMuted = IsAllSubTrackMuted(t);
-
- if (!childMuted)
- return false;
- }
- return true;
- }
-
- public static bool IsParentMuted(TrackAsset asset)
- {
- TrackAsset p = asset.parent as TrackAsset;
- if (p == null) return false;
- return p is GroupTrack ? p.mutedInHierarchy : IsParentMuted(p);
- }
-
- public static IEnumerable<PlayableDirector> GetAllDirectorsInHierarchy(PlayableDirector mainDirector)
- {
- var directors = new HashSet<PlayableDirector> { mainDirector };
- GetAllDirectorsInHierarchy(mainDirector, directors);
- return directors;
- }
-
- static void GetAllDirectorsInHierarchy(PlayableDirector director, ISet<PlayableDirector> directors)
- {
- var timelineAsset = director.playableAsset as TimelineAsset;
- if (timelineAsset == null)
- return;
-
- foreach (var track in timelineAsset.GetOutputTracks())
- {
- foreach (var clip in track.clips)
- {
- foreach (var subDirector in GetSubTimelines(clip, director))
- {
- if (!directors.Contains(subDirector))
- {
- directors.Add(subDirector);
- GetAllDirectorsInHierarchy(subDirector, directors);
- }
- }
- }
- }
- }
-
- public static IEnumerable<T> GetBindingsFromDirectors<T>(IEnumerable<PlayableDirector> directors) where T : Object
- {
- var bindings = new HashSet<T>();
- foreach (var director in directors)
- {
- if (director.playableAsset == null) continue;
- foreach (var output in director.playableAsset.outputs)
- {
- var binding = director.GetGenericBinding(output.sourceObject) as T;
- if (binding != null)
- bindings.Add(binding);
- }
- }
- return bindings;
- }
-
- public static bool IsLockedFromGroup(TrackAsset asset)
- {
- TrackAsset p = asset.parent as TrackAsset;
- if (p == null) return false;
- return p is GroupTrack ? p.lockedInHierarchy : IsLockedFromGroup(p);
- }
-
- internal static bool IsCurrentSequenceValid()
- {
- return TimelineWindow.instance != null
- && TimelineWindow.instance.state != null
- && TimelineWindow.instance.state.editSequence != null;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineUtility.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineUtility.cs.meta
deleted file mode 100644
index b854453..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/TimelineUtility.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a3949cc8bd731bb47bedf6589367d0c9
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Tooltip.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Tooltip.cs
deleted file mode 100644
index d88567c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Tooltip.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class Tooltip
- {
- public GUIStyle style { get; set; }
-
- public string text { get; set; }
-
- GUIStyle m_Font;
-
- public GUIStyle font
- {
- get
- {
- if (m_Font != null)
- return m_Font;
-
- if (style != null)
- return style;
-
- // Default Font.
- m_Font = new GUIStyle();
- m_Font.font = EditorStyles.label.font;
-
- return m_Font;
- }
- set { m_Font = value; }
- }
-
- float m_Pad = 4.0f;
-
- public float pad
- {
- get { return m_Pad; }
- set { m_Pad = value; }
- }
-
- GUIContent m_TextContent;
-
- GUIContent textContent
- {
- get
- {
- if (m_TextContent == null)
- m_TextContent = new GUIContent();
-
- m_TextContent.text = text;
-
- return m_TextContent;
- }
- }
-
- Color m_ForeColor = Color.white;
-
- public Color foreColor
- {
- get { return m_ForeColor; }
- set { m_ForeColor = value; }
- }
-
- Rect m_Bounds;
-
- public Rect bounds
- {
- get
- {
- var size = font.CalcSize(textContent);
- m_Bounds.width = size.x + (2.0f * pad);
- m_Bounds.height = size.y + 2.0f;
-
- return m_Bounds;
- }
-
- set { m_Bounds = value; }
- }
-
- public Tooltip(GUIStyle theStyle, GUIStyle font)
- {
- style = theStyle;
- m_Font = font;
- }
-
- public Tooltip()
- {
- style = null;
- m_Font = null;
- }
-
- public void Draw()
- {
- if (string.IsNullOrEmpty(text))
- return;
-
- if (style != null)
- {
- using (new GUIColorOverride(DirectorStyles.Instance.customSkin.colorTooltipBackground))
- GUI.Label(bounds, GUIContent.none, style);
- }
-
- var textBounds = bounds;
- textBounds.x += pad;
- textBounds.width -= pad;
-
- using (new GUIColorOverride(foreColor))
- GUI.Label(textBounds, textContent, font);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Tooltip.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Tooltip.cs.meta
deleted file mode 100644
index 3640794..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Tooltip.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 55a8539917657b14baf6c6a051a7df22
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Trackhead.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Trackhead.cs
deleted file mode 100644
index 8a562b6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Trackhead.cs
+++ /dev/null
@@ -1,363 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class Gaps
- {
- static readonly string kInsertTime = "Insert Time";
-
- public static void Insert(TimelineAsset asset, double at, double amount, double tolerance)
- {
- // gather all clips
- var clips = asset.flattenedTracks.SelectMany(x => x.clips).Where(x => (x.start - at) >= -tolerance).ToList();
- var markers = asset.flattenedTracks.SelectMany(x => x.GetMarkers()).Where(x => (x.time - at) >= -tolerance).ToList();
-
- if (!clips.Any() && !markers.Any())
- return;
-
- // push undo on the tracks for the clips that are being modified
- foreach (var t in clips.Select(x => x.parentTrack).Distinct())
- {
- TimelineUndo.PushUndo(t, kInsertTime);
- }
-
- // push the clips
- foreach (var clip in clips)
- {
- clip.start += amount;
- }
-
- // push undos and move the markers
- foreach (var marker in markers)
- {
- var obj = marker as UnityEngine.Object;
- if (obj != null)
- TimelineUndo.PushUndo(obj, kInsertTime);
- marker.time += amount;
- }
-
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
- }
-
- class PlayheadContextMenu : Manipulator
- {
- readonly TimeAreaItem m_TimeAreaItem;
- static readonly int[] kFrameInsertionValues = {5, 10, 25, 100};
-
- public PlayheadContextMenu(TimeAreaItem timeAreaItem)
- {
- m_TimeAreaItem = timeAreaItem;
- }
-
- protected override bool ContextClick(Event evt, WindowState state)
- {
- if (!m_TimeAreaItem.bounds.Contains(evt.mousePosition))
- return false;
-
- var tolerance = TimeUtility.GetEpsilon(state.editSequence.time, state.referenceSequence.frameRate);
- var menu = new GenericMenu();
-
- if (!TimelineWindow.instance.state.editSequence.isReadOnly)
- {
- menu.AddItem(EditorGUIUtility.TrTextContent("Insert/Frame/Single"), false, () =>
- Gaps.Insert(state.editSequence.asset, state.editSequence.time, 1.0 / state.referenceSequence.frameRate, tolerance)
- );
-
- for (var i = 0; i != kFrameInsertionValues.Length; ++i)
- {
- double f = kFrameInsertionValues[i];
- menu.AddItem(EditorGUIUtility.TrTextContent("Insert/Frame/" + kFrameInsertionValues[i] + " Frames"), false, () =>
- Gaps.Insert(state.editSequence.asset, state.editSequence.time, f / state.referenceSequence.frameRate, tolerance)
- );
- }
-
- var playRangeTime = state.playRange;
- if (playRangeTime.y > playRangeTime.x)
- {
- menu.AddItem(EditorGUIUtility.TrTextContent("Insert/Selected Time"), false, () =>
- Gaps.Insert(state.editSequence.asset, playRangeTime.x, playRangeTime.y - playRangeTime.x, TimeUtility.GetEpsilon(playRangeTime.x, state.referenceSequence.frameRate))
- );
- }
- }
-
- menu.AddItem(EditorGUIUtility.TrTextContent("Select/Clips Ending Before"), false, () => SelectMenuCallback(x => x.end < state.editSequence.time + tolerance, state));
- menu.AddItem(EditorGUIUtility.TrTextContent("Select/Clips Starting Before"), false, () => SelectMenuCallback(x => x.start < state.editSequence.time + tolerance, state));
- menu.AddItem(EditorGUIUtility.TrTextContent("Select/Clips Ending After"), false, () => SelectMenuCallback(x => x.end - state.editSequence.time >= -tolerance, state));
- menu.AddItem(EditorGUIUtility.TrTextContent("Select/Clips Starting After"), false, () => SelectMenuCallback(x => x.start - state.editSequence.time >= -tolerance, state));
- menu.AddItem(EditorGUIUtility.TrTextContent("Select/Clips Intersecting"), false, () => SelectMenuCallback(x => x.start <= state.editSequence.time && state.editSequence.time <= x.end, state));
- menu.AddItem(EditorGUIUtility.TrTextContent("Select/Blends Intersecting"), false, () => SelectMenuCallback(x => SelectBlendingIntersecting(x, state.editSequence.time), state));
- menu.ShowAsContext();
-
- return true;
- }
-
- static bool SelectBlendingIntersecting(TimelineClip clip, double time)
- {
- return clip.start <= time && time <= clip.end && (
- (time <= clip.start + clip.blendInDuration) ||
- (time >= clip.end - clip.blendOutDuration)
- );
- }
-
- static void SelectMenuCallback(Func<TimelineClip, bool> selector, WindowState state)
- {
- var allClips = state.GetWindow().treeView.allClipGuis;
- if (allClips == null)
- return;
-
- SelectionManager.Clear();
- for (var i = 0; i != allClips.Count; ++i)
- {
- var c = allClips[i];
-
- if (c != null && c.clip != null && selector(c.clip))
- {
- SelectionManager.Add(c.clip);
- }
- }
- }
- }
-
- class TimeAreaContextMenu : Manipulator
- {
- protected override bool ContextClick(Event evt, WindowState state)
- {
- if (state.timeAreaRect.Contains(Event.current.mousePosition))
- {
- var menu = new GenericMenu();
- AddTimeAreaMenuItems(menu, state);
- menu.ShowAsContext();
- return true;
- }
- return false;
- }
-
- internal static void AddTimeAreaMenuItems(GenericMenu menu, WindowState state)
- {
- foreach (var value in Enum.GetValues(typeof(TimelineAsset.DurationMode)))
- {
- var mode = (TimelineAsset.DurationMode)value;
- var item = EditorGUIUtility.TextContent(string.Format(TimelineWindow.Styles.DurationModeText, L10n.Tr(ObjectNames.NicifyVariableName(mode.ToString()))));
-
- if (state.recording || state.IsEditingASubTimeline() || state.editSequence.asset == null
- || state.editSequence.isReadOnly)
- menu.AddDisabledItem(item);
- else
- menu.AddItem(item, state.editSequence.asset.durationMode == mode, () => SelectDurationCallback(state, mode));
-
- menu.AddItem(DirectorStyles.showMarkersOnTimeline, state.showMarkerHeader, () => new ToggleShowMarkersOnTimeline().Execute(state));
- }
- }
-
- static void SelectDurationCallback(WindowState state, TimelineAsset.DurationMode mode)
- {
- if (mode == state.editSequence.asset.durationMode)
- return;
-
- TimelineUndo.PushUndo(state.editSequence.asset, "Duration Mode");
-
-
- // if we switched from Auto to Fixed, use the auto duration as the new fixed duration so the end marker stay in the same position.
- if (state.editSequence.asset.durationMode == TimelineAsset.DurationMode.BasedOnClips && mode == TimelineAsset.DurationMode.FixedLength)
- {
- state.editSequence.asset.fixedDuration = state.editSequence.duration;
- }
-
- state.editSequence.asset.durationMode = mode;
- state.UpdateRootPlayableDuration(state.editSequence.duration);
- }
- }
-
- class Scrub : Manipulator
- {
- readonly Func<Event, WindowState, bool> m_OnMouseDown;
- readonly Action<double> m_OnMouseDrag;
- readonly Action m_OnMouseUp;
-
- bool m_IsCaptured;
-
- public Scrub(Func<Event, WindowState, bool> onMouseDown, Action<double> onMouseDrag, Action onMouseUp)
- {
- m_OnMouseDown = onMouseDown;
- m_OnMouseDrag = onMouseDrag;
- m_OnMouseUp = onMouseUp;
- }
-
- protected override bool MouseDown(Event evt, WindowState state)
- {
- if (evt.button != 0)
- return false;
-
- if (!m_OnMouseDown(evt, state))
- return false;
-
- state.AddCaptured(this);
- m_IsCaptured = true;
-
- return true;
- }
-
- protected override bool MouseUp(Event evt, WindowState state)
- {
- if (!m_IsCaptured)
- return false;
-
- m_IsCaptured = false;
- state.RemoveCaptured(this);
-
- m_OnMouseUp();
-
- return true;
- }
-
- protected override bool MouseDrag(Event evt, WindowState state)
- {
- if (!m_IsCaptured)
- return false;
-
- m_OnMouseDrag(state.GetSnappedTimeAtMousePosition(evt.mousePosition));
-
- return true;
- }
- }
-
- class TimeAreaItem : Control
- {
- public Color headColor { get; set; }
- public Color lineColor { get; set; }
- public bool drawLine { get; set; }
- public bool drawHead { get; set; }
- public bool canMoveHead { get; set; }
- public string tooltip { get; set; }
- public Vector2 boundOffset { get; set; }
-
- readonly GUIContent m_HeaderContent = new GUIContent();
- readonly GUIStyle m_Style;
- readonly Tooltip m_Tooltip;
-
- Rect m_BoundingRect;
-
- float widgetHeight { get { return m_Style.fixedHeight; } }
- float widgetWidth { get { return m_Style.fixedWidth; } }
-
- public Rect bounds
- {
- get
- {
- Rect r = m_BoundingRect;
- r.y = TimelineWindow.instance.state.timeAreaRect.yMax - widgetHeight;
- r.position += boundOffset;
-
- return r;
- }
- }
-
- public GUIStyle style
- {
- get { return m_Style; }
- }
-
-
- public bool showTooltip { get; set; }
-
- // is this the first frame the drag callback is being invoked
- public bool firstDrag { get; private set; }
-
- public TimeAreaItem(GUIStyle style, Action<double> onDrag)
- {
- m_Style = style;
- headColor = Color.white;
- var scrub = new Scrub(
- (evt, state) =>
- {
- firstDrag = true;
- return state.timeAreaRect.Contains(evt.mousePosition) && bounds.Contains(evt.mousePosition);
- },
- (d) =>
- {
- if (onDrag != null)
- onDrag(d);
- firstDrag = false;
- },
- () =>
- {
- showTooltip = false;
- firstDrag = false;
- }
- );
- AddManipulator(scrub);
- lineColor = m_Style.normal.textColor;
- drawLine = true;
- drawHead = true;
- canMoveHead = false;
- tooltip = string.Empty;
- boundOffset = Vector2.zero;
- m_Tooltip = new Tooltip(DirectorStyles.Instance.displayBackground, DirectorStyles.Instance.tinyFont);
- }
-
- public void Draw(Rect rect, WindowState state, double time)
- {
- var clipRect = new Rect(0.0f, 0.0f, TimelineWindow.instance.position.width, TimelineWindow.instance.position.height);
- clipRect.xMin += state.sequencerHeaderWidth;
-
- using (new GUIViewportScope(clipRect))
- {
- Vector2 windowCoordinate = rect.min;
- windowCoordinate.y += 4.0f;
-
- windowCoordinate.x = state.TimeToPixel(time);
-
- m_BoundingRect = new Rect((windowCoordinate.x - widgetWidth / 2.0f), windowCoordinate.y, widgetWidth, widgetHeight);
-
- // Do not paint if the time cursor goes outside the timeline bounds...
- if (Event.current.type == EventType.Repaint)
- {
- if (m_BoundingRect.xMax < state.timeAreaRect.xMin)
- return;
- if (m_BoundingRect.xMin > state.timeAreaRect.xMax)
- return;
- }
-
- var top = new Vector3(windowCoordinate.x, rect.y - DirectorStyles.kDurationGuiThickness);
- var bottom = new Vector3(windowCoordinate.x, rect.yMax);
-
- if (drawLine)
- {
- Rect lineRect = Rect.MinMaxRect(top.x - 0.5f, top.y, bottom.x + 0.5f, bottom.y);
- EditorGUI.DrawRect(lineRect, lineColor);
- }
-
- if (drawHead)
- {
- Color c = GUI.color;
- GUI.color = headColor;
- GUI.Box(bounds, m_HeaderContent, m_Style);
- GUI.color = c;
-
- if (canMoveHead)
- EditorGUIUtility.AddCursorRect(bounds, MouseCursor.MoveArrow);
- }
-
- if (showTooltip)
- {
- m_Tooltip.text = TimeReferenceUtility.ToTimeString(time);
-
- Vector2 position = bounds.position;
- position.y = state.timeAreaRect.y;
- position.y -= m_Tooltip.bounds.height;
- position.x -= Mathf.Abs(m_Tooltip.bounds.width - bounds.width) / 2.0f;
-
- Rect tooltipBounds = bounds;
- tooltipBounds.position = position;
- m_Tooltip.bounds = tooltipBounds;
-
- m_Tooltip.Draw();
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Trackhead.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Trackhead.cs.meta
deleted file mode 100644
index 310a4ff..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Trackhead.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 22899211c24eeb248b22704499dd108f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Unity.Timeline.Editor.asmdef b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Unity.Timeline.Editor.asmdef
deleted file mode 100644
index 9a68038..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Unity.Timeline.Editor.asmdef
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "name": "Unity.Timeline.Editor",
- "references": [
- "Unity.Timeline"
- ],
- "includePlatforms": [
- "Editor"
- ],
- "excludePlatforms": []
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Unity.Timeline.Editor.asmdef.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Unity.Timeline.Editor.asmdef.meta
deleted file mode 100644
index 1802ca3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Unity.Timeline.Editor.asmdef.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 02f771204943f4a40949438e873e3eff
-AssemblyDefinitionImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/UnityEditorInternals.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/UnityEditorInternals.cs
deleted file mode 100644
index 90ca722..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/UnityEditorInternals.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-using System;
-using UnityEngine;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- static class UnityEditorInternals
- {
- public static Object DoObjectField(Rect position, Object obj, Type type, int controlId, bool allowScene)
- {
-#if UNITY_2020_1_OR_NEWER
- var newObject = EditorGUI.DoObjectField(position, position, controlId, obj, null, type, null, allowScene, EditorStyles.objectField);
-#else
- var newObject = EditorGUI.DoObjectField(position, position, controlId, obj, type, null, null, allowScene, EditorStyles.objectField);
-#endif
- return newObject;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/UnityEditorInternals.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/UnityEditorInternals.cs.meta
deleted file mode 100644
index 3644d78..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/UnityEditorInternals.cs.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-fileFormatVersion: 2
-guid: f9045505a91f4aee87d5768fffc7de5c
-timeCreated: 1575581351 \ No newline at end of file
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities.meta
deleted file mode 100644
index 697240c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: a73ebdb6c1006364f8c7b37dc53d8ab7
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterCache.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterCache.cs
deleted file mode 100644
index d5f091f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterCache.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Reflection;
-
-namespace UnityEditor.Timeline
-{
- static class AnimatedParameterCache
- {
- static readonly Dictionary<Type, FieldInfo[]> k_ScriptPlayableFieldsCache = new Dictionary<Type, FieldInfo[]>();
- static readonly Dictionary<PropertyKey, FieldInfo> k_PropertyFieldInfoCache = new Dictionary<PropertyKey, FieldInfo>();
- static readonly Dictionary<PropertyKey, bool> k_PropertyIsAnimatableCache = new Dictionary<PropertyKey, bool>();
- static readonly Dictionary<PropertyKey, string> k_BindingNameCache = new Dictionary<PropertyKey, string>();
-
- public static bool TryGetScriptPlayableFields(Type type, out FieldInfo[] scriptPlayableFields)
- {
- return k_ScriptPlayableFieldsCache.TryGetValue(type, out scriptPlayableFields);
- }
-
- public static void SetScriptPlayableFields(Type type, FieldInfo[] scriptPlayableFields)
- {
- k_ScriptPlayableFieldsCache[type] = scriptPlayableFields;
- }
-
- public static bool TryGetFieldInfoForProperty(SerializedProperty property, out FieldInfo fieldInfo)
- {
- return k_PropertyFieldInfoCache.TryGetValue(new PropertyKey(property), out fieldInfo);
- }
-
- public static void SetFieldInfoForProperty(SerializedProperty property, FieldInfo fieldInfo)
- {
- k_PropertyFieldInfoCache[new PropertyKey(property)] = fieldInfo;
- }
-
- public static bool TryGetIsPropertyAnimatable(SerializedProperty property, out bool isAnimatable)
- {
- return k_PropertyIsAnimatableCache.TryGetValue(new PropertyKey(property), out isAnimatable);
- }
-
- public static void SetIsPropertyAnimatable(SerializedProperty property, bool isAnimatable)
- {
- k_PropertyIsAnimatableCache[new PropertyKey(property)] = isAnimatable;
- }
-
- public static bool TryGetBindingName(Type type, string path, out string bindingName)
- {
- return k_BindingNameCache.TryGetValue(new PropertyKey(type, path), out bindingName);
- }
-
- public static void SetBindingName(Type type, string path, string bindingName)
- {
- k_BindingNameCache[new PropertyKey(type, path)] = bindingName;
- }
- }
-
- struct PropertyKey : IEquatable<PropertyKey>
- {
- readonly Type m_Type;
- readonly string m_Path;
-
- public PropertyKey(SerializedProperty property)
- {
- m_Type = property.serializedObject.targetObject.GetType();
- m_Path = property.propertyPath;
- }
-
- public PropertyKey(Type type, string path)
- {
- m_Type = type;
- m_Path = path;
- }
-
- public bool Equals(PropertyKey other)
- {
- return m_Type == other.m_Type && string.Equals(m_Path, other.m_Path);
- }
-
- public override bool Equals(object obj)
- {
- if (ReferenceEquals(null, obj)) return false;
- return obj is PropertyKey && Equals((PropertyKey)obj);
- }
-
- public override int GetHashCode()
- {
- unchecked
- {
- return ((m_Type != null ? m_Type.GetHashCode() : 0) * 397) ^ (m_Path != null ? m_Path.GetHashCode() : 0);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterCache.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterCache.cs.meta
deleted file mode 100644
index 19831f1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterCache.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1fe0f539450e54dbc85bfb2fa6b466fb
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterUtility.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterUtility.cs
deleted file mode 100644
index 53542e3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterUtility.cs
+++ /dev/null
@@ -1,358 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Reflection;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-using UnityObject = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- static class AnimatedParameterUtility
- {
- static readonly Type k_DefaultAnimationType = typeof(TimelineAsset);
- static SerializedObject s_CachedObject;
-
- public static ICurvesOwner ToCurvesOwner(IPlayableAsset playableAsset, TimelineAsset timeline)
- {
- if (playableAsset == null)
- return null;
-
- var curvesOwner = playableAsset as ICurvesOwner;
- if (curvesOwner == null)
- {
- // If the asset is not directly an ICurvesOwner, it might be the asset for a TimelineClip
- curvesOwner = TimelineRecording.FindClipWithAsset(timeline, playableAsset);
- }
-
- return curvesOwner;
- }
-
- public static bool TryGetSerializedPlayableAsset(UnityObject asset, out SerializedObject serializedObject)
- {
- serializedObject = null;
- if (asset == null || Attribute.IsDefined(asset.GetType(), typeof(NotKeyableAttribute)) || !HasScriptPlayable(asset))
- return false;
-
- serializedObject = GetSerializedPlayableAsset(asset);
- return serializedObject != null;
- }
-
- public static SerializedObject GetSerializedPlayableAsset(UnityObject asset)
- {
- if (!(asset is IPlayableAsset))
- return null;
-
- var scriptObject = asset as ScriptableObject;
- if (scriptObject == null)
- return null;
-
- if (s_CachedObject == null || s_CachedObject.targetObject != asset)
- {
- s_CachedObject = new SerializedObject(scriptObject);
- }
-
- return s_CachedObject;
- }
-
- public static void UpdateSerializedPlayableAsset(UnityObject asset)
- {
- var so = GetSerializedPlayableAsset(asset);
- if (so != null)
- so.UpdateIfRequiredOrScript();
- }
-
- public static bool HasScriptPlayable(UnityObject asset)
- {
- if (asset == null)
- return false;
-
- var scriptPlayable = asset as IPlayableBehaviour;
- return scriptPlayable != null || GetScriptPlayableFields(asset as IPlayableAsset).Any();
- }
-
- public static FieldInfo[] GetScriptPlayableFields(IPlayableAsset asset)
- {
- if (asset == null)
- return new FieldInfo[0];
-
- FieldInfo[] scriptPlayableFields;
- if (!AnimatedParameterCache.TryGetScriptPlayableFields(asset.GetType(), out scriptPlayableFields))
- {
- scriptPlayableFields = GetScriptPlayableFields_Internal(asset);
- AnimatedParameterCache.SetScriptPlayableFields(asset.GetType(), scriptPlayableFields);
- }
-
- return scriptPlayableFields;
- }
-
- static FieldInfo[] GetScriptPlayableFields_Internal(IPlayableAsset asset)
- {
- return asset.GetType()
- .GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)
- .Where(
- f => typeof(IPlayableBehaviour).IsAssignableFrom(f.FieldType) && // The field is an IPlayableBehaviour
- (f.IsPublic || f.GetCustomAttributes(typeof(SerializeField), false).Any()) && // The field is either public or marked with [SerializeField]
- !f.GetCustomAttributes(typeof(NotKeyableAttribute), false).Any() && // The field is not marked with [NotKeyable]
- !f.GetCustomAttributes(typeof(HideInInspector), false).Any() && // The field is not marked with [HideInInspector]
- !f.FieldType.GetCustomAttributes(typeof(NotKeyableAttribute), false).Any()) // The field is not of a type marked with [NotKeyable]
- .ToArray();
- }
-
- public static bool HasAnyAnimatableParameters(UnityObject asset)
- {
- return GetAllAnimatableParameters(asset).Any();
- }
-
- public static IEnumerable<SerializedProperty> GetAllAnimatableParameters(UnityObject asset)
- {
- SerializedObject serializedObject;
- if (!TryGetSerializedPlayableAsset(asset, out serializedObject))
- yield break;
-
- var prop = serializedObject.GetIterator();
-
- // We need to keep this variable because prop starts invalid
- var outOfBounds = false;
- while (!outOfBounds && prop.NextVisible(true))
- {
- foreach (var property in SelectAnimatableProperty(prop))
- yield return property;
-
- // We can become out of bounds by calling SelectAnimatableProperty, if the last iterated property is a color.
- outOfBounds = !prop.isValid;
- }
- }
-
- static IEnumerable<SerializedProperty> SelectAnimatableProperty(SerializedProperty prop)
- {
- // We're only interested by animatable leaf parameters
- if (!prop.hasChildren && IsParameterAnimatable(prop))
- yield return prop.Copy();
-
- // Color type is not considered "visible" when iterating
- if (prop.propertyType == SerializedPropertyType.Color)
- {
- var end = prop.GetEndProperty();
-
- // For some reasons, if the last 2+ serialized properties are of type Color, prop becomes invalid and
- // Next() throws an exception. This is not the case when only the last serialized property is a Color.
- while (!SerializedProperty.EqualContents(prop, end) && prop.isValid && prop.Next(true))
- {
- foreach (var property in SelectAnimatableProperty(prop))
- yield return property;
- }
- }
- }
-
- public static bool IsParameterAnimatable(UnityObject asset, string parameterName)
- {
- SerializedObject serializedObject;
- if (!TryGetSerializedPlayableAsset(asset, out serializedObject))
- return false;
-
- var prop = serializedObject.FindProperty(parameterName);
- return IsParameterAnimatable(prop);
- }
-
- public static bool IsParameterAnimatable(SerializedProperty property)
- {
- if (property == null)
- return false;
-
- bool isAnimatable;
- if (!AnimatedParameterCache.TryGetIsPropertyAnimatable(property, out isAnimatable))
- {
- isAnimatable = IsParameterAnimatable_Internal(property);
- AnimatedParameterCache.SetIsPropertyAnimatable(property, isAnimatable);
- }
-
- return isAnimatable;
- }
-
- static bool IsParameterAnimatable_Internal(SerializedProperty property)
- {
- if (property == null)
- return false;
-
- var asset = property.serializedObject.targetObject;
-
- // Currently not supported
- if (asset is AnimationTrack)
- return false;
-
- if (IsParameterKeyable(property))
- return asset is IPlayableBehaviour || IsParameterAtPathAnimatable(asset, property.propertyPath);
-
- return false;
- }
-
- static bool IsParameterKeyable(SerializedProperty property)
- {
- return IsTypeAnimatable(property.propertyType) && IsKeyableInHierarchy(property);
- }
-
- static bool IsKeyableInHierarchy(SerializedProperty property)
- {
- const BindingFlags bindingFlags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance;
- var pathSegments = property.propertyPath.Split('.');
- var type = property.serializedObject.targetObject.GetType();
- foreach (var segment in pathSegments)
- {
- if (type.GetCustomAttributes(typeof(NotKeyableAttribute), false).Any())
- {
- return false;
- }
-
- if (type.IsArray)
- {
- if (segment != "Array")
- type = type.GetElementType();
- continue;
- }
-
- var fieldInfo = type.GetField(segment, bindingFlags);
-
- if (fieldInfo == null ||
- fieldInfo.GetCustomAttributes(typeof(NotKeyableAttribute), false).Any() ||
- fieldInfo.GetCustomAttributes(typeof(HideInInspector), false).Any())
- {
- return false;
- }
-
- type = fieldInfo.FieldType;
- }
-
- return true;
- }
-
- static bool IsParameterAtPathAnimatable(UnityObject asset, string path)
- {
- if (asset == null)
- return false;
-
- return GetScriptPlayableFields(asset as IPlayableAsset)
- .Any(
- f => path.StartsWith(f.Name, StringComparison.Ordinal) &&
- path.Length > f.Name.Length &&
- path[f.Name.Length] == '.');
- }
-
- public static bool IsTypeAnimatable(SerializedPropertyType type)
- {
- // Note: Integer is not currently supported by the animated property system
- switch (type)
- {
- case SerializedPropertyType.Boolean:
- case SerializedPropertyType.Float:
- case SerializedPropertyType.Vector2:
- case SerializedPropertyType.Vector3:
- case SerializedPropertyType.Color:
- case SerializedPropertyType.Quaternion:
- case SerializedPropertyType.Vector4:
- return true;
- default:
- return false;
- }
- }
-
- public static bool IsParameterAnimated(UnityObject asset, AnimationClip animationData, string parameterName)
- {
- if (asset == null || animationData == null)
- return false;
-
- var binding = GetCurveBinding(asset, parameterName);
- var bindings = AnimationClipCurveCache.Instance.GetCurveInfo(animationData).bindings;
- return bindings.Any(x => BindingMatchesParameterName(x, binding.propertyName));
- }
-
- // Retrieve an animated parameter curve. parameter name is required to include the appropriate field for vectors
- // e.g.: position
- public static AnimationCurve GetAnimatedParameter(UnityObject asset, AnimationClip animationData, string parameterName)
- {
- if (!(asset is ScriptableObject) || animationData == null)
- return null;
-
- var binding = GetCurveBinding(asset, parameterName);
- return AnimationUtility.GetEditorCurve(animationData, binding);
- }
-
- // get an animatable curve binding for this parameter
- public static EditorCurveBinding GetCurveBinding(UnityObject asset, string parameterName)
- {
- var animationName = GetAnimatedParameterBindingName(asset, parameterName);
- return EditorCurveBinding.FloatCurve(string.Empty, GetValidAnimationType(asset), animationName);
- }
-
- public static string GetAnimatedParameterBindingName(UnityObject asset, string parameterName)
- {
- if (asset == null)
- return parameterName;
-
- string bindingName;
- if (!AnimatedParameterCache.TryGetBindingName(asset.GetType(), parameterName, out bindingName))
- {
- bindingName = GetAnimatedParameterBindingName_Internal(asset, parameterName);
- AnimatedParameterCache.SetBindingName(asset.GetType(), parameterName, bindingName);
- }
-
- return bindingName;
- }
-
- static string GetAnimatedParameterBindingName_Internal(UnityObject asset, string parameterName)
- {
- if (asset is IPlayableBehaviour)
- return parameterName;
-
- // strip the IScript playable field name
- var fields = GetScriptPlayableFields(asset as IPlayableAsset);
- foreach (var f in fields)
- {
- if (parameterName.StartsWith(f.Name, StringComparison.Ordinal))
- {
- if (parameterName.Length > f.Name.Length && parameterName[f.Name.Length] == '.')
- return parameterName.Substring(f.Name.Length + 1);
- }
- }
-
- return parameterName;
- }
-
- public static bool BindingMatchesParameterName(EditorCurveBinding binding, string parameterName)
- {
- if (binding.propertyName == parameterName)
- return true;
-
- var indexOfDot = binding.propertyName.IndexOf('.');
- return indexOfDot > 0 && parameterName.Length == indexOfDot &&
- binding.propertyName.StartsWith(parameterName, StringComparison.Ordinal);
- }
-
- // the animated type must be a non-abstract instantiable object.
- public static Type GetValidAnimationType(UnityObject asset)
- {
- return asset != null ? asset.GetType() : k_DefaultAnimationType;
- }
-
- public static FieldInfo GetFieldInfoForProperty(SerializedProperty property)
- {
- FieldInfo fieldInfo;
-
- if (!AnimatedParameterCache.TryGetFieldInfoForProperty(property, out fieldInfo))
- {
- Type _;
- fieldInfo = ScriptAttributeUtility.GetFieldInfoFromProperty(property, out _);
- AnimatedParameterCache.SetFieldInfoForProperty(property, fieldInfo);
- }
-
- return fieldInfo;
- }
-
- public static T GetAttributeForProperty<T>(SerializedProperty property) where T : Attribute
- {
- var fieldInfo = GetFieldInfoForProperty(property);
- return fieldInfo.GetCustomAttributes(typeof(T), false).FirstOrDefault() as T;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterUtility.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterUtility.cs.meta
deleted file mode 100644
index 695849f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/AnimatedParameterUtility.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 84d86c98104d94063ad70bc591530f65
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BindingUtility.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BindingUtility.cs
deleted file mode 100644
index 5565817..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BindingUtility.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using System;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- static class BindingUtility
- {
- public static Type GetRequiredBindingType(PlayableBinding binding)
- {
- return binding.outputTargetType;
- }
-
- public static void Bind(PlayableDirector director, TrackAsset bindTo, Object objectToBind)
- {
- if (director == null || bindTo == null || TimelineWindow.instance == null)
- return;
-
- TimelineWindow.instance.state.previewMode = false; // returns all objects to previous state
- TimelineUndo.PushUndo(director, "PlayableDirector Binding");
- director.SetGenericBinding(bindTo, objectToBind);
- TimelineWindow.instance.state.rebuildGraph = true;
- }
-
- public static BindingAction GetBindingAction(Type requiredBindingType, Object objectToBind)
- {
- if (requiredBindingType == null || objectToBind == null)
- return BindingAction.DoNotBind;
-
- // prevent drag and drop of prefab assets
- if (PrefabUtility.IsPartOfPrefabAsset(objectToBind))
- return BindingAction.DoNotBind;
-
- if (requiredBindingType.IsInstanceOfType(objectToBind))
- return BindingAction.BindDirectly;
-
- var draggedGameObject = objectToBind as GameObject;
-
- if (!typeof(Component).IsAssignableFrom(requiredBindingType) || draggedGameObject == null)
- return BindingAction.DoNotBind;
-
- if (draggedGameObject.GetComponent(requiredBindingType) == null)
- return BindingAction.BindToMissingComponent;
-
- return BindingAction.BindToExistingComponent;
- }
- }
-
- enum BindingAction
- {
- DoNotBind,
- BindDirectly,
- BindToExistingComponent,
- BindToMissingComponent
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BindingUtility.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BindingUtility.cs.meta
deleted file mode 100644
index c528748..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BindingUtility.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ef5fa6e2005defb4ab5142723827b58e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BreadcrumbDrawer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BreadcrumbDrawer.cs
deleted file mode 100644
index a3276bf..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BreadcrumbDrawer.cs
+++ /dev/null
@@ -1,235 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- enum TitleMode
- {
- None,
- DisabledComponent,
- Prefab,
- PrefabOutOfContext,
- Asset,
- GameObject
- }
-
- struct BreadCrumbTitle
- {
- public string name;
- public TitleMode mode;
- }
-
- class BreadcrumbDrawer
- {
- static readonly GUIContent s_TextContent = new GUIContent();
- static readonly string k_DisabledComponentText = L10n.Tr("The PlayableDirector is disabled");
- static readonly string k_PrefabOutOfContext = L10n.Tr("Prefab Isolation not enabled. Click to Enable.");
-
- static readonly GUIStyle k_BreadCrumbLeft;
- static readonly GUIStyle k_BreadCrumbMid;
- static readonly GUIStyle k_BreadCrumbLeftBg;
- static readonly GUIStyle k_BreadCrumbMidBg;
- static readonly GUIStyle k_BreadCrumbMidSelected;
- static readonly GUIStyle k_BreadCrumbMidBgSelected;
-
- static readonly Texture k_TimelineIcon;
-
- const string k_Elipsis = "…";
-
- static BreadcrumbDrawer()
- {
- k_BreadCrumbLeft = new GUIStyle("GUIEditor.BreadcrumbLeft");
- k_BreadCrumbMid = new GUIStyle("GUIEditor.BreadcrumbMid");
- k_BreadCrumbLeftBg = new GUIStyle("GUIEditor.BreadcrumbLeftBackground");
- k_BreadCrumbMidBg = new GUIStyle("GUIEditor.BreadcrumbMidBackground");
-
- k_BreadCrumbMidSelected = new GUIStyle(k_BreadCrumbMid);
- k_BreadCrumbMidSelected.normal = k_BreadCrumbMidSelected.onNormal;
-
- k_BreadCrumbMidBgSelected = new GUIStyle(k_BreadCrumbMidBg);
- k_BreadCrumbMidBgSelected.normal = k_BreadCrumbMidBgSelected.onNormal;
- k_TimelineIcon = EditorGUIUtility.IconContent("TimelineAsset Icon").image;
- }
-
- static string FitTextInArea(float areaWidth, string text, GUIStyle style)
- {
- var borderWidth = style.border.left + style.border.right;
- var textWidth = style.CalcSize(EditorGUIUtility.TextContent(text)).x;
-
- if (borderWidth + textWidth < areaWidth)
- return text;
-
- // Need to truncate the text to fit in the areaWidth
- var textAreaWidth = areaWidth - borderWidth;
- var pixByChar = textWidth / text.Length;
- var charNeeded = (int)Mathf.Floor(textAreaWidth / pixByChar);
- charNeeded -= k_Elipsis.Length;
-
- if (charNeeded <= 0)
- return k_Elipsis;
-
- if (charNeeded <= text.Length)
- return k_Elipsis + " " + text.Substring(text.Length - charNeeded);
-
- return k_Elipsis;
- }
-
- public static void Draw(float breadcrumbAreaWidth, List<BreadCrumbTitle> labels, Action<int> navigateToBreadcrumbIndex)
- {
- GUILayout.BeginHorizontal(GUILayout.Width(breadcrumbAreaWidth));
- {
- var labelWidth = (int)(breadcrumbAreaWidth / labels.Count);
-
- for (var i = 0; i < labels.Count; i++)
- {
- var label = labels[i];
-
- var style = i == 0 ? k_BreadCrumbLeft : k_BreadCrumbMid;
- var backgroundStyle = i == 0 ? k_BreadCrumbLeftBg : k_BreadCrumbMidBg;
-
- if (i == labels.Count - 1)
- {
- if (i > 0)
- {
- // Only tint last breadcrumb if we are dug-in
- DrawBreadcrumbAsSelectedSubSequence(labelWidth, label, k_BreadCrumbMidSelected, k_BreadCrumbMidBgSelected);
- }
- else
- {
- DrawActiveBreadcrumb(labelWidth, label, style, backgroundStyle);
- }
- }
- else
- {
- var previousContentColor = GUI.contentColor;
-
- GUI.contentColor = new Color(previousContentColor.r,
- previousContentColor.g,
- previousContentColor.b,
- previousContentColor.a * 0.6f);
- var content = GetTextContent(labelWidth, label, style);
- var rect = GetBreadcrumbLayoutRect(content, style);
-
- if (Event.current.type == EventType.Repaint)
- {
- backgroundStyle.Draw(rect, GUIContent.none, 0);
- }
-
- if (GUI.Button(rect, content, style))
- {
- navigateToBreadcrumbIndex.Invoke(i);
- }
- GUI.contentColor = previousContentColor;
- }
- }
- }
- GUILayout.EndHorizontal();
- }
-
- static GUIContent GetTextContent(int width, BreadCrumbTitle text, GUIStyle style)
- {
- s_TextContent.tooltip = string.Empty;
- s_TextContent.image = null;
- if (text.mode == TitleMode.DisabledComponent)
- {
- s_TextContent.tooltip = k_DisabledComponentText;
- s_TextContent.image = EditorGUIUtility.GetHelpIcon(MessageType.Warning);
- }
- else if (text.mode == TitleMode.Prefab)
- s_TextContent.image = PrefabUtility.GameObjectStyles.prefabIcon;
- else if (text.mode == TitleMode.GameObject)
- s_TextContent.image = PrefabUtility.GameObjectStyles.gameObjectIcon;
- else if (text.mode == TitleMode.Asset)
- s_TextContent.image = k_TimelineIcon;
- else if (text.mode == TitleMode.PrefabOutOfContext)
- {
- s_TextContent.image = PrefabUtility.GameObjectStyles.prefabIcon;
- if (!TimelineWindow.instance.locked)
- s_TextContent.tooltip = k_PrefabOutOfContext;
- }
-
- if (s_TextContent.image != null)
- width = Math.Max(0, width - s_TextContent.image.width);
- s_TextContent.text = FitTextInArea(width, text.name, style);
-
- return s_TextContent;
- }
-
- static void DrawBreadcrumbAsSelectedSubSequence(int width, BreadCrumbTitle label, GUIStyle style, GUIStyle backgroundStyle)
- {
- var rect = DrawActiveBreadcrumb(width, label, style, backgroundStyle);
- const float underlineThickness = 2.0f;
- const float underlineVerticalOffset = 0.0f;
- var underlineHorizontalOffset = backgroundStyle.border.right * 0.333f;
- var underlineRect = Rect.MinMaxRect(
- rect.xMin - underlineHorizontalOffset,
- rect.yMax - underlineThickness - underlineVerticalOffset,
- rect.xMax - underlineHorizontalOffset,
- rect.yMax - underlineVerticalOffset);
-
- EditorGUI.DrawRect(underlineRect, DirectorStyles.Instance.customSkin.colorSubSequenceDurationLine);
- }
-
- static Rect GetBreadcrumbLayoutRect(GUIContent content, GUIStyle style)
- {
- // the image makes the button far too big compared to non-image versions
- var image = content.image;
- content.image = null;
- var size = style.CalcSizeWithConstraints(content, Vector2.zero);
- content.image = image;
- if (image != null)
- size.x += size.y; // assumes square image, constrained by height
-
- return GUILayoutUtility.GetRect(content, style, GUILayout.MaxWidth(size.x));
- }
-
- static Rect DrawActiveBreadcrumb(int width, BreadCrumbTitle label, GUIStyle style, GUIStyle backgroundStyle)
- {
- var content = GetTextContent(width, label, style);
- var rect = GetBreadcrumbLayoutRect(content, style);
-
- if (Event.current.type == EventType.Repaint)
- {
- backgroundStyle.Draw(rect, GUIContent.none, 0);
- }
-
- if (GUI.Button(rect, content, style))
- {
- UnityEngine.Object target = TimelineEditor.inspectedDirector;
- if (target == null)
- target = TimelineEditor.inspectedAsset;
- if (target != null)
- {
- bool ping = true;
- if (label.mode == TitleMode.PrefabOutOfContext)
- {
- var gameObject = PrefabUtility.GetRootGameObject(target);
- if (gameObject != null)
- {
- target = gameObject; // ping the prefab root if it's locked.
- if (!TimelineWindow.instance.locked)
- {
- var assetPath = AssetDatabase.GetAssetPath(gameObject);
- if (!string.IsNullOrEmpty(assetPath))
- {
- var stage = UnityEditor.Experimental.SceneManagement.PrefabStageUtility.OpenPrefab(assetPath);
- if (stage != null)
- ping = false;
- }
- }
- }
- }
-
- if (ping)
- {
- EditorGUIUtility.PingObject(target);
- }
- }
- }
-
- return rect;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BreadcrumbDrawer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BreadcrumbDrawer.cs.meta
deleted file mode 100644
index b17803a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/BreadcrumbDrawer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 526f285e8d4fb8140b4cdfeb9102d8cb
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ClipModifier.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ClipModifier.cs
deleted file mode 100644
index 8c54f4d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ClipModifier.cs
+++ /dev/null
@@ -1,386 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- static class ClipModifier
- {
- public static bool Delete(TimelineAsset timeline, TimelineClip clip)
- {
- return timeline.DeleteClip(clip);
- }
-
- public static bool Tile(TimelineClip[] clips)
- {
- if (clips.Length < 2)
- return false;
-
- var clipsByTracks = clips.GroupBy(x => x.parentTrack)
- .Select(track => new {track.Key, Items = track.OrderBy(c => c.start)});
-
- foreach (var track in clipsByTracks)
- {
- TimelineUndo.PushUndo(track.Key, "Tile");
- }
-
- foreach (var track in clipsByTracks)
- {
- double newStart = track.Items.First().start;
- foreach (var c in track.Items)
- {
- c.start = newStart;
- newStart += c.duration;
- }
- }
-
- return true;
- }
-
- public static bool TrimStart(TimelineClip[] clips, double trimTime)
- {
- var result = false;
-
- foreach (var clip in clips)
- result |= TrimStart(clip, trimTime);
-
- return result;
- }
-
- public static bool TrimStart(TimelineClip clip, double trimTime)
- {
- if (clip.asset == null)
- return false;
-
- if (clip.start > trimTime)
- return false;
-
- if (clip.end < trimTime)
- return false;
-
- TimelineUndo.PushUndo(clip.parentTrack, "Trim Clip Start");
-
- // Note: We are NOT using edit modes in this case because we want the same result
- // regardless of the selected EditMode: split at cursor and delete left part
- SetStart(clip, trimTime);
-
- return true;
- }
-
- public static bool TrimEnd(TimelineClip[] clips, double trimTime)
- {
- var result = false;
-
- foreach (var clip in clips)
- result |= TrimEnd(clip, trimTime);
-
- return result;
- }
-
- public static bool TrimEnd(TimelineClip clip, double trimTime)
- {
- if (clip.asset == null)
- return false;
-
- if (clip.start > trimTime)
- return false;
-
- if (clip.end < trimTime)
- return false;
-
- TimelineUndo.PushUndo(clip.parentTrack, "Trim Clip End");
- TrimClipWithEditMode(clip, TrimEdge.End, trimTime);
-
- return true;
- }
-
- public static bool MatchDuration(TimelineClip[] clips)
- {
- double referenceDuration = clips[0].duration;
- foreach (var clip in clips)
- {
- TimelineUndo.PushUndo(clip.parentTrack, "Match Clip Duration");
-
- var newEnd = clip.start + referenceDuration;
- TrimClipWithEditMode(clip, TrimEdge.End, newEnd);
- }
-
- return true;
- }
-
- public static bool Split(TimelineClip[] clips, double splitTime, PlayableDirector director)
- {
- var result = false;
-
- foreach (var clip in clips)
- {
- if (clip.start >= splitTime)
- continue;
-
- if (clip.end <= splitTime)
- continue;
-
- TimelineUndo.PushUndo(clip.parentTrack, "Split Clip");
-
- TimelineClip newClip = TimelineHelpers.Clone(clip, director, director, clip.start);
-
- SetStart(clip, splitTime);
- SetEnd(newClip, splitTime, false);
-
- // Sort produced by cloning clips on top of each other is unpredictable (it varies between mono runtimes)
- clip.parentTrack.SortClips();
-
- result = true;
- }
-
- return result;
- }
-
- public static void SetStart(TimelineClip clip, double time)
- {
- var supportsClipIn = clip.SupportsClipIn();
- var supportsPadding = TimelineUtility.IsRecordableAnimationClip(clip);
-
- // treat empty recordable clips as not supporting clip in (there are no keys to modify)
- if (supportsPadding && (clip.animationClip == null || clip.animationClip.empty))
- {
- supportsClipIn = false;
- }
-
- if (supportsClipIn && !supportsPadding)
- {
- var minStart = clip.FromLocalTimeUnbound(0.0);
- if (time < minStart)
- time = minStart;
- }
-
- var maxStart = clip.end - TimelineClip.kMinDuration;
- if (time > maxStart)
- time = maxStart;
-
- var timeOffset = time - clip.start;
- var duration = clip.duration - timeOffset;
-
- if (supportsClipIn)
- {
- if (supportsPadding)
- {
- double clipInGlobal = clip.clipIn / clip.timeScale;
- double keyShift = -timeOffset;
- if (timeOffset < 0) // left drag, eliminate clipIn before shifting
- {
- double clipInDelta = Math.Max(-clipInGlobal, timeOffset);
- keyShift = -Math.Min(0, timeOffset - clipInDelta);
- clip.clipIn += clipInDelta * clip.timeScale;
- }
- else if (timeOffset > 0) // right drag, elimate padding in animation clip before adding clip in
- {
- var clipInfo = AnimationClipCurveCache.Instance.GetCurveInfo(clip.animationClip);
- double keyDelta = clip.FromLocalTimeUnbound(clipInfo.keyTimes.Min()) - clip.start;
- keyShift = -Math.Max(0, Math.Min(timeOffset, keyDelta));
- clip.clipIn += Math.Max(timeOffset + keyShift, 0) * clip.timeScale;
- }
- if (keyShift != 0)
- {
- AnimationTrackRecorder.ShiftAnimationClip(clip.animationClip, (float)(keyShift * clip.timeScale));
- }
- }
- else
- {
- clip.clipIn += timeOffset * clip.timeScale;
- }
- }
-
- clip.start = time;
- clip.duration = duration;
- }
-
- public static void SetEnd(TimelineClip clip, double time, bool affectTimeScale)
- {
- var duration = Math.Max(time - clip.start, TimelineClip.kMinDuration);
-
- if (affectTimeScale && clip.SupportsSpeedMultiplier())
- {
- var f = clip.duration / duration;
- clip.timeScale *= f;
- }
-
- clip.duration = duration;
- }
-
- public static bool ResetEditing(TimelineClip[] clips)
- {
- var result = false;
-
- foreach (var clip in clips)
- result = result || ResetEditing(clip);
-
- return result;
- }
-
- public static bool ResetEditing(TimelineClip clip)
- {
- if (clip.asset == null)
- return false;
-
- TimelineUndo.PushUndo(clip.parentTrack, "Reset Clip Editing");
-
- clip.clipIn = 0.0;
-
- if (clip.clipAssetDuration < double.MaxValue)
- {
- var duration = clip.clipAssetDuration / clip.timeScale;
- TrimClipWithEditMode(clip, TrimEdge.End, clip.start + duration);
- }
-
- return true;
- }
-
- public static bool MatchContent(TimelineClip[] clips)
- {
- var result = false;
-
- foreach (var clip in clips)
- result = result || MatchContent(clip);
-
- return result;
- }
-
- public static bool MatchContent(TimelineClip clip)
- {
- if (clip.asset == null)
- return false;
-
- TimelineUndo.PushUndo(clip.parentTrack, "Match Clip Content");
-
- var newStartCandidate = clip.start - clip.clipIn / clip.timeScale;
- var newStart = newStartCandidate < 0.0 ? 0.0 : newStartCandidate;
-
- TrimClipWithEditMode(clip, TrimEdge.Start, newStart);
-
- // In case resetting the start was blocked by edit mode or timeline start, we do the best we can
- clip.clipIn = (clip.start - newStartCandidate) * clip.timeScale;
- if (clip.clipAssetDuration > 0 && TimelineHelpers.HasUsableAssetDuration(clip))
- {
- var duration = TimelineHelpers.GetLoopDuration(clip);
- var offset = (clip.clipIn / clip.timeScale) % duration;
- TrimClipWithEditMode(clip, TrimEdge.End, clip.start - offset + duration);
- }
-
- return true;
- }
-
- public static void TrimClipWithEditMode(TimelineClip clip, TrimEdge edge, double time)
- {
- var clipItem = ItemsUtils.ToItem(clip);
- EditMode.BeginTrim(clipItem, edge);
- if (edge == TrimEdge.Start)
- EditMode.TrimStart(clipItem, time);
- else
- EditMode.TrimEnd(clipItem, time, false);
- EditMode.FinishTrim();
- }
-
- public static bool CompleteLastLoop(TimelineClip[] clips)
- {
- foreach (var clip in clips)
- {
- CompleteLastLoop(clip);
- }
-
- return true;
- }
-
- public static void CompleteLastLoop(TimelineClip clip)
- {
- FixLoops(clip, true);
- }
-
- public static bool TrimLastLoop(TimelineClip[] clips)
- {
- foreach (var clip in clips)
- {
- TrimLastLoop(clip);
- }
-
- return true;
- }
-
- public static void TrimLastLoop(TimelineClip clip)
- {
- FixLoops(clip, false);
- }
-
- static void FixLoops(TimelineClip clip, bool completeLastLoop)
- {
- if (!TimelineHelpers.HasUsableAssetDuration(clip))
- return;
-
- var loopDuration = TimelineHelpers.GetLoopDuration(clip);
- var firstLoopDuration = loopDuration - clip.clipIn * (1.0 / clip.timeScale);
-
- // Making sure we don't trim to zero
- if (!completeLastLoop && firstLoopDuration > clip.duration)
- return;
-
- var numLoops = (clip.duration - firstLoopDuration) / loopDuration;
- var numCompletedLoops = Math.Floor(numLoops);
-
- if (!(numCompletedLoops < numLoops))
- return;
-
- if (completeLastLoop)
- numCompletedLoops += 1;
-
- var newEnd = clip.start + firstLoopDuration + loopDuration * numCompletedLoops;
-
- TimelineUndo.PushUndo(clip.parentTrack, "Trim Clip Last Loop");
-
- TrimClipWithEditMode(clip, TrimEdge.End, newEnd);
- }
-
- public static bool DoubleSpeed(TimelineClip[] clips)
- {
- foreach (var clip in clips)
- {
- if (clip.SupportsSpeedMultiplier())
- {
- TimelineUndo.PushUndo(clip.parentTrack, "Double Clip Speed");
- clip.timeScale = clip.timeScale * 2.0f;
- }
- }
-
- return true;
- }
-
- public static bool HalfSpeed(TimelineClip[] clips)
- {
- foreach (var clip in clips)
- {
- if (clip.SupportsSpeedMultiplier())
- {
- TimelineUndo.PushUndo(clip.parentTrack, "Half Clip Speed");
- clip.timeScale = clip.timeScale * 0.5f;
- }
- }
-
- return true;
- }
-
- public static bool ResetSpeed(TimelineClip[] clips)
- {
- foreach (var clip in clips)
- {
- if (clip.timeScale != 1.0)
- {
- TimelineUndo.PushUndo(clip.parentTrack, "Reset Clip Speed");
- clip.timeScale = 1.0;
- }
- }
-
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ClipModifier.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ClipModifier.cs.meta
deleted file mode 100644
index 3fa03b9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ClipModifier.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b0eeee3cdfa56734abca5c1a4e7989ba
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Clipboard.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Clipboard.cs
deleted file mode 100644
index 7ed3952..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Clipboard.cs
+++ /dev/null
@@ -1,142 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class Clipboard
- {
- class ExposedReferenceTable : IExposedPropertyTable
- {
- Dictionary<PropertyName, Object> m_ReferenceTable = new Dictionary<PropertyName, Object>();
- public void SetReferenceValue(PropertyName id, Object value)
- {
- m_ReferenceTable[id] = value;
- }
-
- public Object GetReferenceValue(PropertyName id, out bool idValid)
- {
- Object reference;
- idValid = m_ReferenceTable.TryGetValue(id, out reference);
- return reference;
- }
-
- public void ClearReferenceValue(PropertyName id)
- {
- m_ReferenceTable.Remove(id);
- }
-
- public void Clear()
- {
- m_ReferenceTable.Clear();
- }
- }
-
- public struct ClipboardTrackEntry
- {
- public TrackAsset item;
- public TrackAsset parent;
- }
-
- static readonly int kListInitialSize = 10;
-
- readonly List<ItemsPerTrack> m_ItemsData = new List<ItemsPerTrack>(kListInitialSize);
- readonly List<ClipboardTrackEntry> m_trackData = new List<ClipboardTrackEntry>(kListInitialSize);
- TimelineAsset rootTimeline;
-
- public readonly IExposedPropertyTable exposedPropertyTable = new ExposedReferenceTable();
-
- public Clipboard()
- {
- rootTimeline = CreateTimeline();
-
- EditorApplication.playModeStateChanged += OnPlayModeChanged;
- }
-
- public void CopyItems(IEnumerable<ITimelineItem> items)
- {
- using (new TimelineUndo.DisableUndoGuard(true))
- {
- var itemsByParent = items.ToLookup(i => i.parentTrack);
- foreach (var itemsGroup in itemsByParent)
- {
- var parent = itemsGroup.Key;
- var itemsList = new List<ITimelineItem>();
- foreach (var item in itemsGroup)
- {
- if (item is ClipItem)
- itemsList.Add(CopyItem((ClipItem)item));
- else if (item is MarkerItem)
- itemsList.Add(CopyItem((MarkerItem)item));
- }
- m_ItemsData.Add(new ItemsPerTrack(parent, itemsList));
- }
- }
- }
-
- ClipItem CopyItem(ClipItem clipItem)
- {
- var newClip = TimelineHelpers.Clone(clipItem.clip, TimelineWindow.instance.state.editSequence.director, exposedPropertyTable, rootTimeline);
- return new ClipItem(newClip);
- }
-
- static MarkerItem CopyItem(MarkerItem markerItem)
- {
- var markerObject = markerItem.marker as Object;
- if (markerObject != null)
- {
- var newMarker = Object.Instantiate(markerObject);
- newMarker.name = markerObject.name;
- return new MarkerItem((IMarker)newMarker);
- }
-
- return null;
- }
-
- public void CopyTracks(IEnumerable<TrackAsset> tracks)
- {
- using (new TimelineUndo.DisableUndoGuard(true))
- {
- foreach (var track in TrackExtensions.FilterTracks(tracks))
- {
- var newTrack = track.Duplicate(TimelineEditor.inspectedDirector, TimelineEditor.clipboard.exposedPropertyTable, rootTimeline);
- m_trackData.Add(new ClipboardTrackEntry {item = newTrack, parent = track.parent as TrackAsset});
- }
- }
- }
-
- public IEnumerable<ClipboardTrackEntry> GetTracks()
- {
- return m_trackData;
- }
-
- public IEnumerable<ItemsPerTrack> GetCopiedItems()
- {
- return m_ItemsData;
- }
-
- public void Clear()
- {
- m_ItemsData.Clear();
- m_trackData.Clear();
- rootTimeline = CreateTimeline();
- ((ExposedReferenceTable)exposedPropertyTable).Clear();
- }
-
- private void OnPlayModeChanged(PlayModeStateChange state)
- {
- if (state == PlayModeStateChange.EnteredEditMode || state == PlayModeStateChange.EnteredPlayMode)
- Clear();
- }
-
- static TimelineAsset CreateTimeline()
- {
- var timeline = ScriptableObject.CreateInstance<TimelineAsset>();
- timeline.hideFlags |= HideFlags.DontSave;
- timeline.name = "Clipboard";
-
- return timeline;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Clipboard.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Clipboard.cs.meta
deleted file mode 100644
index af5870a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Clipboard.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b57629d89799e004182564256307b0cc
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ControlPlayableUtility.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ControlPlayableUtility.cs
deleted file mode 100644
index d7023e4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ControlPlayableUtility.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-using System.Collections.Generic;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class ControlPlayableUtility
- {
- public static bool DetectCycle(
- ControlPlayableAsset asset, PlayableDirector director, HashSet<PlayableDirector> set = null)
- {
- if (director == null || asset == null || !asset.updateDirector)
- return false;
-
- if (set == null)
- set = new HashSet<PlayableDirector>();
-
- if (set.Contains(director))
- return true;
-
- var gameObject = asset.sourceGameObject.Resolve(director);
- if (gameObject == null)
- return false;
-
- set.Add(director);
-
- foreach (var subDirector in asset.GetComponent<PlayableDirector>(gameObject))
- {
- foreach (var childAsset in GetPlayableAssets(subDirector))
- {
- if (DetectCycle(childAsset, subDirector, set))
- return true;
- }
- }
-
- set.Remove(director);
-
- return false;
- }
-
- public static IEnumerable<ControlPlayableAsset> GetPlayableAssets(PlayableDirector director)
- {
- var timeline = director != null ? (director.playableAsset as TimelineAsset) : null;
- if (timeline != null)
- {
- foreach (var t in timeline.GetOutputTracks())
- {
- var controlTrack = t as ControlTrack;
- if (controlTrack != null)
- {
- foreach (var c in t.GetClips())
- {
- var asset = c.asset as ControlPlayableAsset;
- if (asset != null)
- yield return asset;
- }
- }
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ControlPlayableUtility.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ControlPlayableUtility.cs.meta
deleted file mode 100644
index ab502a1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ControlPlayableUtility.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e801faa3b0dd2478dbe801a2441b679e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs
deleted file mode 100644
index 021a635..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using System;
-
-namespace UnityEditor.Timeline
-{
- // Tells a custom [[TrackDrawer]] which [[TrackAsset]] it's a drawer for.
- sealed class CustomTrackDrawerAttribute : Attribute
- {
- public Type assetType;
- public CustomTrackDrawerAttribute(Type type)
- {
- assetType = type;
- }
- }
-
- /// <summary>
- /// Attribute that specifies a class as an editor for an extended Timeline type.
- /// </summary>
- /// <remarks>
- /// Use this attribute on a class that extends ClipEditor, TrackEditor, or MarkerEditor to specify either the PlayableAsset, Marker, or TrackAsset derived classes for associated customization.
- /// </remarks>
- /// <example>
- /// [CustomTimelineEditor(typeof(LightControlClip))]
- /// class LightControlClipEditor : ClipEditor
- /// {
- /// }
- /// </example>
- [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
- public sealed class CustomTimelineEditorAttribute : Attribute
- {
- /// <summary>
- /// The type that that this editor applies to.
- /// </summary>
- public Type classToEdit { get; private set; }
-
- /// <summary>
- /// Constructor.
- /// </summary>
- /// <param name="type"> The type that that this editor applies to.</param>
- /// <exception cref="ArgumentNullException">Thrown if type is null</exception>
- public CustomTimelineEditorAttribute(Type type)
- {
- if (type == null)
- throw new System.ArgumentNullException(nameof(type));
- classToEdit = type;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs.meta
deleted file mode 100644
index 1738611..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/CustomTrackDrawerAttribute.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e1e957d39ca70834f9212a1289b6a0d5
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/DisplayNameHelper.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/DisplayNameHelper.cs
deleted file mode 100644
index f228c4c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/DisplayNameHelper.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System.Text;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- static class DisplayNameHelper
- {
- static readonly string k_NoAssetDisplayName = L10n.Tr("<No Asset>");
- static readonly string k_ReadOnlyDisplayName = L10n.Tr("[Read Only]");
- static readonly StringBuilder k_StringBuilder = new StringBuilder();
-
- public static string GetDisplayName(ISequenceState sequence)
- {
- string displayName = sequence.director != null ? GetDisplayName(sequence.director) : GetDisplayName(sequence.asset);
- if (sequence.asset != null && sequence.isReadOnly)
- displayName += " " + k_ReadOnlyDisplayName;
- return displayName;
- }
-
- public static string GetDisplayName(PlayableAsset asset)
- {
- return asset != null ? asset.name : k_NoAssetDisplayName;
- }
-
- public static string GetDisplayName(PlayableDirector director)
- {
- k_StringBuilder.Length = 0;
- k_StringBuilder.Append(GetDisplayName(director.playableAsset));
- k_StringBuilder.Append(" (").Append(director.name).Append(')');
- return k_StringBuilder.ToString();
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/DisplayNameHelper.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/DisplayNameHelper.cs.meta
deleted file mode 100644
index cb233c8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/DisplayNameHelper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 7fc2147e42d71644aad0eaf9a3526249
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIColorOverride.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIColorOverride.cs
deleted file mode 100644
index 47815cd..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIColorOverride.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- struct GUIColorOverride : IDisposable
- {
- readonly Color m_OldColor;
-
- public GUIColorOverride(Color newColor)
- {
- m_OldColor = GUI.color;
- GUI.color = newColor;
- }
-
- public void Dispose()
- {
- GUI.color = m_OldColor;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIColorOverride.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIColorOverride.cs.meta
deleted file mode 100644
index 1d338af..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIColorOverride.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 44507a833d0ca8a42aaec1c3d752eb5f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs
deleted file mode 100644
index e8f0413..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UnityEditor
-{
- struct GUIGroupScope : IDisposable
- {
- public GUIGroupScope(Rect position)
- {
- GUI.BeginGroup(position);
- }
-
- public void Dispose()
- {
- GUI.EndGroup();
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs.meta
deleted file mode 100644
index d0a2d09..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIGroupScope.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 0bee8aba5e8a40446b7098666c5314d9
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIMixedValueScope.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIMixedValueScope.cs
deleted file mode 100644
index f3da9f3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIMixedValueScope.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UnityEditor
-{
- struct GUIMixedValueScope : IDisposable
- {
- readonly bool m_PrevValue;
- public GUIMixedValueScope(bool newValue)
- {
- m_PrevValue = EditorGUI.showMixedValue;
- EditorGUI.showMixedValue = newValue;
- }
-
- public void Dispose()
- {
- EditorGUI.showMixedValue = m_PrevValue;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIMixedValueScope.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIMixedValueScope.cs.meta
deleted file mode 100644
index 94ff586..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIMixedValueScope.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d59cefc45e3c31d4a90563364e7258fa
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIViewportScope.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIViewportScope.cs
deleted file mode 100644
index 7999ffd..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIViewportScope.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UnityEditor
-{
- // Special Clip Scope that only effects painting, and keeps the coordinate system identical
- struct GUIViewportScope : IDisposable
- {
- bool m_open;
- public GUIViewportScope(Rect position)
- {
- m_open = false;
- if (Event.current.type == EventType.Repaint || Event.current.type == EventType.Layout)
- {
- GUI.BeginClip(position, -position.min, Vector2.zero, false);
- m_open = true;
- }
- }
-
- public void Dispose()
- {
- CloseScope();
- }
-
- void CloseScope()
- {
- if (m_open)
- {
- GUI.EndClip();
- m_open = false;
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIViewportScope.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIViewportScope.cs.meta
deleted file mode 100644
index 1c3a2f0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/GUIViewportScope.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: af84cf39b8fa0654badd9278cbd00d77
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Graphics.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Graphics.cs
deleted file mode 100644
index cc9addf..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Graphics.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- static class Graphics
- {
- public static void ShadowLabel(Rect rect, string text, GUIStyle style, Color textColor, Color shadowColor)
- {
- ShadowLabel(rect, GUIContent.Temp(text), style, textColor, shadowColor);
- }
-
- public static void ShadowLabel(Rect rect, GUIContent content, GUIStyle style, Color textColor, Color shadowColor)
- {
- var shadowRect = rect;
- shadowRect.xMin += 2.0f;
- shadowRect.yMin += 2.0f;
- style.normal.textColor = Color.black;
- GUI.Label(shadowRect, content, style);
-
- style.normal.textColor = textColor;
- GUI.Label(rect, content, style);
- }
-
- public static void DrawLine(Vector3 p1, Vector3 p2, Color color)
- {
- var c = Handles.color;
- Handles.color = color;
- Handles.DrawLine(p1, p2);
- Handles.color = c;
- }
-
- public static void DrawPolygonAA(Color color, Vector3[] vertices)
- {
- var prevColor = Handles.color;
- Handles.color = color;
- Handles.DrawAAConvexPolygon(vertices);
- Handles.color = prevColor;
- }
-
- public static void DrawDottedLine(Vector3 p1, Vector3 p2, float segmentsLength, Color col)
- {
- HandleUtility.ApplyWireMaterial();
-
- GL.Begin(GL.LINES);
- GL.Color(col);
-
- var length = Vector3.Distance(p1, p2); // ignore z component
- var count = Mathf.CeilToInt(length / segmentsLength);
- for (var i = 0; i < count; i += 2)
- {
- GL.Vertex((Vector3.Lerp(p1, p2, i * segmentsLength / length)));
- GL.Vertex((Vector3.Lerp(p1, p2, (i + 1) * segmentsLength / length)));
- }
-
- GL.End();
- }
-
- public static void DrawLineAtTime(WindowState state, double time, Color color, bool dotted = false)
- {
- var t = state.TimeToPixel(time);
-
- var p0 = new Vector3(t, state.timeAreaRect.yMax);
- var p1 = new Vector3(t, state.timeAreaRect.yMax + state.windowHeight - WindowConstants.sliderWidth);
-
- if (dotted)
- DrawDottedLine(p0, p1, 4.0f, color);
- else
- DrawLine(p0, p1, color);
- }
-
- public static void DrawTextureRepeated(Rect area, Texture texture)
- {
- if (texture == null || Event.current.type != EventType.Repaint)
- return;
-
- GUI.BeginClip(area);
- int w = Mathf.CeilToInt(area.width / texture.width);
- int h = Mathf.CeilToInt(area.height / texture.height);
- for (int x = 0; x < w; x++)
- {
- for (int y = 0; y < h; y++)
- {
- GUI.DrawTexture(new Rect(x * texture.width, y * texture.height, texture.width, texture.height), texture);
- }
- }
-
- GUI.EndClip();
- }
-
- public static void DrawShadow(Rect clientRect)
- {
- var rect = clientRect;
- rect.height = WindowConstants.shadowUnderTimelineHeight;
- GUI.Box(rect, GUIContent.none, DirectorStyles.Instance.bottomShadow);
- }
-
- public static void DrawBackgroundRect(WindowState state, Rect rect, bool subSequenceMode = false)
- {
- Color c = subSequenceMode ? DirectorStyles.Instance.customSkin.colorSubSequenceBackground : DirectorStyles.Instance.customSkin.colorSequenceBackground;
- EditorGUI.DrawRect(rect, c);
- if (state.IsEditingAPrefabAsset())
- {
- c = SceneView.kSceneViewPrefabBackground.Color;
- c.a = 0.5f;
- EditorGUI.DrawRect(rect, c);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Graphics.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Graphics.cs.meta
deleted file mode 100644
index 72bcc8d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Graphics.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4545bb65ccebf8040ac212d5792979b5
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/KeyTraverser.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/KeyTraverser.cs
deleted file mode 100644
index 2f64868..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/KeyTraverser.cs
+++ /dev/null
@@ -1,203 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline.Utilities
-{
- class KeyTraverser
- {
- float[] m_KeyCache;
- int m_DirtyStamp = -1;
- int m_LastHash = -1;
- readonly TimelineAsset m_Asset;
- readonly float m_Epsilon;
- int m_LastIndex = -1;
-
- public int lastIndex
- {
- get { return m_LastIndex; }
- }
-
- public static IEnumerable<float> GetClipKeyTimes(TimelineClip clip)
- {
- if (clip == null || clip.animationClip == null || clip.animationClip.empty)
- return new float[0];
-
- return AnimationClipCurveCache.Instance.GetCurveInfo(clip.animationClip).keyTimes.
- Select(k => (float)clip.FromLocalTimeUnbound(k)). // convert to sequence time
- Where(k => k >= clip.start && k <= clip.end); // remove non visible keys
- }
-
- public static IEnumerable<float> GetTrackKeyTimes(AnimationTrack track)
- {
- if (track != null)
- {
- if (track.inClipMode)
- return track.clips.Where(c => c.recordable).
- SelectMany(x => GetClipKeyTimes(x));
- if (track.infiniteClip != null && !track.infiniteClip.empty)
- return AnimationClipCurveCache.Instance.GetCurveInfo(track.infiniteClip).keyTimes;
- }
- return new float[0];
- }
-
- static int CalcAnimClipHash(TrackAsset asset)
- {
- int hash = 0;
- if (asset != null)
- {
- AnimationTrack animTrack = asset as AnimationTrack;
- if (animTrack != null)
- {
- for (var i = 0; i != animTrack.clips.Length; ++i)
- {
- hash ^= (animTrack.clips[i]).Hash();
- }
- }
- foreach (var subTrack in asset.GetChildTracks())
- {
- if (subTrack != null)
- hash ^= CalcAnimClipHash(subTrack);
- }
- }
- return hash;
- }
-
- internal static int CalcAnimClipHash(TimelineAsset asset)
- {
- int hash = 0;
- foreach (var t in asset.GetRootTracks())
- {
- if (t != null)
- hash ^= CalcAnimClipHash(t);
- }
- return hash;
- }
-
- void RebuildKeyCache()
- {
- m_KeyCache = m_Asset.flattenedTracks.Where(x => (x as AnimationTrack) != null)
- .Cast<AnimationTrack>()
- .SelectMany(t => GetTrackKeyTimes(t)).
- OrderBy(x => x).ToArray();
-
- if (m_KeyCache.Length > 0)
- {
- float[] unique = new float[m_KeyCache.Length];
- unique[0] = m_KeyCache[0];
- int index = 0;
- for (int i = 1; i < m_KeyCache.Length; i++)
- {
- if (m_KeyCache[i] - unique[index] > m_Epsilon)
- {
- index++;
- unique[index] = m_KeyCache[i];
- }
- }
- m_KeyCache = unique;
- Array.Resize(ref m_KeyCache, index + 1);
- }
- }
-
- public KeyTraverser(TimelineAsset timeline, float epsilon)
- {
- m_Asset = timeline;
- m_Epsilon = epsilon;
- }
-
- void CheckCache(int dirtyStamp)
- {
- int hash = CalcAnimClipHash(m_Asset);
- if (dirtyStamp != m_DirtyStamp || hash != m_LastHash)
- {
- RebuildKeyCache();
- m_DirtyStamp = dirtyStamp;
- m_LastHash = hash;
- }
- }
-
- public float GetNextKey(float key, int dirtyStamp)
- {
- CheckCache(dirtyStamp);
- if (m_KeyCache.Length > 0)
- {
- if (key < m_KeyCache.Last() - m_Epsilon)
- {
- if (key > m_KeyCache[0] - m_Epsilon)
- {
- float t = key + m_Epsilon;
- // binary search
- int max = m_KeyCache.Length - 1;
- int min = 0;
- while (max - min > 1)
- {
- int imid = (min + max) / 2;
- if (t > m_KeyCache[imid])
- min = imid;
- else
- max = imid;
- }
- m_LastIndex = max;
- return m_KeyCache[max];
- }
-
- m_LastIndex = 0;
- return m_KeyCache[0];
- }
- if (key < m_KeyCache.Last() + m_Epsilon)
- {
- m_LastIndex = m_KeyCache.Length - 1;
- return Mathf.Max(key, m_KeyCache.Last());
- }
- }
- m_LastIndex = -1;
- return key;
- }
-
- public float GetPrevKey(float key, int dirtyStamp)
- {
- CheckCache(dirtyStamp);
- if (m_KeyCache.Length > 0)
- {
- if (key > m_KeyCache[0] + m_Epsilon)
- {
- if (key < m_KeyCache.Last() + m_Epsilon)
- {
- float t = key - m_Epsilon;
-
- // binary search
- int max = m_KeyCache.Length - 1;
- int min = 0;
- while (max - min > 1)
- {
- int imid = (min + max) / 2;
- if (t < m_KeyCache[imid])
- max = imid;
- else
- min = imid;
- }
- m_LastIndex = min;
- return m_KeyCache[min];
- }
- m_LastIndex = m_KeyCache.Length - 1;
- return m_KeyCache.Last();
- }
- if (key >= m_KeyCache[0] - m_Epsilon)
- {
- m_LastIndex = 0;
- return Mathf.Min(key, m_KeyCache[0]);
- }
- }
- m_LastIndex = -1;
- return key;
- }
-
- public int GetKeyCount(int dirtyStamp)
- {
- CheckCache(dirtyStamp);
- return m_KeyCache.Length;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/KeyTraverser.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/KeyTraverser.cs.meta
deleted file mode 100644
index 5ce97aa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/KeyTraverser.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4b57f909f22642d469a39e9628535312
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/MarkerModifier.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/MarkerModifier.cs
deleted file mode 100644
index 9da5277..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/MarkerModifier.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- static class MarkerModifier
- {
- public static void DeleteMarker(IMarker marker)
- {
- var trackAsset = marker.parent;
- if (trackAsset != null)
- {
- SelectionManager.Remove(marker);
- trackAsset.DeleteMarker(marker);
- }
- }
-
- public static IEnumerable<IMarker> CloneMarkersToParent(IEnumerable<IMarker> markers, TrackAsset parent)
- {
- if (!markers.Any()) return Enumerable.Empty<IMarker>();
- var clonedMarkers = new List<IMarker>();
- foreach (var marker in markers)
- clonedMarkers.Add(CloneMarkerToParent(marker, parent));
- return clonedMarkers;
- }
-
- public static IMarker CloneMarkerToParent(IMarker marker, TrackAsset parent)
- {
- var markerObject = marker as ScriptableObject;
- if (markerObject == null) return null;
-
- var newMarkerObject = Object.Instantiate(markerObject);
- AddMarkerToParent(newMarkerObject, parent);
-
- newMarkerObject.name = markerObject.name;
- try
- {
- CustomTimelineEditorCache.GetMarkerEditor((IMarker)newMarkerObject).OnCreate((IMarker)newMarkerObject, marker);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
-
-
- return (IMarker)newMarkerObject;
- }
-
- static void AddMarkerToParent(ScriptableObject marker, TrackAsset parent)
- {
- TimelineCreateUtilities.SaveAssetIntoObject(marker, parent);
- TimelineUndo.RegisterCreatedObjectUndo(marker, "Duplicate Marker");
- TimelineUndo.PushUndo(parent, "Duplicate Marker");
-
- if (parent != null)
- {
- parent.AddMarker(marker);
- ((IMarker)marker).Initialize(parent);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/MarkerModifier.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/MarkerModifier.cs.meta
deleted file mode 100644
index b16c6f5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/MarkerModifier.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 7cfaad4e53832d94c9421d2dd1ad82f7
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectExtension.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectExtension.cs
deleted file mode 100644
index 863500d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectExtension.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using UnityEngine;
-using UnityEditor;
-
-namespace UnityEditor.Timeline
-{
- static class ObjectExtension
- {
- public static bool IsSceneObject(this Object obj)
- {
- if (obj == null)
- return false;
-
- bool isSceneType = obj is GameObject || obj is Component;
- if (!isSceneType)
- return false;
-
- return !PrefabUtility.IsPartOfPrefabAsset(obj);
- }
-
- public static bool IsPrefab(this Object obj)
- {
- if (obj == null)
- return false;
-
- return PrefabUtility.IsPartOfPrefabAsset(obj);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectExtension.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectExtension.cs.meta
deleted file mode 100644
index b1ff382..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectExtension.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4722a1362908a1843ab03a055c5c3fa0
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectReferenceField.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectReferenceField.cs
deleted file mode 100644
index 3ace197..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectReferenceField.cs
+++ /dev/null
@@ -1,195 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Reflection;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEditor;
-using UnityEditor.SceneManagement;
-using UnityEngine.Playables;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- // Describes the object references on a ScriptableObject, ignoring script fields
- struct ObjectReferenceField
- {
- public string propertyPath;
- public bool isSceneReference;
- public System.Type type;
-
- private readonly static ObjectReferenceField[] None = new ObjectReferenceField[0];
- private readonly static Dictionary<System.Type, ObjectReferenceField[]> s_Cache = new Dictionary<System.Type, ObjectReferenceField[]>();
-
- public static ObjectReferenceField[] FindObjectReferences(System.Type type)
- {
- if (type == null)
- return None;
-
- if (type.IsAbstract || type.IsInterface)
- return None;
-
- if (!typeof(ScriptableObject).IsAssignableFrom(type))
- return None;
-
- ObjectReferenceField[] result = null;
- if (s_Cache.TryGetValue(type, out result))
- return result;
-
- result = SearchForFields(type);
- s_Cache[type] = result;
- return result;
- }
-
- public static ObjectReferenceField[] FindObjectReferences<T>() where T : ScriptableObject, new()
- {
- return FindObjectReferences(typeof(T));
- }
-
- private static ObjectReferenceField[] SearchForFields(System.Type t)
- {
- Object instance = ScriptableObject.CreateInstance(t);
- var list = new List<ObjectReferenceField>();
-
- var serializableObject = new SerializedObject(instance);
- var prop = serializableObject.GetIterator();
- bool enterChildren = true;
- while (prop.NextVisible(enterChildren))
- {
- enterChildren = true;
- var ppath = prop.propertyPath;
- if (ppath == "m_Script")
- {
- enterChildren = false;
- }
- else if (prop.propertyType == SerializedPropertyType.ObjectReference || prop.propertyType == SerializedPropertyType.ExposedReference)
- {
- enterChildren = false;
- var exposedType = GetTypeFromPath(t, prop.propertyPath);
- if (exposedType != null && typeof(Object).IsAssignableFrom(exposedType))
- {
- bool isSceneRef = prop.propertyType == SerializedPropertyType.ExposedReference;
- list.Add(
- new ObjectReferenceField() {propertyPath = prop.propertyPath, isSceneReference = isSceneRef, type = exposedType}
- );
- }
- }
- }
-
- Object.DestroyImmediate(instance);
- if (list.Count == 0)
- return None;
- return list.ToArray();
- }
-
- private static System.Type GetTypeFromPath(System.Type baseType, string path)
- {
- if (string.IsNullOrEmpty(path))
- return null;
-
- System.Type parentType = baseType;
- FieldInfo field = null;
- var pathTo = path.Split(new char[] {'.'}, StringSplitOptions.RemoveEmptyEntries);
- var flags = BindingFlags.FlattenHierarchy | BindingFlags.Public | BindingFlags.NonPublic |
- BindingFlags.Instance;
- foreach (string s in pathTo)
- {
- field = parentType.GetField(s, flags);
- while (field == null)
- {
- if (parentType.BaseType == null)
- return null; // Should not happen really. Means SerializedObject got the property, but the reflection missed it
- parentType = parentType.BaseType;
- field = parentType.GetField(s, flags);
- }
-
- parentType = field.FieldType;
- }
-
- // dig out exposed reference types
- if (field.FieldType.IsGenericType && field.FieldType.GetGenericTypeDefinition() == typeof(ExposedReference<Object>).GetGenericTypeDefinition())
- {
- return field.FieldType.GetGenericArguments()[0];
- }
-
- return field.FieldType;
- }
-
- public Object Find(ScriptableObject sourceObject, Object context = null)
- {
- if (sourceObject == null)
- return null;
-
- SerializedObject obj = new SerializedObject(sourceObject, context);
- var prop = obj.FindProperty(propertyPath);
- if (prop == null)
- throw new InvalidOperationException("sourceObject is not of the proper type. It does not contain a path to " + propertyPath);
-
- Object result = null;
- if (isSceneReference)
- {
- if (prop.propertyType != SerializedPropertyType.ExposedReference)
- throw new InvalidOperationException(propertyPath + " is marked as a Scene Reference, but is not an exposed reference type");
- if (context == null)
- Debug.LogWarning("ObjectReferenceField.Find " + " is called on a scene reference without a context, will always be null");
-
- result = prop.exposedReferenceValue;
- }
- else
- {
- if (prop.propertyType != SerializedPropertyType.ObjectReference)
- throw new InvalidOperationException(propertyPath + "is marked as an asset reference, but is not an object reference type");
- result = prop.objectReferenceValue;
- }
-
- return result;
- }
-
- /// <summary>
- /// Check if an Object satisfies this field, including components
- /// </summary>
- public bool IsAssignable(Object obj)
- {
- if (obj == null)
- return false;
-
- // types match
- bool potentialMatch = type.IsAssignableFrom(obj.GetType());
-
- // field is component, and it exists on the gameObject
- if (!potentialMatch && typeof(Component).IsAssignableFrom(type) && obj is GameObject)
- potentialMatch = ((GameObject)obj).GetComponent(type) != null;
-
- return potentialMatch && isSceneReference == obj.IsSceneObject();
- }
-
- /// <summary>
- /// Assigns a value to the field
- /// </summary>
- public bool Assign(ScriptableObject scriptableObject, Object value, IExposedPropertyTable exposedTable = null)
- {
- var serializedObject = new SerializedObject(scriptableObject, exposedTable as Object);
- var property = serializedObject.FindProperty(propertyPath);
- if (property == null)
- return false;
-
- // if the value is a game object, but the field is a component
- if (value is GameObject && typeof(Component).IsAssignableFrom(type))
- value = ((GameObject)value).GetComponent(type);
-
- if (isSceneReference)
- {
- property.exposedReferenceValue = value;
-
- // the object gets dirtied, but not the scene which is where the reference is stored
- var component = exposedTable as Component;
- if (component != null && !EditorApplication.isPlaying)
- EditorSceneManager.MarkSceneDirty(component.gameObject.scene);
- }
- else
- property.objectReferenceValue = value;
-
- serializedObject.ApplyModifiedProperties();
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectReferenceField.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectReferenceField.cs.meta
deleted file mode 100644
index c0655c7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/ObjectReferenceField.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 29bf1d4ec1012bc45967ce95b729b8b3
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/PropertyCollector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/PropertyCollector.cs
deleted file mode 100644
index f19300d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/PropertyCollector.cs
+++ /dev/null
@@ -1,226 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class PropertyCollector : IPropertyCollector
- {
- readonly Stack<GameObject> m_ObjectStack = new Stack<GameObject>();
-
- // Call immediately before use
- public void Reset()
- {
- m_ObjectStack.Clear();
- }
-
- // call to reset caches. should be called when switching master timelines
- public void Clear()
- {
- m_ObjectStack.Clear();
- AnimationPreviewUtilities.ClearCaches();
- }
-
- public void PushActiveGameObject(GameObject gameObject)
- {
- m_ObjectStack.Push(gameObject);
- }
-
- public void PopActiveGameObject()
- {
- m_ObjectStack.Pop();
- }
-
- public void AddFromClip(AnimationClip clip)
- {
- var go = m_ObjectStack.Peek(); // allow it to throw if empty
- if (go != null && clip != null) // null game object is allowed for calls to be ignored
- AddFromClip(go, clip);
- }
-
- public void AddFromClips(IEnumerable<AnimationClip> clips)
- {
- var go = m_ObjectStack.Peek();
- if (go != null)
- AddFromClips(go, clips);
- }
-
- public void AddFromName<T>(string name) where T : Component
- {
- var go = m_ObjectStack.Peek(); // allow it to throw if empty
- if (go != null) // null game object is allowed for calls to be ignored
- AddFromName<T>(go, name);
- }
-
- public void AddFromName(string name)
- {
- var go = m_ObjectStack.Peek(); // allow it to throw if empty
- if (go != null) // null game object is allowed for calls to be ignored
- AddFromName(go, name);
- }
-
- public void AddFromClip(GameObject obj, AnimationClip clip)
- {
- if (!Application.isPlaying)
- AddPropertiesFromClip(obj, clip);
- }
-
- public void AddFromClips(GameObject animatorRoot, IEnumerable<AnimationClip> clips)
- {
- if (Application.isPlaying)
- return;
-
- AnimationPreviewUtilities.PreviewFromCurves(animatorRoot, AnimationPreviewUtilities.GetBindings(animatorRoot, clips));
- }
-
- public void AddFromName<T>(GameObject obj, string name) where T : Component
- {
- if (!Application.isPlaying)
- AddPropertiesFromName(obj, typeof(T), name);
- }
-
- public void AddFromName(GameObject obj, string name)
- {
- if (!Application.isPlaying)
- AddPropertiesFromName(obj, name);
- }
-
- public void AddFromName(Component component, string name)
- {
- if (!Application.isPlaying)
- AddPropertyModification(component, name);
- }
-
- public void AddFromComponent(GameObject obj, Component component)
- {
- if (Application.isPlaying)
- return;
-
- if (obj == null || component == null)
- return;
-
- var serializedObject = new SerializedObject(component);
- SerializedProperty property = serializedObject.GetIterator();
-
- while (property.NextVisible(true))
- {
- if (property.hasVisibleChildren || !AnimatedParameterUtility.IsTypeAnimatable(property.propertyType))
- continue;
-
- AddPropertyModification(component, property.propertyPath);
- }
- }
-
- void AddPropertiesFromClip(GameObject go, AnimationClip clip)
- {
- if (go != null && clip != null)
- {
- AnimationMode.InitializePropertyModificationForGameObject(go, clip);
- }
- }
-
- static void AddPropertiesFromName(GameObject go, string property)
- {
- if (go == null)
- return;
-
- AddPropertyModification(go, property);
- }
-
- static void AddPropertiesFromName(GameObject go, Type compType, string property)
- {
- if (go == null)
- return;
- var comp = go.GetComponent(compType);
- if (comp == null)
- return;
-
- AddPropertyModification(comp, property);
- }
-
- public void AddObjectProperties(Object obj, AnimationClip clip)
- {
- if (obj == null || clip == null)
- return;
-
- IPlayableAsset asset = obj as IPlayableAsset;
- IPlayableBehaviour playable = obj as IPlayableBehaviour;
-
- // special case for assets that contain animated script playables.
- // The paths in the clip start from the field with the templated playable
- if (asset != null)
- {
- if (playable == null)
- {
- AddSerializedPlayableModifications(asset, clip);
- }
- else
- {
- // in this case the asset is the playable. The clip applies directly
- AnimationMode.InitializePropertyModificationForObject(obj, clip);
- }
- }
- }
-
- void AddSerializedPlayableModifications(IPlayableAsset asset, AnimationClip clip)
- {
- var obj = asset as Object;
- if (obj == null)
- return;
-
- var driver = WindowState.previewDriver;
- if (driver == null || !AnimationMode.InAnimationMode(driver))
- return;
-
- var serializedObj = new SerializedObject(obj);
- var bindings = AnimationClipCurveCache.Instance.GetCurveInfo(clip).bindings;
- var fields = AnimatedParameterUtility.GetScriptPlayableFields(asset);
-
- // go through each binding and offset using the field name
- // so the modification system can find the particle object using the asset as a root
- foreach (var b in bindings)
- {
- foreach (var f in fields)
- {
- var propertyPath = f.Name + "." + b.propertyName;
- if (serializedObj.FindProperty(propertyPath) != null)
- {
- DrivenPropertyManager.RegisterProperty(driver, obj, propertyPath);
- break;
- }
- }
- }
- }
-
- private static void AddPropertyModification(GameObject obj, string propertyName)
- {
- var driver = WindowState.previewDriver;
- if (driver == null || !AnimationMode.InAnimationMode(driver))
- return;
-
- DrivenPropertyManager.RegisterProperty(driver, obj, propertyName);
- }
-
- private static void AddPropertyModification(Component comp, string name)
- {
- if (comp == null)
- return;
-
- var driver = WindowState.previewDriver;
- if (driver == null || !AnimationMode.InAnimationMode(driver))
- return;
-
- // Register Property will display an error if a property doesn't exist (wanted behaviour)
- // However, it also displays an error on Monobehaviour m_Script property, since it can't be driven. (not wanted behaviour)
- // case 967026
- if (name == "m_Script" && (comp as MonoBehaviour) != null)
- return;
-
- DrivenPropertyManager.RegisterProperty(driver, comp, name);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/PropertyCollector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/PropertyCollector.cs.meta
deleted file mode 100644
index 3e8f486..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/PropertyCollector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1f3a562675833b4448299e4f627b0cec
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Range.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Range.cs
deleted file mode 100644
index 745e742..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Range.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- struct Range
- {
- public double start;
- public double end;
- public double length { get { return end - start; } }
-
- public static Range Union(Range lhs, Range rhs)
- {
- return new Range
- {
- start = Math.Min(lhs.start, rhs.start),
- end = Math.Max(lhs.end, rhs.end)
- };
- }
-
- public static Range Intersection(Range lhs, Range rhs)
- {
- var s = Math.Max(lhs.start, rhs.start);
- var e = Math.Min(lhs.end, rhs.end);
-
- if (s > e)
- {
- // No intersection returns a 0-length range from 0 to 0
- return new Range();
- }
-
- return new Range
- {
- start = s,
- end = e
- };
- }
-
- public override string ToString()
- {
- return ToString("F3");
- }
-
- public string ToString(string format)
- {
- return UnityString.Format("({0}, {1})", start.ToString(format), end.ToString(format));
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Range.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Range.cs.meta
deleted file mode 100644
index 22005c4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/Range.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d31dfeaa131921f4eae00783cc48146f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SequenceSelectorNameFormater.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SequenceSelectorNameFormater.cs
deleted file mode 100644
index 654eecb..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SequenceSelectorNameFormater.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace UnityEditor.Timeline
-{
- // Class used for uniquely format names used in the GenericMenu. We can't add duplicate MenuItem in GenericMenu
- // so that's why we need to keep information about the text we want to uniquely format.
- class SequenceMenuNameFormater
- {
- Dictionary<int, int> m_UniqueItem = new Dictionary<int, int>();
-
- public string Format(string text)
- {
- var key = text.GetHashCode();
- var index = 0;
-
- if (m_UniqueItem.ContainsKey(key))
- {
- index = m_UniqueItem[key];
- index++;
- m_UniqueItem[key] = index;
- }
- else
- {
- m_UniqueItem.Add(key, index);
- return text;
- }
-
- return $"{text}{index}";
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SequenceSelectorNameFormater.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SequenceSelectorNameFormater.cs.meta
deleted file mode 100644
index 9fe16bd..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SequenceSelectorNameFormater.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1861286ba69badd439188a65bebf3cda
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SpacePartitioner.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SpacePartitioner.cs
deleted file mode 100644
index 1539a1d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SpacePartitioner.cs
+++ /dev/null
@@ -1,127 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- interface IBounds
- {
- Rect boundingRect { get; }
- }
-
- class SpacePartitioner
- {
- internal class CachedList<T>
- {
- public static readonly List<T> Instance = new List<T>(1000);
- }
-
- struct Entry : IInterval
- {
- public object item { get; set; }
- public long intervalStart { get; set; }
- public long intervalEnd { get; set; }
- public Rect bounds { get; set; }
-
- private const float kPrecision = 100.0f;
- private const float kMaxFloat = (float)long.MaxValue;
- private const float kMinFloat = (float)long.MinValue;
-
- static public Int64 FromFloat(float f)
- {
- if (Single.IsPositiveInfinity(f))
- return long.MaxValue;
- if (Single.IsNegativeInfinity(f))
- return long.MinValue;
-
- f = Mathf.Clamp(f, kMinFloat, kMaxFloat); // prevent overflow of floats
- f = Mathf.Clamp(f * kPrecision, kMinFloat, kMaxFloat); // clamp to 'long' range
- return (long)(f);
- }
- }
-
- const EventType k_GuiEventLock = EventType.Repaint;
-
- IntervalTree<Entry> m_Tree = new IntervalTree<Entry>();
- List<Entry> m_CacheList = new List<Entry>();
-
- public void Clear()
- {
- m_Tree.Clear();
- }
-
- public void AddBounds(IBounds bounds)
- {
- AddBounds(bounds, bounds.boundingRect);
- }
-
- public void AddBounds(object item, Rect rect)
- {
- if (item == null)
- throw new ArgumentNullException("item");
-
- m_Tree.Add(new Entry()
- {
- intervalStart = Entry.FromFloat(rect.yMin),
- intervalEnd = Entry.FromFloat(rect.yMax),
- bounds = rect,
- item = item
- }
- );
- }
-
- /// <summary>
- /// Get items of type T at a given position
- /// </summary>
- /// <param name="position"></param>
- /// <param name="inClipSpace"></param>
- /// <typeparam name="T"></typeparam>
- /// <remarks>
- /// Uses a (1,1) sized box
- /// Use .ToList() or .ToArray() when not enumerating the result immediately
- /// </remarks>
- /// <returns></returns>
- public IEnumerable<T> GetItemsAtPosition<T>(Vector2 position)
- {
- return GetItemsInArea<T>(new Rect(position.x, position.y, 1, 1));
- }
-
- /// <summary>
- ///
- /// </summary>
- /// <param name="area"></param>
- /// <param name="inClipSpace"></param>
- /// <typeparam name="T"></typeparam>
- /// <returns></returns>
- public IEnumerable<T> GetItemsInArea<T>(Rect area)
- {
- m_CacheList.Clear();
- m_Tree.IntersectsWithRange(long.MinValue, long.MaxValue, m_CacheList);
-
- var list = CachedList<T>.Instance;
- list.Clear();
- foreach (var i in m_CacheList)
- {
- if (i.item is T && i.bounds.Overlaps(area))
- list.Add((T)i.item);
- }
- return list;
- }
-
- public void DebugDraw()
- {
- var kFillColor = new Color(1.0f, 1.0f, 1.0f, 0.1f);
- var kOutlineColor = Color.yellow;
-
- m_CacheList.Clear();
- m_Tree.IntersectsWithRange(long.MinValue, long.MaxValue, m_CacheList);
- HandleUtility.ApplyWireMaterial();
-
- foreach (var item in m_CacheList)
- {
- Handles.DrawSolidRectangleWithOutline(item.bounds, kFillColor, kOutlineColor);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SpacePartitioner.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SpacePartitioner.cs.meta
deleted file mode 100644
index 2359cae..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/SpacePartitioner.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 2fa2cf7de51b0d34d9dce3747b72e49d
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleManager.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleManager.cs
deleted file mode 100644
index 794fc68..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleManager.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.Experimental;
-using UnityEditor.StyleSheets;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class StyleManager
- {
- static readonly StyleState[] k_StyleStates = { StyleState.any };
- static readonly string k_ErrorCannotFindStyle = L10n.Tr("Cannot find style {0} for {1}");
-
- static Dictionary<Type, GUIStyle> s_CustomStyles = new Dictionary<Type, GUIStyle>();
- static GUISkin s_CurrentSkin;
-
- public static GUIStyle UssStyleForType(Type type)
- {
- ClearCacheIfInvalid();
-
- GUIStyle cachedStyle;
- if (s_CustomStyles.TryGetValue(type, out cachedStyle))
- return cachedStyle;
-
- var style = DirectorStyles.GetGUIStyle(DirectorStyles.markerDefaultStyle);
-
- var customStyleForType = CustomStyleForType(type);
- if (customStyleForType != null)
- {
- if (IsStyleValid(customStyleForType))
- style = DirectorStyles.GetGUIStyle(customStyleForType);
- else
- Debug.LogWarningFormat(k_ErrorCannotFindStyle, customStyleForType, type.Name);
- }
-
- s_CustomStyles.Add(type, style);
- return style;
- }
-
- static string CustomStyleForType(Type type)
- {
- var attr = (CustomStyleAttribute)type.GetCustomAttributes(typeof(CustomStyleAttribute), true).FirstOrDefault();
- return attr != null ? attr.ussStyle : null;
- }
-
- static bool IsStyleValid(string ussStyle)
- {
- return GUISkin.current.FindStyle(ussStyle) != null || EditorResources.styleCatalog.GetStyle(ussStyle, k_StyleStates).IsValid();
- }
-
- static void ClearCacheIfInvalid()
- {
- if (s_CurrentSkin != GUISkin.current)
- s_CustomStyles.Clear();
- s_CurrentSkin = GUISkin.current;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleManager.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleManager.cs.meta
deleted file mode 100644
index bba0d35..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleManager.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5f31f28cc64c91042976555c016ffd5f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleNormalColorOverride.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleNormalColorOverride.cs
deleted file mode 100644
index 24016ca..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleNormalColorOverride.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- struct StyleNormalColorOverride : IDisposable
- {
- readonly GUIStyle m_Style;
- readonly Color m_OldColor;
-
- public StyleNormalColorOverride(GUIStyle style, Color newColor)
- {
- m_Style = style;
- m_OldColor = style.normal.textColor;
- style.normal.textColor = newColor;
- }
-
- public void Dispose()
- {
- m_Style.normal.textColor = m_OldColor;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleNormalColorOverride.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleNormalColorOverride.cs.meta
deleted file mode 100644
index b969311..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/StyleNormalColorOverride.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 2bd3ca1fde4b154448ef972b0f9d292e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimeReferenceUtility.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimeReferenceUtility.cs
deleted file mode 100644
index 4e456f8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimeReferenceUtility.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class TimeReferenceUtility
- {
- static WindowState state { get { return TimelineWindow.instance.state; } }
-
- public static double SnapToFrame(double time)
- {
- if (state.timeReferenceMode == TimeReferenceMode.Global)
- {
- time = state.editSequence.ToGlobalTime(time);
- time = TimeUtility.RoundToFrame(time, state.referenceSequence.frameRate);
- return state.editSequence.ToLocalTime(time);
- }
-
- return TimeUtility.RoundToFrame(time, state.referenceSequence.frameRate);
- }
-
- public static string ToTimeString(double time, string format = "F2")
- {
- if (state.timeReferenceMode == TimeReferenceMode.Global)
- time = state.editSequence.ToGlobalTime(time);
-
- return state.editSequence.viewModel.timeInFrames ?
- TimeUtility.TimeAsFrames(time, state.referenceSequence.frameRate, format) :
- TimeUtility.TimeAsTimeCode(time, state.referenceSequence.frameRate, format);
- }
-
- public static double FromTimeString(string timeString)
- {
- double newTime;
-
- if (state.timeInFrames)
- {
- double newFrameDouble;
- if (double.TryParse(timeString, out newFrameDouble))
- newTime = TimeUtility.FromFrames(newFrameDouble, state.referenceSequence.frameRate);
- else
- newTime = state.editSequence.time;
- }
- else
- {
- newTime = TimeUtility.ParseTimeCode(timeString, state.referenceSequence.frameRate, -1);
- }
-
- if (newTime >= 0.0)
- {
- return state.timeReferenceMode == TimeReferenceMode.Global ?
- state.editSequence.ToLocalTime(newTime) : newTime;
- }
-
- return state.editSequence.time;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimeReferenceUtility.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimeReferenceUtility.cs.meta
deleted file mode 100644
index 1da1a4a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimeReferenceUtility.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f6bb32665bcc91b41a7177fd6af08ad6
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimelineKeyboardNavigation.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimelineKeyboardNavigation.cs
deleted file mode 100644
index 3cd18d8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimelineKeyboardNavigation.cs
+++ /dev/null
@@ -1,387 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class KeyboardNavigation
- {
- public static void FrameTrackHeader(TreeViewItem treeItem = null)
- {
- if (TrackHeadActive())
- treeItem = treeItem ?? SelectionManager.SelectedTrackGUI().Last();
- else
- {
- var item = GetVisibleSelectedItems().LastOrDefault();
- treeItem = TimelineWindow.instance.allTracks.FirstOrDefault(
- x => item != null && x.track == item.parentTrack);
- }
-
- if (treeItem != null)
- TimelineWindow.instance.treeView.FrameItem(treeItem);
- }
-
- public static bool TrackHeadActive()
- {
- return SelectionManager.SelectedTracks().Any(x => x.IsVisibleRecursive()) && !ClipAreaActive();
- }
-
- public static bool ClipAreaActive()
- {
- return GetVisibleSelectedItems().Any();
- }
-
- public static IEnumerable<ITimelineItem> GetVisibleSelectedItems()
- {
- return SelectionManager.SelectedItems().Where(x => x.parentTrack.IsVisibleRecursive());
- }
-
- public static IEnumerable<TimelineTrackBaseGUI> GetVisibleTracks()
- {
- return TimelineWindow.instance.allTracks.Where(x => x.track.IsVisibleRecursive());
- }
-
- static TrackAsset PreviousTrack(this TrackAsset track)
- {
- var uiOrderTracks = GetVisibleTracks().Select(t => t.track).ToList();
- var selIdx = uiOrderTracks.IndexOf(track);
- return selIdx > 0 ? uiOrderTracks[selIdx - 1] : null;
- }
-
- static TrackAsset NextTrack(this TrackAsset track)
- {
- var uiOrderTracks = GetVisibleTracks().Select(t => t.track).ToList();
- var selIdx = uiOrderTracks.IndexOf(track);
- return selIdx < uiOrderTracks.Count - 1 && selIdx != -1 ? uiOrderTracks[selIdx + 1] : null;
- }
-
- static ITimelineItem PreviousItem(this ITimelineItem item, bool clipOnly)
- {
- var items = item.parentTrack.GetItems().ToArray();
- if (clipOnly)
- {
- items = items.Where(x => x is ClipItem).ToArray();
- }
- else
- {
- items = items.Where(x => x is MarkerItem).ToArray();
- }
-
- var idx = Array.IndexOf(items, item);
- return idx > 0 ? items[idx - 1] : null;
- }
-
- static ITimelineItem NextItem(this ITimelineItem item, bool clipOnly)
- {
- var items = item.parentTrack.GetItems().ToArray();
- if (clipOnly)
- {
- items = items.Where(x => x is ClipItem).ToArray();
- }
- else
- {
- items = items.Where(x => x is MarkerItem).ToArray();
- }
-
- var idx = Array.IndexOf(items, item);
- return idx < items.Length - 1 ? items[idx + 1] : null;
- }
-
- static bool FilterItems(ref List<ITimelineItem> items)
- {
- var clipOnly = false;
- if (items.Any(x => x is ClipItem))
- {
- items = items.Where(x => x is ClipItem).ToList();
- clipOnly = true;
- }
-
- return clipOnly;
- }
-
- static ITimelineItem GetClosestItem(TrackAsset track, ITimelineItem refItem)
- {
- var start = refItem.start;
- var end = refItem.end;
- var items = track.GetItems().ToList();
-
- if (refItem is ClipItem)
- {
- items = items.Where(x => x is ClipItem).ToList();
- }
- else
- {
- items = items.Where(x => x is MarkerItem).ToList();
- }
-
- if (!items.Any())
- return null;
- ITimelineItem ret = null;
- var scoreToBeat = double.NegativeInfinity;
-
- foreach (var item in items)
- {
- // test for overlap
- var low = Math.Max(item.start, start);
- var high = Math.Min(item.end, end);
- if (low <= high)
- {
- var score = high - low;
- if (score >= scoreToBeat)
- {
- scoreToBeat = score;
- ret = item;
- }
- }
- }
-
- return ret;
- }
-
- public static bool FocusFirstVisibleItem(WindowState state,
- IEnumerable<TrackAsset> focusTracks = null)
- {
- var timeRange = state.timeAreaShownRange;
-
- var tracks = focusTracks ?? TimelineWindow.instance.treeView.visibleTracks.Where(x => x.IsVisibleRecursive() && x.GetItems().Any());
- var items = tracks.SelectMany(t => t.GetItems().OfType<ClipItem>().Where(x => x.end >= timeRange.x && x.end <= timeRange.y ||
- x.start >= timeRange.x && x.start <= timeRange.y)).ToList();
- var itemFullyInView = items.Where(x => x.end >= timeRange.x && x.end <= timeRange.y &&
- x.start >= timeRange.x && x.start <= timeRange.y);
- var itemToSelect = itemFullyInView.FirstOrDefault() ?? items.FirstOrDefault();
- if (itemToSelect != null)
- {
- SelectionManager.SelectOnly(itemToSelect);
- return true;
- }
- return false;
- }
-
- public static bool CollapseGroup(WindowState state)
- {
- if (TrackHeadActive())
- {
- var quit = false;
- foreach (var track in SelectionManager.SelectedTracks())
- {
- if (!track.GetChildTracks().Any())
- continue;
- if (!quit && !track.GetCollapsed())
- quit = true;
- track.SetCollapsed(true);
- }
- if (quit)
- {
- state.Refresh();
- return true;
- }
-
- var selectedTrack = SelectionManager.SelectedTracks().LastOrDefault();
- var parent = selectedTrack != null ? selectedTrack.parent as TrackAsset : null;
- if (parent)
- {
- SelectionManager.SelectOnly(parent);
- FrameTrackHeader(GetVisibleTracks().First(x => x.track == parent));
- return true;
- }
- }
- return false;
- }
-
- public static bool SelectLeftItem(WindowState state, bool shift = false)
- {
- if (ClipAreaActive())
- {
- var items = SelectionManager.SelectedItems().ToList();
- var clipOnly = FilterItems(ref items);
-
- var item = items.Last();
- var prev = item.PreviousItem(clipOnly);
- if (prev != null)
- {
- if (shift)
- {
- if (SelectionManager.Contains(prev))
- SelectionManager.Remove(item);
- SelectionManager.Add(prev);
- }
- else
- SelectionManager.SelectOnly(prev);
- TimelineHelpers.FrameItems(state, new[] {prev});
- }
- else if (item != null && !shift && item.parentTrack != state.editSequence.asset.markerTrack)
- SelectionManager.SelectOnly(item.parentTrack);
- return true;
- }
- return false;
- }
-
- public static bool SelectRightItem(WindowState state, bool shift = false)
- {
- if (ClipAreaActive())
- {
- var items = SelectionManager.SelectedItems().ToList();
- var clipOnly = FilterItems(ref items);
-
- var item = items.Last();
- var next = item.NextItem(clipOnly);
- if (next != null)
- {
- if (shift)
- {
- if (SelectionManager.Contains(next))
- SelectionManager.Remove(item);
- SelectionManager.Add(next);
- }
- else
- SelectionManager.SelectOnly(next);
- TimelineHelpers.FrameItems(state, new[] {next});
- return true;
- }
- }
- return false;
- }
-
- public static bool UnCollapseGroup(WindowState state)
- {
- if (TrackHeadActive())
- {
- var quit = false;
- foreach (var track in SelectionManager.SelectedTracks())
- {
- if (!track.GetChildTracks().Any()) continue;
-
- if (!quit && track.GetCollapsed())
- quit = true;
- track.SetCollapsed(false);
- }
-
- if (quit)
- {
- state.Refresh();
- return true;
- }
-
- // Transition to Clip area
- var visibleTracks = GetVisibleTracks().Select(x => x.track).ToList();
- var idx = visibleTracks.IndexOf(SelectionManager.SelectedTracks().Last());
- ITimelineItem item = null;
- for (var i = idx; i < visibleTracks.Count; ++i)
- {
- var items = visibleTracks[i].GetItems().OfType<ClipItem>();
- if (!items.Any())
- continue;
- item = items.First();
- break;
- }
-
- if (item != null)
- {
- SelectionManager.SelectOnly(item);
- TimelineHelpers.FrameItems(state, new[] {item});
- return true;
- }
- }
- return false;
- }
-
- public static bool SelectUpTrack(bool shift = false)
- {
- if (TrackHeadActive())
- {
- var prevTrack = PreviousTrack(SelectionManager.SelectedTracks().Last());
- if (prevTrack != null)
- {
- if (shift)
- {
- if (SelectionManager.Contains(prevTrack))
- SelectionManager.Remove(SelectionManager.SelectedTracks().Last());
- SelectionManager.Add(prevTrack);
- }
- else
- SelectionManager.SelectOnly(prevTrack);
- FrameTrackHeader(GetVisibleTracks().First(x => x.track == prevTrack));
- }
- return true;
- }
- return false;
- }
-
- public static bool SelectUpItem(WindowState state)
- {
- if (ClipAreaActive())
- {
- var refItem = SelectionManager.SelectedItems().Last();
- var prevTrack = refItem.parentTrack.PreviousTrack();
- while (prevTrack != null)
- {
- var selectionItem = GetClosestItem(prevTrack, refItem);
- if (selectionItem == null)
- {
- prevTrack = prevTrack.PreviousTrack();
- continue;
- }
-
- SelectionManager.SelectOnly(selectionItem);
- TimelineHelpers.FrameItems(state, new[] {selectionItem});
- FrameTrackHeader(GetVisibleTracks().First(x => x.track == selectionItem.parentTrack));
- break;
- }
- return true;
- }
-
- return false;
- }
-
- public static bool SelectDownTrack(bool shift = false)
- {
- if (TrackHeadActive())
- {
- var nextTrack = SelectionManager.SelectedTracks().Last().NextTrack();
- if (nextTrack != null)
- {
- if (shift)
- {
- if (SelectionManager.Contains(nextTrack))
- SelectionManager.Remove(SelectionManager.SelectedTracks().Last());
- SelectionManager.Add(nextTrack);
- }
- else
- SelectionManager.SelectOnly(nextTrack);
-
- FrameTrackHeader(GetVisibleTracks().First(x => x.track == nextTrack));
- }
- return true;
- }
-
- return false;
- }
-
- public static bool SelectDownItem(WindowState state)
- {
- if (ClipAreaActive())
- {
- var refItem = SelectionManager.SelectedItems().Last();
- var nextTrack = refItem.parentTrack.NextTrack();
- while (nextTrack != null)
- {
- var selectionItem = GetClosestItem(nextTrack, refItem);
- if (selectionItem == null)
- {
- nextTrack = nextTrack.NextTrack();
- continue;
- }
-
- SelectionManager.SelectOnly(selectionItem);
- TimelineHelpers.FrameItems(state, new[] {selectionItem});
- FrameTrackHeader(GetVisibleTracks().First(x => x.track == selectionItem.parentTrack));
- break;
- }
- return true;
- }
- return false;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimelineKeyboardNavigation.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimelineKeyboardNavigation.cs.meta
deleted file mode 100644
index 7fb6aea..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TimelineKeyboardNavigation.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9be6112c2b1c3ae44927680ba7b36e10
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackModifier.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackModifier.cs
deleted file mode 100644
index 5afeb52..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackModifier.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using UnityEngine;
-using UnityEditor;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- static class TrackModifier
- {
- public static bool DeleteTrack(TimelineAsset timeline, TrackAsset track)
- {
- if (TimelineEditor.inspectedDirector != null)
- {
- TimelineUndo.PushUndo(TimelineEditor.inspectedDirector, "Delete Track");
- TimelineEditor.inspectedDirector.ClearGenericBinding(track);
- }
-
- return timeline.DeleteTrack(track);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackModifier.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackModifier.cs.meta
deleted file mode 100644
index f221e10..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackModifier.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 411b7c7ffc0960249b35a2a247b66ff7
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackResourceCache.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackResourceCache.cs
deleted file mode 100644
index 8eda6fe..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackResourceCache.cs
+++ /dev/null
@@ -1,121 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class TrackResourceCache
- {
- private static Dictionary<System.Type, GUIContent> s_TrackIconCache = new Dictionary<Type, GUIContent>(10);
- private static Dictionary<System.Type, Color> s_TrackColorCache = new Dictionary<Type, Color>(10);
- public static GUIContent s_DefaultIcon = EditorGUIUtility.IconContent("UnityEngine/ScriptableObject Icon");
-
- public static GUIContent GetTrackIcon(TrackAsset track)
- {
- if (track == null)
- return s_DefaultIcon;
-
- GUIContent content = null;
- if (!s_TrackIconCache.TryGetValue(track.GetType(), out content))
- {
- content = FindTrackIcon(track);
- s_TrackIconCache[track.GetType()] = content;
- }
- return content;
- }
-
- public static Color GetTrackColor(TrackAsset track)
- {
- if (track == null)
- return Color.white;
-
- // Try to ensure DirectorStyles is initialized first
- // Note: GUISkin.current must exist to be able do so
- if (!DirectorStyles.IsInitialized && GUISkin.current != null)
- DirectorStyles.ReloadStylesIfNeeded();
-
- Color color;
- if (!s_TrackColorCache.TryGetValue(track.GetType(), out color))
- {
- var attr = track.GetType().GetCustomAttributes(typeof(TrackColorAttribute), true);
- if (attr.Length > 0)
- {
- color = ((TrackColorAttribute)attr[0]).color;
- }
- else
- {
- // case 1141958
- // There was an error initializing DirectorStyles
- if (!DirectorStyles.IsInitialized)
- return Color.white;
-
- color = DirectorStyles.Instance.customSkin.colorDefaultTrackDrawer;
- }
-
- s_TrackColorCache[track.GetType()] = color;
- }
- return color;
- }
-
- public static void ClearTrackIconCache()
- {
- s_TrackIconCache.Clear();
- }
-
- public static void SetTrackIcon<T>(GUIContent content) where T : TrackAsset
- {
- s_TrackIconCache[typeof(T)] = content;
- }
-
- public static void ClearTrackColorCache()
- {
- s_TrackColorCache.Clear();
- }
-
- public static void SetTrackColor<T>(Color c) where T : TrackAsset
- {
- s_TrackColorCache[typeof(T)] = c;
- }
-
- private static GUIContent FindTrackIcon(TrackAsset track)
- {
- // backwards compatible -- try to load from Gizmos folder
- Texture2D texture = AssetDatabase.LoadAssetAtPath<Texture2D>("Assets/Gizmos/" + track.GetType().Name + ".png");
- if (texture != null)
- return new GUIContent(texture);
-
- // try to load based on the binding type
- var binding = track.outputs.FirstOrDefault();
- if (binding.outputTargetType != null)
- {
- // Type calls don't properly handle monobehaviours, because an instance is required to
- // get the monoscript icons
- if (typeof(MonoBehaviour).IsAssignableFrom(binding.outputTargetType))
- {
- texture = null;
- var scripts = UnityEngine.Resources.FindObjectsOfTypeAll<MonoScript>();
- foreach (var script in scripts)
- {
- if (script.GetClass() == binding.outputTargetType)
- {
- texture = AssetPreview.GetMiniThumbnail(script);
- break;
- }
- }
- }
- else
- {
- texture = EditorGUIUtility.FindTexture(binding.outputTargetType);
- }
-
- if (texture != null)
- return new GUIContent(texture);
- }
-
- // default to the scriptable object icon
- return s_DefaultIcon;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackResourceCache.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackResourceCache.cs.meta
deleted file mode 100644
index be2a519..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TrackResourceCache.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 63f2caa33e79582448112b2e286d576d
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TypeUtility.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TypeUtility.cs
deleted file mode 100644
index 2c28266..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TypeUtility.cs
+++ /dev/null
@@ -1,342 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using System.Reflection;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-using Component = UnityEngine.Component;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- static class TypeUtility
- {
- private static Type[] s_AllTrackTypes;
- private static Type[] s_AllClipTypes;
- private static Type[] s_MarkerTypes;
- private static Dictionary<Type, Type[]> s_TrackTypeToVisibleClipType = new Dictionary<Type, Type[]>();
- private static Dictionary<Type, Type[]> s_TrackTypeToAllClipType = new Dictionary<Type, Type[]>();
- private static Dictionary<Type, TrackBindingTypeAttribute> s_TrackToBindingCache = new Dictionary<Type, TrackBindingTypeAttribute>();
-
- public static bool IsConcretePlayableAsset(Type t)
- {
- return typeof(IPlayableAsset).IsAssignableFrom(t)
- && IsConcreteAsset(t);
- }
-
- private static bool IsConcreteAsset(Type t)
- {
- return typeof(ScriptableObject).IsAssignableFrom(t)
- && !t.IsAbstract
- && !t.IsGenericType
- && !t.IsInterface
- && !typeof(TrackAsset).IsAssignableFrom(t)
- && !typeof(TimelineAsset).IsAssignableFrom(t);
- }
-
- /// <summary>
- /// List of all PlayableAssets
- /// </summary>
- public static IEnumerable<Type> AllClipTypes()
- {
- if (s_AllClipTypes == null)
- {
- s_AllClipTypes = TypeCache.GetTypesDerivedFrom<IPlayableAsset>().
- Where(t => IsConcreteAsset(t)).
- ToArray();
- }
- return s_AllClipTypes;
- }
-
- public static IEnumerable<Type> AllTrackTypes()
- {
- if (s_AllTrackTypes == null)
- {
- s_AllTrackTypes = TypeCache.GetTypesDerivedFrom<TrackAsset>()
- .Where(x => !x.IsAbstract)
- .ToArray();
- }
-
- return s_AllTrackTypes;
- }
-
- public static IEnumerable<Type> GetVisiblePlayableAssetsHandledByTrack(Type trackType)
- {
- if (trackType == null || !typeof(TrackAsset).IsAssignableFrom(trackType))
- return Enumerable.Empty<Type>();
-
- Type[] types;
- if (s_TrackTypeToVisibleClipType.TryGetValue(trackType, out types))
- {
- return types;
- }
-
- // special case -- the playable track handles all types not handled by other tracks
- if (trackType == typeof(PlayableTrack))
- {
- types = GetUnhandledClipTypes().ToArray();
- s_TrackTypeToVisibleClipType[trackType] = types;
- return types;
- }
-
- var attributes = trackType.GetCustomAttributes(typeof(TrackClipTypeAttribute), true);
- var baseClasses = attributes.
- OfType<TrackClipTypeAttribute>().
- Where(t => t.allowAutoCreate).
- Select(a => a.inspectedType);
-
- types = AllClipTypes().Where(t => baseClasses.Any(x => x.IsAssignableFrom(t))).ToArray();
- s_TrackTypeToVisibleClipType[trackType] = types;
- return types;
- }
-
- public static IEnumerable<Type> GetPlayableAssetsHandledByTrack(Type trackType)
- {
- if (trackType == null || !typeof(TrackAsset).IsAssignableFrom(trackType))
- return Enumerable.Empty<Type>();
-
- Type[] types;
- if (s_TrackTypeToAllClipType.TryGetValue(trackType, out types))
- {
- return types;
- }
-
- // special case -- the playable track handles all types not handled by other tracks
- if (trackType == typeof(PlayableTrack))
- {
- types = GetUnhandledClipTypes().ToArray();
- s_TrackTypeToAllClipType[trackType] = types;
- return types;
- }
-
- var attributes = trackType.GetCustomAttributes(typeof(TrackClipTypeAttribute), true);
- var baseClasses = attributes.
- OfType<TrackClipTypeAttribute>().
- Select(a => a.inspectedType);
-
- types = AllClipTypes().Where(t => baseClasses.Any(x => x.IsAssignableFrom(t))).ToArray();
- s_TrackTypeToAllClipType[trackType] = types;
- return types;
- }
-
- /// <summary>
- /// Returns the binding attribute attrached to the track
- /// </summary>
- public static TrackBindingTypeAttribute GetTrackBindingAttribute(Type trackType)
- {
- if (trackType == null || !typeof(TrackAsset).IsAssignableFrom(trackType))
- return null;
-
- TrackBindingTypeAttribute attribute = null;
- if (!s_TrackToBindingCache.TryGetValue(trackType, out attribute))
- {
- attribute = (TrackBindingTypeAttribute)Attribute.GetCustomAttribute(trackType, typeof(TrackBindingTypeAttribute));
- s_TrackToBindingCache.Add(trackType, attribute);
- }
-
- return attribute;
- }
-
- /// <summary>
- /// True if the given track has a clip type that handles the given object
- /// </summary>
- public static bool TrackHasClipForObject(Type trackType, Object obj)
- {
- return GetPlayableAssetsHandledByTrack(trackType)
- .Any(c => ObjectReferenceField.FindObjectReferences(c).Any(o => o.IsAssignable(obj)));
- }
-
- /// <summary>
- /// Get the list of markers that have fields for the object
- /// </summary>
- public static IEnumerable<Type> MarkerTypesWithFieldForObject(Object obj)
- {
- return GetAllMarkerTypes().Where(
- c => ObjectReferenceField.FindObjectReferences(c).Any(o => o.IsAssignable(obj))
- );
- }
-
- /// <summary>
- /// Get the list of tracks that can handle this object as clips
- /// </summary>
- public static IEnumerable<Type> GetTrackTypesForObject(Object obj)
- {
- if (obj == null)
- return Enumerable.Empty<Type>();
-
- return AllTrackTypes().Where(t => TrackHasClipForObject(t, obj));
- }
-
- /// <summary>
- /// Given a trackType and an object, does the binding type match
- /// Takes into account whether creating a missing component is permitted
- /// </summary>
- public static bool IsTrackCreatableFromObject(Object obj, Type trackType)
- {
- if (obj == null || obj.IsPrefab())
- return false;
-
- var attribute = GetTrackBindingAttribute(trackType);
- if (attribute == null || attribute.type == null)
- return false;
-
- if (attribute.type.IsAssignableFrom(obj.GetType()))
- return true;
-
- var gameObject = obj as GameObject;
- if (gameObject != null && typeof(Component).IsAssignableFrom(attribute.type))
- {
- return gameObject.GetComponent(attribute.type) != null ||
- (attribute.flags & TrackBindingFlags.AllowCreateComponent) != 0;
- }
-
- return false;
- }
-
- /// <summary>
- /// Given an object, get the list of track that are creatable from it. Takes
- /// binding flags into account
- /// </summary>
- public static IEnumerable<Type> GetTracksCreatableFromObject(Object obj)
- {
- if (obj == null)
- return Enumerable.Empty<Type>();
-
- return AllTrackTypes().Where(t => !IsHiddenInMenu(t) && IsTrackCreatableFromObject(obj, t));
- }
-
- /// <summary>
- /// Get the list of playable assets that can handle an object for a particular track
- /// </summary>
- /// <param name="trackType">The type of the track</param>
- /// <param name="obj">The object to handle</param>
- /// <returns></returns>
- public static IEnumerable<Type> GetAssetTypesForObject(Type trackType, Object obj)
- {
- if (obj == null)
- return Enumerable.Empty<Type>();
-
- return GetPlayableAssetsHandledByTrack(trackType).Where(
- c => ObjectReferenceField.FindObjectReferences(c).Any(o => o.IsAssignable(obj))
- );
- }
-
- // get the track types for a track from it's attributes
- private static IEnumerable<Type> GetTrackClipTypesFromAttributes(Type trackType)
- {
- if (trackType == null || !typeof(TrackAsset).IsAssignableFrom(trackType))
- return Enumerable.Empty<Type>();
-
- var attributes = trackType.GetCustomAttributes(typeof(TrackClipTypeAttribute), true);
- var baseClasses = attributes.
- OfType<TrackClipTypeAttribute>().
- Select(a => a.inspectedType);
-
- return AllClipTypes().Where(t => baseClasses.Any(x => x.IsAssignableFrom(t)));
- }
-
- // find the playable asset types that are unhandled
- private static IEnumerable<Type> GetUnhandledClipTypes()
- {
- var typesHandledByTrack = AllTrackTypes().SelectMany(t => GetTrackClipTypesFromAttributes(t));
-
- // exclude anything in the timeline assembly, handled by tracks, has a hide in menu attribute
- // or is explicity ignored
- return AllClipTypes()
- .Except(typesHandledByTrack)
- .Where(t => !TypeUtility.IsBuiltIn(t)) // exclude built-in
- .Where(t => !typeof(TrackAsset).IsAssignableFrom(t)) // exclude track types (they are playable assets)
- .Where(t => !t.IsDefined(typeof(HideInMenuAttribute), false) && !t.IsDefined(typeof(IgnoreOnPlayableTrackAttribute), true))
- .Distinct();
- }
-
- public static IEnumerable<Type> GetAllMarkerTypes()
- {
- if (s_MarkerTypes == null)
- {
- s_MarkerTypes = TypeCache.GetTypesDerivedFrom<IMarker>()
- .Where(x =>
- typeof(ScriptableObject).IsAssignableFrom(x)
- && !x.IsAbstract
- && !x.IsGenericType
- && !x.IsInterface)
- .ToArray();
- }
- return s_MarkerTypes;
- }
-
- public static IEnumerable<Type> GetUserMarkerTypes()
- {
- return GetAllMarkerTypes().Where(x => !IsBuiltIn(x) && !IsHiddenInMenu(x));
- }
-
- public static IEnumerable<Type> GetBuiltInMarkerTypes()
- {
- return GetAllMarkerTypes().Where(TypeUtility.IsBuiltIn);
- }
-
- public static bool DoesTrackSupportMarkerType(TrackAsset track, Type type)
- {
- if (track.supportsNotifications)
- {
- return true;
- }
-
- return !typeof(INotification).IsAssignableFrom(type);
- }
-
- internal static string GetDisplayName(Type t)
- {
- var displayName = ObjectNames.NicifyVariableName(t.Name);
- var attr = Attribute.GetCustomAttribute(t, typeof(DisplayNameAttribute)) as DisplayNameAttribute;
- if (attr != null)
- displayName = attr.DisplayName;
- return displayName;
- }
-
- public static bool IsHiddenInMenu(Type type)
- {
- var attr = type.GetCustomAttributes(typeof(HideInMenuAttribute), false);
- return attr.Length > 0;
- }
-
- public struct ObjectReference
- {
- public Type type;
- public bool isSceneReference;
- }
-
- public static IEnumerable<ObjectReference> ObjectReferencesForType(Type type)
- {
- var objectReferences = ObjectReferenceField.FindObjectReferences(type);
- var uniqueTypes = objectReferences.Select(objRef => objRef.type).Distinct();
- foreach (var refType in uniqueTypes)
- {
- var isSceneReference = objectReferences.Any(objRef => objRef.type == refType && objRef.isSceneReference);
- yield return new ObjectReference { type = refType, isSceneReference = isSceneReference };
- }
- }
-
- /// <summary>
- /// Checks whether a type has an overridden method with a specific name. This method also checks overridden members in parent classes.
- /// </summary>
- public static bool HasOverrideMethod(System.Type t, string name)
- {
- const MethodAttributes mask = MethodAttributes.Virtual | MethodAttributes.NewSlot;
- const MethodAttributes expectedResult = MethodAttributes.Virtual;
-
- var method = t.GetMethod(name, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
- return method != null && (method.Attributes & mask) == expectedResult;
- }
-
- /// <summary>
- /// Returns whether the given type resides in the timeline assembly
- /// </summary>
- public static bool IsBuiltIn(System.Type t)
- {
- return t != null && t.Assembly.Equals(typeof(TimelineAsset).Assembly);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TypeUtility.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TypeUtility.cs.meta
deleted file mode 100644
index e73d461..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Utilities/TypeUtility.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4c1821c1816c6fa44967b8ecb79ea7e4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window.meta
deleted file mode 100644
index ab7469d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 28e8b16370ff78c4faca58757271619f
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes.meta
deleted file mode 100644
index db5962f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 37472f5179ca2004489ac901814cdbc3
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimeReferenceMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimeReferenceMode.cs
deleted file mode 100644
index 873f7cd..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimeReferenceMode.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace UnityEditor.Timeline
-{
- enum TimeReferenceMode
- {
- Local = 0,
- Global = 1
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimeReferenceMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimeReferenceMode.cs.meta
deleted file mode 100644
index c6c0fc4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimeReferenceMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 34d6f60b171c1004e8335d52c65928a3
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineActiveMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineActiveMode.cs
deleted file mode 100644
index aa1dd5b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineActiveMode.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-namespace UnityEditor.Timeline
-{
- class TimelineActiveMode : TimelineMode
- {
- public TimelineActiveMode()
- {
- headerState = new HeaderState
- {
- breadCrumb = TimelineModeGUIState.Enabled,
- options = TimelineModeGUIState.Enabled,
- sequenceSelector = TimelineModeGUIState.Enabled
- };
-
- trackOptionsState = new TrackOptionsState
- {
- newButton = TimelineModeGUIState.Enabled,
- editAsAssetButton = TimelineModeGUIState.Hidden
- };
- mode = TimelineModes.Active;
- }
-
- public override bool ShouldShowTimeCursor(WindowState state)
- {
- return true;
- }
-
- public override bool ShouldShowPlayRange(WindowState state)
- {
- return state.playRangeEnabled;
- }
-
- public override TimelineModeGUIState ToolbarState(WindowState state)
- {
- return TimelineModeGUIState.Enabled;
- }
-
- public override TimelineModeGUIState TrackState(WindowState state)
- {
- return TimelineModeGUIState.Enabled;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineActiveMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineActiveMode.cs.meta
deleted file mode 100644
index 1d055ea..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineActiveMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 67ee43b2f6148de40861b289b0e00591
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineAssetEditionMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineAssetEditionMode.cs
deleted file mode 100644
index 06f8581..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineAssetEditionMode.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-namespace UnityEditor.Timeline
-{
- class TimelineAssetEditionMode : TimelineInactiveMode
- {
- public override TimelineModeGUIState TrackState(WindowState state)
- {
- return TimelineModeGUIState.Enabled;
- }
-
- public TimelineAssetEditionMode()
- {
- headerState = new HeaderState
- {
- breadCrumb = TimelineModeGUIState.Enabled,
- options = TimelineModeGUIState.Enabled,
- sequenceSelector = TimelineModeGUIState.Enabled
- };
-
- trackOptionsState = new TrackOptionsState
- {
- newButton = TimelineModeGUIState.Enabled,
- editAsAssetButton = TimelineModeGUIState.Enabled
- };
- mode = TimelineModes.AssetEdition;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineAssetEditionMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineAssetEditionMode.cs.meta
deleted file mode 100644
index 6c5b2d1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineAssetEditionMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3477d28057cb3e4469c7ea6b8dc23046
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineDisabledMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineDisabledMode.cs
deleted file mode 100644
index dea7c1b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineDisabledMode.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class TimelineDisabledMode : TimelineMode
- {
- public TimelineDisabledMode()
- {
- headerState = new HeaderState
- {
- breadCrumb = TimelineModeGUIState.Enabled,
- options = TimelineModeGUIState.Enabled,
- sequenceSelector = TimelineModeGUIState.Enabled
- };
-
- trackOptionsState = new TrackOptionsState
- {
- newButton = TimelineModeGUIState.Enabled,
- editAsAssetButton = TimelineModeGUIState.Enabled
- };
- mode = TimelineModes.Disabled;
- }
-
- public override bool ShouldShowPlayRange(WindowState state)
- {
- return false;
- }
-
- public override bool ShouldShowTimeCursor(WindowState state)
- {
- return true;
- }
-
- public override TimelineModeGUIState ToolbarState(WindowState state)
- {
- return TimelineModeGUIState.Disabled;
- }
-
- public override TimelineModeGUIState TrackState(WindowState state)
- {
- return TimelineModeGUIState.Enabled;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineDisabledMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineDisabledMode.cs.meta
deleted file mode 100644
index 8139fb6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineDisabledMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4c5eb52d37bb6714a98af73df7d9cf2c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineInactiveMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineInactiveMode.cs
deleted file mode 100644
index bb63081..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineInactiveMode.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-namespace UnityEditor.Timeline
-{
- class TimelineInactiveMode : TimelineMode
- {
- public TimelineInactiveMode()
- {
- headerState = new HeaderState
- {
- breadCrumb = TimelineModeGUIState.Disabled,
- options = TimelineModeGUIState.Enabled,
- sequenceSelector = TimelineModeGUIState.Enabled
- };
-
- trackOptionsState = new TrackOptionsState
- {
- newButton = TimelineModeGUIState.Disabled,
- editAsAssetButton = TimelineModeGUIState.Enabled
- };
- mode = TimelineModes.Inactive;
- }
-
- public override bool ShouldShowPlayRange(WindowState state)
- {
- return false;
- }
-
- public override bool ShouldShowTimeCursor(WindowState state)
- {
- return false;
- }
-
- public override TimelineModeGUIState ToolbarState(WindowState state)
- {
- return TimelineModeGUIState.Disabled;
- }
-
- public override TimelineModeGUIState TrackState(WindowState state)
- {
- return TimelineModeGUIState.Disabled;
- }
-
- public override TimelineModeGUIState PreviewState(WindowState state)
- {
- return TimelineModeGUIState.Disabled;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineInactiveMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineInactiveMode.cs.meta
deleted file mode 100644
index 12a8898..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineInactiveMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5503f95d174761548a68a901beab13c2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineMode.cs
deleted file mode 100644
index 1a46841..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineMode.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- enum TimelineModeGUIState
- {
- Disabled,
- Hidden,
- Enabled
- }
-
- abstract class TimelineMode
- {
- public struct HeaderState
- {
- public TimelineModeGUIState breadCrumb;
- public TimelineModeGUIState sequenceSelector;
- public TimelineModeGUIState options;
- }
-
- public struct TrackOptionsState
- {
- public TimelineModeGUIState newButton;
- public TimelineModeGUIState editAsAssetButton;
- }
-
- public HeaderState headerState { get; protected set; }
- public TrackOptionsState trackOptionsState { get; protected set; }
- public TimelineModes mode { get; protected set; }
-
- public abstract bool ShouldShowPlayRange(WindowState state);
- public abstract bool ShouldShowTimeCursor(WindowState state);
-
- public virtual bool ShouldShowTrackBindings(WindowState state)
- {
- return ShouldShowTimeCursor(state);
- }
-
- public virtual bool ShouldShowTimeArea(WindowState state)
- {
- return !state.IsEditingAnEmptyTimeline();
- }
-
- public abstract TimelineModeGUIState TrackState(WindowState state);
- public abstract TimelineModeGUIState ToolbarState(WindowState state);
-
- public virtual TimelineModeGUIState PreviewState(WindowState state)
- {
- return Application.isPlaying ? TimelineModeGUIState.Disabled : TimelineModeGUIState.Enabled;
- }
-
- public virtual TimelineModeGUIState EditModeButtonsState(WindowState state)
- {
- return TimelineModeGUIState.Enabled;
- }
- }
-
- [Flags]
- internal enum TimelineModes
- {
- None = 0,
- Active = 1,
- ReadOnly = 2,
- Inactive = 4,
- Disabled = 8,
- AssetEdition = 16,
- All = Active | ReadOnly | Inactive | Disabled,
- Default = Active | AssetEdition
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineMode.cs.meta
deleted file mode 100644
index 7bf4435..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a2cb43d6b0c226443be7e176590837a5
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineReadOnlyMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineReadOnlyMode.cs
deleted file mode 100644
index 21418ce..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineReadOnlyMode.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-namespace UnityEditor.Timeline
-{
- class TimelineReadOnlyMode : TimelineMode
- {
- public TimelineReadOnlyMode()
- {
- headerState = new HeaderState()
- {
- breadCrumb = TimelineModeGUIState.Enabled,
- options = TimelineModeGUIState.Enabled,
- sequenceSelector = TimelineModeGUIState.Enabled,
- };
-
- trackOptionsState = new TrackOptionsState()
- {
- newButton = TimelineModeGUIState.Disabled,
- editAsAssetButton = TimelineModeGUIState.Disabled,
- };
- mode = TimelineModes.ReadOnly;
- }
-
- public override bool ShouldShowPlayRange(WindowState state)
- {
- return state.editSequence.director != null && state.playRangeEnabled;
- }
-
- public override bool ShouldShowTimeCursor(WindowState state)
- {
- return state.editSequence.director != null;
- }
-
- public override TimelineModeGUIState TrackState(WindowState state)
- {
- return TimelineModeGUIState.Disabled;
- }
-
- public override TimelineModeGUIState ToolbarState(WindowState state)
- {
- return state.editSequence.director == null ? TimelineModeGUIState.Disabled : TimelineModeGUIState.Enabled;
- }
-
- public override TimelineModeGUIState PreviewState(WindowState state)
- {
- return state.editSequence.director == null ? TimelineModeGUIState.Disabled : TimelineModeGUIState.Enabled;
- }
-
- public override TimelineModeGUIState EditModeButtonsState(WindowState state)
- {
- return TimelineModeGUIState.Disabled;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineReadOnlyMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineReadOnlyMode.cs.meta
deleted file mode 100644
index bd04969..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/Modes/TimelineReadOnlyMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3f8643c1f8dd449e85b548a14edbea2e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/PlaybackScroller.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/PlaybackScroller.cs
deleted file mode 100644
index 96a9247..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/PlaybackScroller.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- enum PlaybackScrollMode
- {
- None,
- Pan,
- Smooth
- }
-
- static class PlaybackScroller
- {
- public static void AutoScroll(WindowState state)
- {
- if (Event.current.type != EventType.Layout)
- return;
-
- switch (state.autoScrollMode)
- {
- case PlaybackScrollMode.Pan:
- DoPanScroll(state);
- break;
- case PlaybackScrollMode.Smooth:
- DoSmoothScroll(state);
- break;
- }
- }
-
- static void DoSmoothScroll(WindowState state)
- {
- if (state.playing)
- state.SetPlayHeadToMiddle();
-
- state.UpdateLastFrameTime();
- }
-
- static void DoPanScroll(WindowState state)
- {
- if (!state.playing)
- return;
-
- var paddingDeltaTime = state.PixelDeltaToDeltaTime(WindowConstants.autoPanPaddingInPixels);
- var showRange = state.timeAreaShownRange;
- var rightBoundForPan = showRange.y - paddingDeltaTime;
- if (state.editSequence.time > rightBoundForPan)
- {
- var leftBoundForPan = showRange.x + paddingDeltaTime;
- var delta = rightBoundForPan - leftBoundForPan;
- state.SetTimeAreaShownRange(showRange.x + delta, showRange.y + delta);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/PlaybackScroller.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/PlaybackScroller.cs.meta
deleted file mode 100644
index 70842a7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/PlaybackScroller.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 98545765d7a2b614b921715928035ee2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineMarkerHeaderGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineMarkerHeaderGUI.cs
deleted file mode 100644
index 6a93cfa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineMarkerHeaderGUI.cs
+++ /dev/null
@@ -1,201 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class TimelineMarkerHeaderGUI : IRowGUI, ILayerable
- {
- int m_TrackHash;
- TimelineAsset timeline { get; }
- WindowState state { get; }
- MarkersLayer m_Layer;
- LayerZOrder m_ZOrder = new LayerZOrder(Layer.MarkerHeaderTrack, 0);
-
- struct DrawData
- {
- public Rect headerRect;
- public Rect contentRect;
- public GUIStyle trackSwatchStyle;
- public GUIStyle trackHeaderFont;
- public Color colorTrackFont;
- public bool showLockButton;
- public bool showMuteButton;
- }
-
- public TimelineMarkerHeaderGUI(TimelineAsset asset, WindowState state)
- {
- m_TrackHash = -1;
- timeline = asset;
- this.state = state;
- }
-
- public TrackAsset asset { get { return timeline.markerTrack; } }
- public Rect boundingRect { get; private set; }
- public bool locked { get { return !state.showMarkerHeader; } }
-
- public bool showMarkers
- {
- get { return state.showMarkerHeader; }
- }
-
- public bool muted
- {
- get { return timeline.markerTrack != null && timeline.markerTrack.muted; }
- }
-
- Rect IRowGUI.ToWindowSpace(Rect rect)
- {
- //header gui is already in global coordinates
- return rect;
- }
-
- public void Draw(Rect markerHeaderRect, Rect markerContentRect, WindowState state)
- {
- boundingRect = markerContentRect;
- var data = new DrawData()
- {
- headerRect = markerHeaderRect,
- contentRect = markerContentRect,
- trackSwatchStyle = new GUIStyle(),
- trackHeaderFont = DirectorStyles.Instance.trackHeaderFont,
- colorTrackFont = DirectorStyles.Instance.customSkin.colorTrackFont,
- showLockButton = locked,
- showMuteButton = muted
- };
-
- if (state.showMarkerHeader)
- {
- DrawMarkerDrawer(data, state);
- if (Event.current.type == EventType.Repaint)
- state.spacePartitioner.AddBounds(this, boundingRect);
- }
-
- if (asset != null && Hash() != m_TrackHash)
- Rebuild();
-
- var rect = state.showMarkerHeader ? markerContentRect : state.timeAreaRect;
- using (new GUIViewportScope(rect))
- {
- if (m_Layer != null)
- m_Layer.Draw(rect, state);
-
- HandleDragAndDrop();
- }
- }
-
- public void Rebuild()
- {
- if (asset == null)
- return;
-
- m_Layer = new MarkersLayer(Layer.MarkersOnHeader, this);
- m_TrackHash = Hash();
- }
-
- void HandleDragAndDrop()
- {
- if (TimelineWindow.instance.state.editSequence.isReadOnly)
- return;
-
- if (Event.current == null || Event.current.type != EventType.DragUpdated &&
- Event.current.type != EventType.DragPerform && Event.current.type != EventType.DragExited)
- return;
-
- timeline.CreateMarkerTrack(); // Ensure Marker track is created.
- var objectsBeingDropped = DragAndDrop.objectReferences.OfType<Object>();
- var candidateTime = TimelineHelpers.GetCandidateTime(TimelineWindow.instance.state, Event.current.mousePosition);
- var perform = Event.current.type == EventType.DragPerform;
- var director = state.editSequence != null ? state.editSequence.director : null;
- DragAndDrop.visualMode = TimelineDragging.HandleClipPaneObjectDragAndDrop(objectsBeingDropped, timeline.markerTrack, perform,
- timeline, null, director, candidateTime, TimelineDragging.ResolveType);
- if (perform && DragAndDrop.visualMode == DragAndDropVisualMode.Copy)
- {
- DragAndDrop.AcceptDrag();
- }
- }
-
- int Hash()
- {
- return timeline.markerTrack == null ? 0 : timeline.markerTrack.Hash();
- }
-
- static void DrawMarkerDrawer(DrawData data, WindowState state)
- {
- DrawMarkerDrawerHeaderBackground(data);
- DrawMarkerDrawerHeader(data, state);
- DrawMarkerDrawerContentBackground(data);
- }
-
- static void DrawMarkerDrawerHeaderBackground(DrawData data)
- {
- var backgroundColor = DirectorStyles.Instance.customSkin.markerHeaderDrawerBackgroundColor;
- var bgRect = data.headerRect;
- bgRect.x += data.trackSwatchStyle.fixedWidth;
- bgRect.width -= data.trackSwatchStyle.fixedWidth;
- EditorGUI.DrawRect(bgRect, backgroundColor);
- }
-
- static void DrawMarkerDrawerHeader(DrawData data, WindowState state)
- {
- var textStyle = data.trackHeaderFont;
- textStyle.normal.textColor = data.colorTrackFont;
- var labelRect = data.headerRect;
- labelRect.x += DirectorStyles.kBaseIndent;
-
- EditorGUI.LabelField(labelRect, DirectorStyles.timelineMarkerTrackHeader);
-
- const float buttonSize = WindowConstants.trackHeaderButtonSize;
- const float padding = WindowConstants.trackHeaderButtonPadding;
- var x = data.headerRect.xMax - buttonSize - padding - 2f;
- var y = data.headerRect.y + (data.headerRect.height - buttonSize) / 2.0f;
- var buttonRect = new Rect(x, y, buttonSize, buttonSize);
-
- DrawTrackDropDownMenu(buttonRect, state);
- buttonRect.x -= 16.0f;
-
- if (data.showMuteButton)
- {
- DrawMuteButton(buttonRect, state);
- buttonRect.x -= 16.0f;
- }
-
- if (data.showLockButton)
- {
- DrawLockButton(buttonRect, state);
- }
- }
-
- static void DrawMarkerDrawerContentBackground(DrawData data)
- {
- var trackBackgroundColor = DirectorStyles.Instance.customSkin.markerDrawerBackgroundColor;
- EditorGUI.DrawRect(data.contentRect, trackBackgroundColor);
- }
-
- static void DrawLockButton(Rect rect, WindowState state)
- {
- if (GUI.Button(rect, GUIContent.none, TimelineWindow.styles.locked))
- TimelineAction.Invoke<ToggleShowMarkersOnTimeline>(state);
- }
-
- static void DrawTrackDropDownMenu(Rect rect, WindowState state)
- {
- rect.y += WindowConstants.trackOptionButtonVerticalPadding;
- if (GUI.Button(rect, GUIContent.none, DirectorStyles.Instance.trackOptions))
- SequencerContextMenu.ShowMarkerHeaderContextMenu(null, state);
- }
-
- static void DrawMuteButton(Rect rect, WindowState state)
- {
- if (GUI.Button(rect, GUIContent.none, TimelineWindow.styles.mute))
- TimelineAction.Invoke<ToggleMuteMarkersOnTimeline>(state);
- }
-
- public LayerZOrder zOrder
- {
- get { return m_ZOrder; }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineMarkerHeaderGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineMarkerHeaderGUI.cs.meta
deleted file mode 100644
index eefe711..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineMarkerHeaderGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4068e97704a16794ea218ba560cdc1e9
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow.cs
deleted file mode 100644
index e3e21bc..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow.cs
+++ /dev/null
@@ -1,541 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEditor.Callbacks;
-using UnityEngine;
-using UnityEngine.Events;
-using UnityEngine.Playables;
-using UnityEngine.SceneManagement;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [EditorWindowTitle(title = "Timeline", useTypeNameAsIconName = true)]
- partial class TimelineWindow : EditorWindow, IHasCustomMenu
- {
- [Serializable]
- public class TimelineWindowPreferences
- {
- public bool frameSnap = true;
- public bool edgeSnaps = true;
- public bool muteAudioScrub = true;
- public bool playRangeLoopMode = true;
- public PlaybackScrollMode autoScrollMode;
- public EditMode.EditType editType = EditMode.EditType.Mix;
- public TimeReferenceMode timeReferenceMode = TimeReferenceMode.Local;
- }
-
- [SerializeField] TimelineWindowPreferences m_Preferences = new TimelineWindowPreferences();
- public TimelineWindowPreferences preferences { get { return m_Preferences; } }
-
- [SerializeField]
- EditorGUIUtility.EditorLockTracker m_LockTracker = new EditorGUIUtility.EditorLockTracker();
-
- readonly PreviewResizer m_PreviewResizer = new PreviewResizer();
- bool m_LastFrameHadSequence;
- bool m_ForceRefreshLastSelection;
- int m_CurrentSceneHashCode = -1;
-
- [NonSerialized]
- bool m_HasBeenInitialized;
-
- [SerializeField]
- SequenceHierarchy m_SequenceHierarchy;
- static SequenceHierarchy s_LastHierarchy;
-
- public static TimelineWindow instance { get; private set; }
- public Rect clientArea { get; set; }
- public bool isDragging { get; set; }
- public static DirectorStyles styles { get { return DirectorStyles.Instance; } }
- public List<TimelineTrackBaseGUI> allTracks
- {
- get
- {
- return treeView != null ? treeView.allTrackGuis : new List<TimelineTrackBaseGUI>();
- }
- }
-
- public WindowState state { get; private set; }
-
- public bool locked
- {
- get
- {
- // we can never be in a locked state if there is no timeline asset
- if (state.editSequence.asset == null)
- return false;
-
- return m_LockTracker.isLocked;
- }
- set { m_LockTracker.isLocked = value; }
- }
-
- public bool hierarchyChangedThisFrame { get; private set; }
-
- public TimelineWindow()
- {
- InitializeManipulators();
- m_LockTracker.lockStateChanged.AddPersistentListener(OnLockStateChanged, UnityEventCallState.EditorAndRuntime);
- }
-
- void OnLockStateChanged(bool locked)
- {
- // Make sure that upon unlocking, any selection change is updated
- // Case 1123119 -- only force rebuild if not recording
- if (!locked)
- RefreshSelection(state != null && !state.recording);
- }
-
- void OnEnable()
- {
- if (m_SequencePath == null)
- m_SequencePath = new SequencePath();
-
- if (m_SequenceHierarchy == null)
- {
- // The sequence hierarchy will become null if maximize on play is used for in/out of playmode
- // a static var will hang on to the reference
- if (s_LastHierarchy != null)
- m_SequenceHierarchy = s_LastHierarchy;
- else
- m_SequenceHierarchy = SequenceHierarchy.CreateInstance();
-
- state = null;
- }
- s_LastHierarchy = m_SequenceHierarchy;
-
- titleContent = GetLocalizedTitleContent();
-
- m_PreviewResizer.Init("TimelineWindow");
-
- // Unmaximize fix : when unmaximizing, a new window is enabled and disabled. Prevent it from overriding the instance pointer.
- if (instance == null)
- instance = this;
-
- AnimationClipCurveCache.Instance.OnEnable();
- TrackAsset.OnClipPlayableCreate += m_PlayableLookup.UpdatePlayableLookup;
- TrackAsset.OnTrackAnimationPlayableCreate += m_PlayableLookup.UpdatePlayableLookup;
-
- if (state == null)
- {
- state = new WindowState(this, s_LastHierarchy);
- Initialize();
- RefreshSelection(true);
- m_ForceRefreshLastSelection = true;
- }
- }
-
- void OnDisable()
- {
- if (instance == this)
- instance = null;
-
- if (state != null)
- state.Reset();
-
- if (instance == null)
- SelectionManager.RemoveTimelineSelection();
-
- AnimationClipCurveCache.Instance.OnDisable();
- TrackAsset.OnClipPlayableCreate -= m_PlayableLookup.UpdatePlayableLookup;
- TrackAsset.OnTrackAnimationPlayableCreate -= m_PlayableLookup.UpdatePlayableLookup;
- TimelineWindowViewPrefs.SaveAll();
- TimelineWindowViewPrefs.UnloadAllViewModels();
- }
-
- void OnDestroy()
- {
- if (state != null)
- {
- state.OnDestroy();
- }
- m_HasBeenInitialized = false;
- RemoveEditorCallbacks();
- AnimationClipCurveCache.Instance.Clear();
- TimelineAnimationUtilities.UnlinkAnimationWindow();
- }
-
- void OnLostFocus()
- {
- isDragging = false;
-
- if (state != null)
- state.captured.Clear();
-
- Repaint();
- }
-
- void OnFocus()
- {
- if (state == null) return;
-
- if (lastSelectedGO != Selection.activeObject)
- {
- // selection may have changed while Timeline Editor was looking away
- RefreshSelection(false);
-
- // Inline curves may have become out of sync
- RefreshInlineCurves();
- }
- }
-
- void OnHierarchyChange()
- {
- hierarchyChangedThisFrame = true;
- Repaint();
- }
-
- void OnStateChange()
- {
- state.UpdateRecordingState();
- if (treeView != null && state.editSequence.asset != null)
- treeView.Reload();
- if (m_MarkerHeaderGUI != null)
- m_MarkerHeaderGUI.Rebuild();
- }
-
- void OnGUI()
- {
- InitializeGUIIfRequired();
- UpdateGUIConstants();
- UpdateViewStateHash();
-
- EditMode.HandleModeClutch(); // TODO We Want that here?
-
- DetectStylesChange();
- DetectActiveSceneChanges();
- DetectStateChanges();
-
- state.ProcessStartFramePendingUpdates();
-
- var clipRect = new Rect(0.0f, 0.0f, position.width, position.height);
- clipRect.xMin += state.sequencerHeaderWidth;
-
- using (new GUIViewportScope(clipRect))
- state.InvokeWindowOnGuiStarted(Event.current);
-
- if (Event.current.type == EventType.MouseDrag && state != null && state.mouseDragLag > 0.0f)
- {
- state.mouseDragLag -= Time.deltaTime;
- return;
- }
-
- if (PerformUndo())
- return;
-
- if (EditorApplication.isPlaying)
- {
- if (state != null)
- {
- if (state.recording)
- state.recording = false;
- }
- Repaint();
- }
-
- clientArea = position;
-
- PlaybackScroller.AutoScroll(state);
- DoLayout();
-
- // overlays
- if (state.captured.Count > 0)
- {
- using (new GUIViewportScope(clipRect))
- {
- foreach (var o in state.captured)
- {
- o.Overlay(Event.current, state);
- }
- Repaint();
- }
- }
-
- if (state.showQuadTree)
- state.spacePartitioner.DebugDraw();
-
- // attempt another rebuild -- this will avoid 1 frame flashes
- if (Event.current.type == EventType.Repaint)
- {
- RebuildGraphIfNecessary();
- state.ProcessEndFramePendingUpdates();
- }
-
- using (new GUIViewportScope(clipRect))
- {
- if (Event.current.type == EventType.Repaint)
- EditMode.inputHandler.OnGUI(state, Event.current);
- }
-
- if (Event.current.type == EventType.Repaint)
- hierarchyChangedThisFrame = false;
- }
-
- static void DetectStylesChange()
- {
- DirectorStyles.ReloadStylesIfNeeded();
- }
-
- void DetectActiveSceneChanges()
- {
- if (m_CurrentSceneHashCode == -1)
- {
- m_CurrentSceneHashCode = SceneManager.GetActiveScene().GetHashCode();
- }
-
- if (m_CurrentSceneHashCode != SceneManager.GetActiveScene().GetHashCode())
- {
- bool isSceneStillLoaded = false;
- for (int a = 0; a < SceneManager.sceneCount; a++)
- {
- var scene = SceneManager.GetSceneAt(a);
- if (scene.GetHashCode() == m_CurrentSceneHashCode && scene.isLoaded)
- {
- isSceneStillLoaded = true;
- break;
- }
- }
-
- if (!isSceneStillLoaded)
- {
- if (!locked)
- ClearCurrentTimeline();
- m_CurrentSceneHashCode = SceneManager.GetActiveScene().GetHashCode();
- }
- }
- }
-
- void DetectStateChanges()
- {
- if (state != null)
- {
- state.editSequence.ResetIsReadOnly(); //Force reset readonly for asset flag for each frame.
- // detect if the sequence was removed under our feet
- if (m_LastFrameHadSequence && state.editSequence.asset == null)
- {
- ClearCurrentTimeline();
- }
- m_LastFrameHadSequence = state.editSequence.asset != null;
-
- // the currentDirector can get set to null by a deletion or scene unloading so polling is required
- if (state.editSequence.director == null)
- {
- state.recording = false;
- state.previewMode = false;
-
- //Case 1201405 : Check if the lock state is valid with the lock tracker state
- if (locked != m_LockTracker.isLocked)
- m_LockTracker.isLocked = locked;
-
- if (!locked && m_LastFrameHadSequence)
- {
- // the user may be adding a new PlayableDirector to a selected GameObject, make sure the timeline editor is shows the proper director if none is already showing
- var selectedGameObject = Selection.activeObject != null ? Selection.activeObject as GameObject : null;
- var selectedDirector = selectedGameObject != null ? selectedGameObject.GetComponent<PlayableDirector>() : null;
- if (selectedDirector != null)
- {
- SetCurrentTimeline(selectedDirector);
- }
- }
- }
- else
- {
- // the user may have changed the timeline associated with the current director
- if (state.editSequence.asset != state.editSequence.director.playableAsset)
- {
- if (!locked)
- {
- SetCurrentTimeline(state.editSequence.director);
- }
- else
- {
- // Keep locked on the current timeline but set the current director to null since it's not the timeline owner anymore
- SetCurrentTimeline(state.editSequence.asset);
- }
- }
- }
- }
- }
-
- void Initialize()
- {
- if (!m_HasBeenInitialized)
- {
- InitializeStateChange();
- InitializeEditorCallbacks();
- m_HasBeenInitialized = true;
- }
- }
-
- void RefreshLastSelectionIfRequired()
- {
- // case 1088918 - workaround for the instanceID to object cache being update during Awake.
- // This corrects any playableDirector ptrs with the correct cached version
- // This can happen when going from edit to playmode
- if (m_ForceRefreshLastSelection)
- {
- m_ForceRefreshLastSelection = false;
- RestoreLastSelection(true);
- }
- }
-
- void InitializeGUIIfRequired()
- {
- RefreshLastSelectionIfRequired();
- InitializeTimeArea();
- if (treeView == null && state.editSequence.asset != null)
- {
- treeView = new TimelineTreeViewGUI(this, state.editSequence.asset, position);
- }
- }
-
- void UpdateGUIConstants()
- {
- m_HorizontalScrollBarSize =
- GUI.skin.horizontalScrollbar.fixedHeight + GUI.skin.horizontalScrollbar.margin.top;
- m_VerticalScrollBarSize = (treeView != null && treeView.showingVerticalScrollBar)
- ? GUI.skin.verticalScrollbar.fixedWidth + GUI.skin.verticalScrollbar.margin.left
- : 0;
- }
-
- void UpdateViewStateHash()
- {
- if (Event.current.type == EventType.Layout)
- state.UpdateViewStateHash();
- }
-
- static bool PerformUndo()
- {
- if (!Event.current.isKey)
- return false;
-
- if (Event.current.keyCode != KeyCode.Z)
- return false;
-
- if (!EditorGUI.actionKey)
- return false;
-
- return true;
- }
-
- public void RebuildGraphIfNecessary(bool evaluate = true)
- {
- if (state == null || state.editSequence.director == null || state.editSequence.asset == null)
- return;
-
- if (state.rebuildGraph)
- {
- // rebuilding the graph resets the time
- double time = state.editSequence.time;
-
- var wasPlaying = false;
-
- // disable preview mode,
- if (!EditorApplication.isPlaying)
- {
- wasPlaying = state.playing;
-
- state.previewMode = false;
- state.GatherProperties(state.masterSequence.director);
- }
- state.RebuildPlayableGraph();
- state.editSequence.time = time;
-
- if (wasPlaying)
- state.Play();
-
- if (evaluate)
- {
- // put the scene back in the correct state
- state.EvaluateImmediate();
-
- // this is necessary to see accurate results when inspector refreshes
- // case 1154802 - this will property re-force time on the director, so
- // the play head won't snap back to the timeline duration on rebuilds
- if (!state.playing)
- state.Evaluate();
- }
- Repaint();
- }
-
- state.rebuildGraph = false;
- }
-
- // for tests
- public new void RepaintImmediately()
- {
- base.RepaintImmediately();
- }
-
- internal static bool IsEditingTimelineAsset(TimelineAsset timelineAsset)
- {
- return instance != null && instance.state != null && instance.state.editSequence.asset == timelineAsset;
- }
-
- internal static void RepaintIfEditingTimelineAsset(TimelineAsset timelineAsset)
- {
- if (IsEditingTimelineAsset(timelineAsset))
- instance.Repaint();
- }
-
- internal class DoCreateTimeline : ProjectWindowCallback.EndNameEditAction
- {
- public override void Action(int instanceId, string pathName, string resourceFile)
- {
- var timeline = ScriptableObject.CreateInstance<TimelineAsset>();
- AssetDatabase.CreateAsset(timeline, pathName);
- ProjectWindowUtil.ShowCreatedAsset(timeline);
- }
- }
-
- [MenuItem("Assets/Create/Timeline", false, 450)]
- public static void CreateNewTimeline()
- {
- var icon = EditorGUIUtility.IconContent("TimelineAsset Icon").image as Texture2D;
- ProjectWindowUtil.StartNameEditingIfProjectWindowExists(0, ScriptableObject.CreateInstance<DoCreateTimeline>(), "New Timeline.playable", icon, null);
- }
-
- [MenuItem("Window/Sequencing/Timeline", false, 1)]
- public static void ShowWindow()
- {
- GetWindow<TimelineWindow>(typeof(SceneView));
- instance.Focus();
- }
-
- [OnOpenAsset(1)]
- public static bool OnDoubleClick(int instanceID, int line)
- {
- var assetDoubleClicked = EditorUtility.InstanceIDToObject(instanceID) as TimelineAsset;
- if (assetDoubleClicked == null)
- return false;
-
- ShowWindow();
- instance.SetCurrentTimeline(assetDoubleClicked);
-
- return true;
- }
-
- public virtual void AddItemsToMenu(GenericMenu menu)
- {
- bool disabled = state == null || state.editSequence.asset == null;
-
- m_LockTracker.AddItemsToMenu(menu, disabled);
- }
-
- protected virtual void ShowButton(Rect r)
- {
- bool disabled = state == null || state.editSequence.asset == null;
-
- m_LockTracker.ShowButton(r, DirectorStyles.Instance.lockButton, disabled);
- }
-
- internal void TreeViewKeyboardCallback()
- {
- if (Event.current.type != EventType.KeyDown)
- return;
- if (TimelineAction.HandleShortcut(state, Event.current))
- {
- Event.current.Use();
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow.cs.meta
deleted file mode 100644
index 5d0992b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f817a38900380be47942905e17e7d39b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindowTimeControl.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindowTimeControl.cs
deleted file mode 100644
index 385fb22..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindowTimeControl.cs
+++ /dev/null
@@ -1,331 +0,0 @@
-using System;
-using UnityEditorInternal;
-using UnityEngine;
-using UnityEngine.Timeline;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class TimelineWindowTimeControl : IAnimationWindowControl
- {
- [Serializable]
- public struct ClipData
- {
- public double start;
- public double duration;
- public TrackAsset track;
- }
-
- [SerializeField] ClipData m_ClipData;
- [SerializeField] TimelineClip m_Clip;
- [SerializeField] AnimationWindowState m_AnimWindowState;
-
- TrackAsset track
- {
- get
- {
- if (m_Clip != null)
- {
- return m_Clip.parentTrack;
- }
- return m_ClipData.track;
- }
- }
-
- static TimelineWindow window
- {
- get
- {
- return TimelineWindow.instance;
- }
- }
-
- static WindowState state
- {
- get
- {
- if (window != null)
- return window.state;
- return null;
- }
- }
-
- void OnStateChange()
- {
- if (state != null && state.dirtyStamp > 0 && m_AnimWindowState != null)
- m_AnimWindowState.Repaint();
- }
-
- public void Init(AnimationWindowState animState, TimelineClip clip)
- {
- m_Clip = clip;
- m_AnimWindowState = animState;
- }
-
- public void Init(AnimationWindowState animState, ClipData clip)
- {
- m_ClipData = clip;
- m_AnimWindowState = animState;
- }
-
- public override void OnEnable()
- {
- if (state != null)
- state.OnTimeChange += OnStateChange;
-
- base.OnEnable();
- }
-
- public void OnDisable()
- {
- if (state != null)
- state.OnTimeChange -= OnStateChange;
- }
-
- public override AnimationKeyTime time
- {
- get
- {
- if (state == null)
- return AnimationKeyTime.Time(0.0f, 0.0f);
-
- return AnimationKeyTime.Time(ToAnimationClipTime(state.editSequence.time), state.referenceSequence.frameRate);
- }
- }
-
- void ChangeTime(float newTime)
- {
- if (state != null && state.editSequence.director != null)
- {
- // avoid rounding errors
- var finalTime = ToGlobalTime(newTime);
- if (TimeUtility.OnFrameBoundary(finalTime, state.referenceSequence.frameRate, TimeUtility.kFrameRateEpsilon))
- finalTime = TimeUtility.RoundToFrame(finalTime, state.referenceSequence.frameRate);
- state.editSequence.time = finalTime;
-
- window.Repaint();
- }
- }
-
- static void ChangeFrame(int frame)
- {
- if (state != null)
- {
- state.editSequence.frame = frame;
- window.Repaint();
- }
- }
-
- public override void GoToTime(float newTime)
- {
- ChangeTime(newTime);
- }
-
- public override void GoToFrame(int frame)
- {
- ChangeFrame(frame);
- }
-
- public override void StartScrubTime() {}
-
- public override void EndScrubTime() {}
-
- public override void ScrubTime(float newTime)
- {
- ChangeTime(newTime);
- }
-
- public override void GoToPreviousFrame()
- {
- if (state != null)
- ChangeFrame(state.editSequence.frame - 1);
- }
-
- public override void GoToNextFrame()
- {
- if (state != null)
- ChangeFrame(state.editSequence.frame + 1);
- }
-
- AnimationWindowCurve[] GetCurves()
- {
- var curves =
- (m_AnimWindowState.showCurveEditor &&
- m_AnimWindowState.activeCurves.Count > 0) ? m_AnimWindowState.activeCurves : m_AnimWindowState.allCurves;
- return curves.ToArray();
- }
-
- public override void GoToPreviousKeyframe()
- {
- var newTime = AnimationWindowUtility.GetPreviousKeyframeTime(GetCurves(), time.time, m_AnimWindowState.clipFrameRate);
- GoToTime(m_AnimWindowState.SnapToFrame(newTime, AnimationWindowState.SnapMode.SnapToClipFrame));
- }
-
- public override void GoToNextKeyframe()
- {
- var newTime = AnimationWindowUtility.GetNextKeyframeTime(GetCurves(), time.time, m_AnimWindowState.clipFrameRate);
- GoToTime(m_AnimWindowState.SnapToFrame(newTime, AnimationWindowState.SnapMode.SnapToClipFrame));
- }
-
- public override void GoToFirstKeyframe()
- {
- GoToTime(0);
- }
-
- public override void GoToLastKeyframe()
- {
- double animClipTime = 0;
- if (m_Clip != null)
- {
- var curves = m_Clip.curves;
- var animAsset = m_Clip.asset as AnimationPlayableAsset;
- if (animAsset != null)
- {
- animClipTime = animAsset.clip != null ? animAsset.clip.length : 0;
- }
- else if (curves != null)
- {
- animClipTime = curves.length;
- }
- else
- {
- animClipTime = m_Clip.clipAssetDuration;
- }
- }
- else
- {
- animClipTime = m_ClipData.duration;
- }
-
- GoToTime((float)animClipTime);
- }
-
- public override bool canPlay
- {
- get
- {
- return state != null && state.previewMode;
- }
- }
-
- public override bool playing
- {
- get
- {
- return state != null && state.playing;
- }
- }
-
- static void SetPlaybackState(bool playbackState)
- {
- if (state == null || playbackState == state.playing)
- return;
-
- state.SetPlaying(playbackState);
- }
-
- public override bool StartPlayback()
- {
- SetPlaybackState(true);
- return state != null && state.playing;
- }
-
- public override void StopPlayback()
- {
- SetPlaybackState(false);
- }
-
- public override bool PlaybackUpdate() { return state != null && state.playing; }
-
- public override bool canRecord
- {
- get { return state != null && state.canRecord; }
- }
-
- public override bool recording
- {
- get { return state != null && state.recording; }
- }
-
- public override bool canPreview
- {
- get { return false; }
- }
-
- public override bool previewing
- {
- get { return false; }
- }
-
- public override bool StartRecording(Object targetObject)
- {
- if (!canRecord)
- return false;
- if (Application.isPlaying)
- return false;
-
- if (state != null && track != null)
- {
- state.ArmForRecord(track);
- return state.recording;
- }
-
- return false;
- }
-
- public override void StopRecording()
- {
- if (Application.isPlaying)
- return;
-
- if (state != null && track != null)
- state.UnarmForRecord(track);
- }
-
- public override void OnSelectionChanged() {}
-
- public override void ResampleAnimation() {}
-
- public override bool StartPreview()
- {
- if (state != null)
- state.previewMode = true;
- return state != null && state.previewMode;
- }
-
- public override void StopPreview()
- {
- if (state != null)
- state.previewMode = false;
- }
-
- public override void ProcessCandidates() {}
- public override void ClearCandidates() {}
-
- double durationD
- {
- get
- {
- if (m_Clip != null)
- {
- return ToAnimationClipTime(m_Clip.end);
- }
- return m_ClipData.duration;
- }
- }
-
- double ToGlobalTime(float localTime)
- {
- if (m_Clip != null)
- return Math.Max(0, m_Clip.FromLocalTimeUnbound(localTime));
- return Math.Max(0, m_ClipData.start + localTime);
- }
-
- float ToAnimationClipTime(double globalTime)
- {
- if (m_Clip != null)
- return (float)m_Clip.ToLocalTimeUnbound(globalTime);
- return (float)(globalTime - m_ClipData.start);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindowTimeControl.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindowTimeControl.cs.meta
deleted file mode 100644
index 6d8fd71..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindowTimeControl.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6f25fb081e85cb743b272c2f7fbc2f6b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_ActiveTimeline.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_ActiveTimeline.cs
deleted file mode 100644
index 004209f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_ActiveTimeline.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- private TimelineAsset m_PreviousMasterSequence;
-
- public void ClearCurrentTimeline()
- {
- SetCurrentTimeline(null, null, null, true);
- }
-
- public void SetCurrentTimeline(TimelineAsset seq)
- {
- SetCurrentTimeline(seq, null, null);
- }
-
- public void SetCurrentTimeline(PlayableDirector director, TimelineClip hostClip = null)
- {
- var asset = director != null ? director.playableAsset as TimelineAsset : null;
- SetCurrentTimeline(asset, director, hostClip);
- }
-
- void SetCurrentTimeline(TimelineAsset seq, PlayableDirector instanceOfDirector, TimelineClip hostClip, bool force = false)
- {
- if (state == null)
- return;
-
- if (!force &&
- state.editSequence.hostClip == hostClip &&
- state.editSequence.director == instanceOfDirector &&
- state.editSequence.asset == seq)
- return;
-
- state.SetCurrentSequence(seq, instanceOfDirector, hostClip);
- }
-
- void OnBeforeSequenceChange()
- {
- treeView = null;
- m_MarkerHeaderGUI = null;
- m_TimeAreaDirty = true;
-
- state.Reset();
- m_PlayableLookup.ClearPlayableLookup();
-
- // clear old editors to caches, like audio previews, get flushed
- CustomTimelineEditorCache.ClearCache<ClipEditor>();
- CustomTimelineEditorCache.ClearCache<MarkerEditor>();
- CustomTimelineEditorCache.ClearCache<TrackEditor>();
-
- m_PreviousMasterSequence = state.masterSequence.asset;
- }
-
- void OnAfterSequenceChange()
- {
- Repaint();
-
- m_SequencePath = state.GetCurrentSequencePath();
-
- m_LastFrameHadSequence = state.editSequence.asset != null;
- TimelineWindowViewPrefs.SaveAll();
-
- // this prevent clearing the animation window when going in/out of playmode, but
- // clears it when we switch master timelines
- // the cast to a object will handle the case where the sequence has been deleted.
- object previousMasterSequence = m_PreviousMasterSequence;
- bool isDeleted = previousMasterSequence != null && m_PreviousMasterSequence == null;
- bool hasChanged = m_PreviousMasterSequence != null && m_PreviousMasterSequence != state.masterSequence.asset;
- if (isDeleted || hasChanged)
- {
- AnimationClipCurveCache.Instance.Clear();
- TimelineAnimationUtilities.UnlinkAnimationWindow();
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_ActiveTimeline.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_ActiveTimeline.cs.meta
deleted file mode 100644
index 0b12122..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_ActiveTimeline.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b7abcd1a72bb7174ca58e813c6eee9c2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Breadcrumbs.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Breadcrumbs.cs
deleted file mode 100644
index e5673cd..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Breadcrumbs.cs
+++ /dev/null
@@ -1,118 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- List<BreadCrumbTitle> m_BreadCrumbLabels = new List<BreadCrumbTitle>(100);
-
- static TitleMode GetTitleMode(ISequenceState sequence)
- {
- var prefabStage = UnityEditor.Experimental.SceneManagement.PrefabStageUtility.GetCurrentPrefabStage();
- // Top level
- if (sequence.hostClip == null)
- {
- if (sequence.director != null && prefabStage != null && prefabStage.IsPartOfPrefabContents(sequence.director.gameObject))
- return TitleMode.Prefab;
- if (sequence.director != null && PrefabUtility.IsPartOfPrefabAsset(sequence.director))
- return TitleMode.PrefabOutOfContext;
- if (sequence.director != null && !sequence.director.isActiveAndEnabled)
- return TitleMode.DisabledComponent;
- if (sequence.director != null)
- return TitleMode.GameObject;
- if (sequence.asset != null)
- return TitleMode.Asset;
- }
- // Subtimelines only get an error icon
- else if (sequence.director != null && !sequence.director.isActiveAndEnabled && !PrefabUtility.IsPartOfPrefabAsset(sequence.director))
- return TitleMode.DisabledComponent;
-
- return TitleMode.None;
- }
-
- void DoBreadcrumbGUI()
- {
- if (state == null)
- return;
- int count = 0;
- foreach (var sequence in state.GetAllSequences())
- {
- BreadCrumbTitle title = new BreadCrumbTitle()
- {
- name = DisplayNameHelper.GetDisplayName(sequence),
- mode = GetTitleMode(sequence)
- };
- if (count >= m_BreadCrumbLabels.Count)
- m_BreadCrumbLabels.Add(title);
- else
- m_BreadCrumbLabels[count] = title;
- count++;
- }
-
- if (m_BreadCrumbLabels.Count > count)
- m_BreadCrumbLabels.RemoveRange(count, m_BreadCrumbLabels.Count - count);
-
- using (new EditorGUI.DisabledScope(currentMode.headerState.breadCrumb == TimelineModeGUIState.Disabled))
- {
- BreadcrumbDrawer.Draw(breadCrumbAreaWidth, m_BreadCrumbLabels, NavigateToBreadcrumbIndex);
- }
- }
-
- void NavigateToBreadcrumbIndex(int index)
- {
- state.PopSequencesUntilCount(index + 1);
- }
-
- void DoSequenceSelectorGUI()
- {
- using (new EditorGUI.DisabledScope(currentMode.headerState.sequenceSelector == TimelineModeGUIState.Disabled))
- {
- if (EditorGUILayout.DropdownButton(DirectorStyles.timelineSelectorArrow, FocusType.Passive, DirectorStyles.Instance.sequenceSwitcher, GUILayout.Width(WindowConstants.selectorWidth)))
- ShowSequenceSelector();
- }
- }
-
- void ShowSequenceSelector()
- {
- var allDirectors = TimelineUtility.GetDirectorsInSceneUsingAsset(null);
-
- var formatter = new SequenceMenuNameFormater();
- var namesAndDirectors = new List<ValueTuple<string, PlayableDirector>>();
- foreach (var d in allDirectors)
- {
- if (d.playableAsset is TimelineAsset)
- {
- var text = formatter.Format(DisplayNameHelper.GetDisplayName(d));
- namesAndDirectors.Add(new ValueTuple<string, PlayableDirector>(text, d));
- }
- }
-
- var sequenceMenu = new GenericMenu();
- foreach (var (timelineName, playableDirector) in namesAndDirectors.OrderBy(i => i.Item1))
- {
- var isCurrent = state.masterSequence.director == playableDirector;
- sequenceMenu.AddItem(new GUIContent(timelineName), isCurrent, OnSequenceSelected, playableDirector);
- }
-
- if (allDirectors.Length == 0)
- sequenceMenu.AddDisabledItem(DirectorStyles.noTimelinesInScene);
-
- sequenceMenu.DropDown(EditorGUILayout.s_LastRect);
- }
-
- void OnSequenceSelected(object arg)
- {
- var directorToBindTo = (PlayableDirector)arg;
- if (directorToBindTo)
- {
- // don't just select the object, it may already be selected.
- SetCurrentTimeline(directorToBindTo);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Breadcrumbs.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Breadcrumbs.cs.meta
deleted file mode 100644
index 2746400..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Breadcrumbs.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e2cd16a2d73fe7a4c9affa2b790eb5e0
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Duration.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Duration.cs
deleted file mode 100644
index 48eef2f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Duration.cs
+++ /dev/null
@@ -1,128 +0,0 @@
-using System;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- TimeAreaItem m_TimelineDuration;
-
- void DurationGUI(TimelineItemArea area, double duration)
- {
- // don't show the duration if the time area is not visible for some other reason.
- if (!currentMode.ShouldShowTimeArea(state))
- return;
-
- bool headerMode = area == TimelineItemArea.Header;
-
- if (state.IsEditingASubTimeline())
- {
- if (headerMode)
- HighlightTimeAreaRange(state.editSequence.GetEvaluableRange(), DirectorStyles.Instance.customSkin.colorSubSequenceDurationLine);
-
- return;
- }
-
- // don't show the duration if there's none.
- if (state.editSequence.asset.durationMode == TimelineAsset.DurationMode.BasedOnClips && duration <= 0.0f)
- return;
-
- if (m_TimelineDuration == null || m_TimelineDuration.style != styles.endmarker)
- {
- m_TimelineDuration = new TimeAreaItem(styles.endmarker, OnTrackDurationDrag)
- {
- tooltip = "End of sequence marker",
- boundOffset = new Vector2(0.0f, -DirectorStyles.kDurationGuiThickness)
- };
- }
-
- DrawDuration(headerMode, !headerMode, duration);
- }
-
- void DrawDuration(bool drawhead, bool drawline, double duration)
- {
- if (state.TimeIsInRange((float)duration))
- {
- // Set the colors based on the mode
- Color lineColor = DirectorStyles.Instance.customSkin.colorEndmarker;
- Color headColor = Color.white;
-
- bool canMoveHead = !EditorApplication.isPlaying && state.editSequence.asset.durationMode == TimelineAsset.DurationMode.FixedLength;
-
- if (canMoveHead)
- {
- if (Event.current.type == EventType.MouseDown)
- {
- if (m_TimelineDuration.bounds.Contains(Event.current.mousePosition))
- {
- if (m_PlayHead != null && m_PlayHead.bounds.Contains(Event.current.mousePosition))
- {
- // ignore duration markers if the mouse is over the TimeCursor.
- canMoveHead = false;
- }
- }
- }
- }
- else
- {
- lineColor.a *= 0.66f;
- headColor = DirectorStyles.Instance.customSkin.colorDuration;
- }
-
- if (canMoveHead)
- m_TimelineDuration.HandleManipulatorsEvents(state);
-
- m_TimelineDuration.lineColor = lineColor;
- m_TimelineDuration.headColor = headColor;
- m_TimelineDuration.drawHead = drawhead;
- m_TimelineDuration.drawLine = drawline;
- m_TimelineDuration.canMoveHead = canMoveHead;
-
- // Draw the TimeAreaItem
- // Rect trackheadRect = treeviewBounds;
- //trackheadRect.height = clientArea.height;
- m_TimelineDuration.Draw(sequenceRect, state, duration);
- }
-
- // Draw Blue line in timeline indicating the duration...
- if (state.editSequence.asset != null && drawhead)
- {
- HighlightTimeAreaRange(state.editSequence.GetEvaluableRange(), DirectorStyles.Instance.customSkin.colorDurationLine);
- }
- }
-
- void HighlightTimeAreaRange(Range range, Color lineColor)
- {
- if (range.length <= 0.0 || !state.RangeIsVisible(range)) return;
-
- Rect lineRect = Rect.MinMaxRect(
- Math.Max(state.TimeToPixel(range.start), state.timeAreaRect.xMin),
- state.timeAreaRect.y - DirectorStyles.kDurationGuiThickness + state.timeAreaRect.height,
- Math.Min(state.TimeToPixel(range.end), state.timeAreaRect.xMax),
- state.timeAreaRect.y + state.timeAreaRect.height);
- EditorGUI.DrawRect(lineRect, lineColor);
- }
-
- // Drag handler for the gui
- void OnTrackDurationDrag(double newTime)
- {
- if (state.editSequence.asset.durationMode == TimelineAsset.DurationMode.FixedLength && !state.editSequence.isReadOnly)
- {
- // this is the first call to the drag
- if (m_TimelineDuration.firstDrag)
- {
- TimelineUndo.PushUndo(state.editSequence.asset, "Change Duration");
- }
-
- state.editSequence.asset.fixedDuration = newTime;
-
- // when setting a new length, modify the duration of the timeline playable directly instead of
- // rebuilding the whole graph
- state.UpdateRootPlayableDuration(newTime);
- }
-
- m_TimelineDuration.showTooltip = true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Duration.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Duration.cs.meta
deleted file mode 100644
index 5828033..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Duration.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5b3bd7a976306c9449ba84e0591e8a0f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_EditorCallbacks.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_EditorCallbacks.cs
deleted file mode 100644
index 68af27a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_EditorCallbacks.cs
+++ /dev/null
@@ -1,272 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.SceneManagement;
-using UnityEngine;
-using UnityEngine.Animations;
-using UnityEngine.Playables;
-using UnityEngine.SceneManagement;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- private int m_ComponentAddedFrame;
-
- void OnSelectionChangedInactive()
- {
- // Case 946942 -- when selection changes and the window is open but hidden, timeline
- // needs to update selection immediately so preview mode is correctly released
- // Case 1123119 -- except when recording
- if (!hasFocus)
- {
- RefreshSelection(!locked && state != null && !state.recording);
- }
- }
-
- void InitializeEditorCallbacks()
- {
- Undo.postprocessModifications += PostprocessAnimationRecordingModifications;
- Undo.postprocessModifications += ProcessAssetModifications;
- Undo.undoRedoPerformed += OnUndoRedo;
- EditorApplication.playModeStateChanged += OnPlayModeStateChanged;
- AnimationUtility.onCurveWasModified += OnCurveModified;
- EditorApplication.editorApplicationQuit += OnEditorQuit;
- Selection.selectionChanged += OnSelectionChangedInactive;
- EditorSceneManager.sceneSaved += OnSceneSaved;
- ObjectFactory.componentWasAdded += OnComponentWasAdded;
- PrefabUtility.prefabInstanceUpdated += OnPrefabApplied;
- }
-
- void OnEditorQuit()
- {
- TimelineWindowViewPrefs.SaveAll();
- }
-
- void RemoveEditorCallbacks()
- {
- EditorApplication.playModeStateChanged -= OnPlayModeStateChanged;
-
- Undo.undoRedoPerformed -= OnUndoRedo;
- Undo.postprocessModifications -= PostprocessAnimationRecordingModifications;
- Undo.postprocessModifications -= ProcessAssetModifications;
- AnimationUtility.onCurveWasModified -= OnCurveModified;
- EditorApplication.editorApplicationQuit -= OnEditorQuit;
- Selection.selectionChanged -= OnSelectionChangedInactive;
- EditorSceneManager.sceneSaved -= OnSceneSaved;
- ObjectFactory.componentWasAdded -= OnComponentWasAdded;
- PrefabUtility.prefabInstanceUpdated -= OnPrefabApplied;
- }
-
- // Called when a prefab change is applied to the scene.
- // Redraw so control tracks that use prefabs can show changes
- void OnPrefabApplied(GameObject go)
- {
- if (!state.previewMode)
- return;
-
- // if we added a component this frame, then rebuild, otherwise just let
- // the individual playable handle the prefab application
- if (Time.frameCount == m_ComponentAddedFrame)
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- else
- TimelineEditor.Refresh(RefreshReason.SceneNeedsUpdate);
- }
-
- // When the scene is save the director time will get reset.
- void OnSceneSaved(Scene scene)
- {
- if (state != null)
- state.OnSceneSaved();
- }
-
- void OnCurveModified(AnimationClip clip, EditorCurveBinding binding, AnimationUtility.CurveModifiedType type)
- {
- InspectorWindow.RepaintAllInspectors();
- if (state == null || state.previewMode == false || state.rebuildGraph)
- return;
-
- if (type == AnimationUtility.CurveModifiedType.CurveModified)
- {
- Playable playable;
- if (m_PlayableLookup.GetPlayableFromAnimClip(clip, out playable))
- {
- playable.SetAnimatedProperties(clip);
- }
-
- // mark the timeline clip as dirty
- TimelineClip timelineClip = m_PlayableLookup.GetTimelineClipFromCurves(clip);
- if (timelineClip != null)
- timelineClip.MarkDirty();
-
- // updates the duration of the graph without rebuilding
- AnimationUtility.SyncEditorCurves(clip); // deleted keys are not synced when this is sent out, so duration could be incorrect
- state.UpdateRootPlayableDuration(state.editSequence.duration);
-
- // don't evaluate if this is caused by recording on an animation track, the extra evaluation can cause hiccups
- if (!TimelineRecording.IsRecordingAnimationTrack)
- state.Evaluate();
- }
- else // curve added/removed, or clip added/removed
- {
- state.rebuildGraph = true;
- }
- }
-
- void OnPlayModeStateChanged(PlayModeStateChange playModeState)
- {
- // case 923506 - make sure we save view data before switching modes
- if (playModeState == PlayModeStateChange.ExitingEditMode ||
- playModeState == PlayModeStateChange.ExitingPlayMode)
- TimelineWindowViewPrefs.SaveAll();
-
- bool isPlaymodeAboutToChange = playModeState == PlayModeStateChange.ExitingEditMode || playModeState == PlayModeStateChange.ExitingPlayMode;
-
- // Important to stop the graph on any director so temporary objects are properly cleaned up
- if (isPlaymodeAboutToChange && state != null)
- state.Stop();
- }
-
- UndoPropertyModification[] PostprocessAnimationRecordingModifications(UndoPropertyModification[] modifications)
- {
- DirtyModifiedObjects(modifications);
-
- if (!state.recording)
- return modifications;
-
- var remaining = TimelineRecording.ProcessUndoModification(modifications, state);
- // if we've changed, we need to repaint the sequence window to show clip length changes
- if (remaining != modifications)
- {
- // only update if us or the sequencer window has focus
- // Prevents color pickers and other dialogs from being wrongly dismissed
- bool repaint = (focusedWindow == null) ||
- (focusedWindow is InspectorWindow) ||
- (focusedWindow is TimelineWindow);
-
- if (repaint)
- Repaint();
- }
-
-
- return remaining;
- }
-
- void DirtyModifiedObjects(UndoPropertyModification[] modifications)
- {
- foreach (var m in modifications)
- {
- if (m.currentValue == null || m.currentValue.target == null)
- continue;
-
- var track = m.currentValue.target as TrackAsset;
- var playableAsset = m.currentValue.target as PlayableAsset;
- var editorClip = m.currentValue.target as EditorClip;
-
- if (track != null)
- {
- track.MarkDirty();
- }
- else if (playableAsset != null)
- {
- var clip = TimelineRecording.FindClipWithAsset(state.editSequence.asset, playableAsset);
- if (clip != null)
- clip.MarkDirty();
- }
- else if (editorClip != null && editorClip.clip != null)
- {
- editorClip.clip.MarkDirty();
- }
- }
- }
-
- UndoPropertyModification[] ProcessAssetModifications(UndoPropertyModification[] modifications)
- {
- bool rebuildGraph = false;
-
- for (int i = 0; i < modifications.Length && !rebuildGraph; i++)
- {
- var mod = modifications[i];
-
- // check if an Avatar Mask has been modified
- if (mod.previousValue != null && mod.previousValue.target is AvatarMask)
- {
- rebuildGraph = state.editSequence.asset != null &&
- state.editSequence.asset.flattenedTracks
- .OfType<UnityEngine.Timeline.AnimationTrack>()
- .Any(x => mod.previousValue.target == x.avatarMask);
- }
- }
-
- if (rebuildGraph)
- {
- state.rebuildGraph = true;
- Repaint();
- }
-
- return modifications;
- }
-
- void OnUndoRedo()
- {
- var undos = new List<string>();
- var redos = new List<string>();
- Undo.GetRecords(undos, redos);
-
- var rebuildAll = redos.Any(x => x.StartsWith("Timeline ")) || undos.Any(x => x.StartsWith("Timeline"));
- var evalNow = redos.Any(x => x.Contains("Edit Curve")) || undos.Any(x => x.Contains("Edit Curve"));
- if (rebuildAll || evalNow)
- {
- ValidateSelection();
- if (state != null)
- {
- if (evalNow) // when curves change, the new values need to be set in the transform before the inspector handles the undo
- state.EvaluateImmediate();
- if (rebuildAll)
- state.Refresh();
- }
- Repaint();
- }
- }
-
- static void ValidateSelection()
- {
- //get all the clips in the selection
- var selectedClips = Selection.GetFiltered<EditorClip>(SelectionMode.Unfiltered).Select(x => x.clip);
- foreach (var selectedClip in selectedClips)
- {
- var parent = selectedClip.parentTrack;
- if (selectedClip.parentTrack != null)
- {
- if (!parent.clips.Contains(selectedClip))
- {
- SelectionManager.Remove(selectedClip);
- }
- }
- }
- }
-
- void OnComponentWasAdded(Component c)
- {
- m_ComponentAddedFrame = Time.frameCount;
- var go = c.gameObject;
- foreach (var seq in state.GetAllSequences())
- {
- if (seq.director == null || seq.asset == null)
- {
- return;
- }
-
- var rebind = seq.asset.GetOutputTracks().Any(track => seq.director.GetGenericBinding(track) == go);
- // Either the playable director has a binding for the GameObject or it is a sibling of the director.
- // The second case is needed since we have timeline top level markerTracks that do not have a binding, but
- // are still "targeting" the playable director
- if (rebind || seq.director.gameObject == go)
- {
- seq.director.RebindPlayableGraphOutputs();
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_EditorCallbacks.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_EditorCallbacks.cs.meta
deleted file mode 100644
index 29b3a44..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_EditorCallbacks.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d1c9c1ed454d0594b951eb6a76ac62ad
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Gui.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Gui.cs
deleted file mode 100644
index 4a6f1fb..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Gui.cs
+++ /dev/null
@@ -1,511 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEditor.Experimental.SceneManagement;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- struct MarkerOverlay
- {
- public IMarker marker;
- public Rect rect;
- public bool isSelected;
- public bool isCollapsed;
- public MarkerEditor editor;
- }
-
-
- enum TimelineItemArea
- {
- Header,
- Lines
- }
-
- [SerializeField] float m_HierarchySplitterPerc = WindowConstants.hierarchySplitterDefaultPercentage;
-
- static internal readonly TimelineMode s_ActiveMode = new TimelineActiveMode();
- static internal readonly TimelineMode s_EditAssetMode = new TimelineAssetEditionMode();
- static internal readonly TimelineMode s_InactiveMode = new TimelineInactiveMode();
- static internal readonly TimelineMode s_DisabledMode = new TimelineDisabledMode();
- static internal readonly TimelineMode s_PrefabOutOfContextMode = new TimelineAssetEditionMode();
- static internal readonly TimelineMode s_ReadonlyMode = new TimelineReadOnlyMode();
-
- int m_SplitterCaptured;
- float m_VerticalScrollBarSize, m_HorizontalScrollBarSize;
-
- List<MarkerOverlay> m_OverlayQueue = new List<MarkerOverlay>(100);
-
-
- float headerHeight
- {
- get
- {
- return WindowConstants.markerRowYPosition + (state.showMarkerHeader ? WindowConstants.markerRowHeight : 0.0f);
- }
- }
-
- public Rect markerHeaderRect
- {
- get { return new Rect(0.0f, WindowConstants.markerRowYPosition, state.sequencerHeaderWidth, WindowConstants.markerRowHeight); }
- }
-
- public Rect markerContentRect
- {
- get { return Rect.MinMaxRect(state.sequencerHeaderWidth, WindowConstants.markerRowYPosition, position.width, WindowConstants.markerRowYPosition + WindowConstants.markerRowHeight); }
- }
-
- Rect trackRect
- {
- get
- {
- var yMinHeight = headerHeight;
- return new Rect(0, yMinHeight, position.width, position.height - yMinHeight - horizontalScrollbarHeight);
- }
- }
-
- public Rect sequenceRect
- {
- get { return new Rect(0.0f, WindowConstants.markerRowYPosition, position.width - WindowConstants.sliderWidth, position.height - WindowConstants.timeAreaYPosition); }
- }
-
- public Rect sequenceHeaderRect
- {
- get { return new Rect(0.0f, WindowConstants.markerRowYPosition, state.sequencerHeaderWidth, position.height - WindowConstants.timeAreaYPosition); }
- }
-
- public Rect sequenceContentRect
- {
- get
- {
- return new Rect(
- state.sequencerHeaderWidth,
- WindowConstants.markerRowYPosition,
- position.width - state.sequencerHeaderWidth - (treeView != null && treeView.showingVerticalScrollBar ? WindowConstants.sliderWidth : 0),
- position.height - WindowConstants.markerRowYPosition - horizontalScrollbarHeight);
- }
- }
-
- public float verticalScrollbarWidth
- {
- get
- {
- return m_VerticalScrollBarSize;
- }
- }
-
- public float horizontalScrollbarHeight
- {
- get { return m_HorizontalScrollBarSize; }
- }
-
- float breadCrumbAreaWidth
- {
- get
- {
- return state.timeAreaRect.width - WindowConstants.selectorWidth - WindowConstants.cogButtonWidth - WindowConstants.cogButtonPadding;
- }
- }
-
- internal TimelineMode currentMode
- {
- get
- {
- if (state == null || state.editSequence.asset == null)
- return s_InactiveMode;
- if (state.editSequence.isReadOnly)
- return s_ReadonlyMode;
- if (state.editSequence.director == null || state.masterSequence.director == null)
- return s_EditAssetMode;
-
- if (PrefabUtility.IsPartOfPrefabAsset(state.editSequence.director))
- {
- var stage = PrefabStageUtility.GetCurrentPrefabStage();
- if (stage == null || !stage.IsPartOfPrefabContents(state.editSequence.director.gameObject))
- return s_PrefabOutOfContextMode;
- }
-
- if (!state.masterSequence.director.isActiveAndEnabled)
- return s_DisabledMode;
-
- return s_ActiveMode;
- }
- }
-
- void DoLayout()
- {
- var rawType = Event.current.rawType; // TODO: rawType seems to be broken after calling Use(), use this Hack and remove it once it's fixed.
- var mousePosition = Event.current.mousePosition; // mousePosition is also affected by this bug and does not reflect the original position after a Use()
-
- Initialize();
- HandleSplitterResize();
-
- var processManipulators = Event.current.type != EventType.Repaint && Event.current.type != EventType.Layout;
-
- if (processManipulators)
- {
- // Update what's under mouse the cursor
- PickerUtils.DoPick(state, mousePosition);
-
- if (state.editSequence.asset != null)
- m_PreTreeViewControl.HandleManipulatorsEvents(state);
- }
-
- SequencerGUI();
-
- if (processManipulators)
- {
- if (state.editSequence.asset != null)
- m_PostTreeViewControl.HandleManipulatorsEvents(state);
- }
-
- m_RectangleSelect.OnGUI(state, rawType, mousePosition);
- m_RectangleZoom.OnGUI(state, rawType, mousePosition);
- }
-
- void TimelineSectionGUI()
- {
- GUILayout.BeginVertical();
- {
- GUILayout.BeginHorizontal(EditorStyles.toolbar, GUILayout.Width(position.width - state.sequencerHeaderWidth));
- {
- DoSequenceSelectorGUI();
- DoBreadcrumbGUI();
- OptionsGUI();
- }
- GUILayout.EndHorizontal();
-
- TimelineGUI();
- }
- GUILayout.EndVertical();
- }
-
- void SplitterGUI()
- {
- if (!state.IsEditingAnEmptyTimeline())
- {
- var splitterLineRect = new Rect(state.sequencerHeaderWidth - 1.0f, 0.0f, 2.0f, clientArea.height);
- EditorGUI.DrawRect(splitterLineRect, DirectorStyles.Instance.customSkin.colorTopOutline3);
- }
- }
-
- void TrackViewsGUI()
- {
- using (new GUIViewportScope(trackRect))
- {
- TracksGUI(trackRect, state, currentMode.TrackState(state));
- }
- }
-
- void UserOverlaysGUI()
- {
- if (Event.current.type != EventType.Repaint)
- return;
-
- // the rect containing the time area plus the time ruler
- var screenRect = new Rect(
- state.sequencerHeaderWidth,
- WindowConstants.timeAreaYPosition,
- position.width - state.sequencerHeaderWidth - (treeView != null && treeView.showingVerticalScrollBar ? WindowConstants.sliderWidth : 0),
- position.height - WindowConstants.timeAreaYPosition - horizontalScrollbarHeight);
-
- var startTime = state.PixelToTime(screenRect.xMin);
- var endTime = state.PixelToTime(screenRect.xMax);
-
- using (new GUIViewportScope(screenRect))
- {
- foreach (var entry in m_OverlayQueue)
- {
- var uiState = MarkerUIStates.None;
- if (entry.isCollapsed)
- uiState |= MarkerUIStates.Collapsed;
- if (entry.isSelected)
- uiState |= MarkerUIStates.Selected;
- var region = new MarkerOverlayRegion(GUIClip.Clip(entry.rect), screenRect, startTime, endTime);
- try
- {
- entry.editor.DrawOverlay(entry.marker, uiState, region);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
- }
- }
-
- m_OverlayQueue.Clear();
- }
-
- void DrawHeaderBackground()
- {
- var rect = state.timeAreaRect;
- rect.xMin = 0.0f;
- EditorGUI.DrawRect(rect, DirectorStyles.Instance.customSkin.colorTimelineBackground);
- }
-
- void HandleBottomFillerDragAndDrop(Rect rect)
- {
- if (Event.current.type != EventType.DragUpdated &&
- Event.current.type != EventType.DragExited &&
- Event.current.type != EventType.DragPerform)
- return;
-
- if (instance.treeView == null || instance.treeView.timelineDragging == null)
- return;
-
- if (!rect.Contains(Event.current.mousePosition))
- return;
-
- instance.treeView.timelineDragging.DragElement(null, new Rect(), -1);
- }
-
- void DrawHeaderBackgroundBottomFiller()
- {
- var rect = sequenceRect;
- rect.yMin = rect.yMax;
- rect.yMax = rect.yMax + WindowConstants.sliderWidth;
- if (state.editSequence.asset != null && !state.IsEditingAnEmptyTimeline())
- {
- rect.width = state.sequencerHeaderWidth;
- }
- using (new GUIViewportScope(rect))
- {
- Graphics.DrawBackgroundRect(state, rect);
- }
-
- HandleBottomFillerDragAndDrop(rect);
- }
-
- void SequencerGUI()
- {
- var duration = state.editSequence.duration;
-
- DrawHeaderBackground();
- DurationGUI(TimelineItemArea.Header, duration);
-
- GUILayout.BeginHorizontal();
- {
- SequencerHeaderGUI();
- TimelineSectionGUI();
- }
- GUILayout.EndHorizontal();
-
- TrackViewsGUI();
- MarkerHeaderGUI();
- UserOverlaysGUI();
-
- DurationGUI(TimelineItemArea.Lines, duration);
- PlayRangeGUI(TimelineItemArea.Lines);
- TimeCursorGUI(TimelineItemArea.Lines);
- DrawHeaderBackgroundBottomFiller();
-
- SubTimelineRangeGUI();
-
- PlayRangeGUI(TimelineItemArea.Header);
- TimeCursorGUI(TimelineItemArea.Header);
-
- SplitterGUI();
- }
-
- void SubTimelineRangeGUI()
- {
- if (!state.IsEditingASubTimeline() || state.IsEditingAnEmptyTimeline()) return;
-
- var subTimelineOverlayColor = DirectorStyles.Instance.customSkin.colorSubSequenceOverlay;
-
- var range = state.editSequence.GetEvaluableRange();
- var area = new Vector2(state.TimeToPixel(range.start), state.TimeToPixel(range.end));
-
- var fullRect = sequenceContentRect;
- fullRect.yMin -= state.timeAreaRect.height;
-
- if (fullRect.xMin < area.x)
- {
- var before = fullRect;
- before.xMin = fullRect.xMin;
- before.xMax = Mathf.Min(area.x, fullRect.xMax);
- EditorGUI.DrawRect(before, subTimelineOverlayColor);
- }
-
- if (fullRect.xMax > area.y)
- {
- var after = fullRect;
- after.xMin = Mathf.Max(area.y, fullRect.xMin);
- after.xMax = fullRect.xMax;
- EditorGUI.DrawRect(after, subTimelineOverlayColor);
-
- // Space above the vertical scrollbar
- after.xMin = after.xMax;
- after.width = verticalScrollbarWidth;
- after.yMax = state.timeAreaRect.y + state.timeAreaRect.height + (state.showMarkerHeader ? WindowConstants.markerRowHeight : 0.0f);
- EditorGUI.DrawRect(after, subTimelineOverlayColor);
- }
- }
-
- void HandleSplitterResize()
- {
- state.mainAreaWidth = position.width;
-
- if (state.editSequence.asset == null)
- return;
-
- // Sequencer Header Splitter : The splitter has 6 pixels wide,center it around m_State.sequencerHeaderWidth. That's why there's this -3.
- Rect sequencerHeaderSplitterRect = new Rect(state.sequencerHeaderWidth - 3.0f, 0.0f, 6.0f, clientArea.height);
- EditorGUIUtility.AddCursorRect(sequencerHeaderSplitterRect, MouseCursor.SplitResizeLeftRight);
-
- if (Event.current.type == EventType.MouseDown)
- {
- if (sequencerHeaderSplitterRect.Contains(Event.current.mousePosition))
- m_SplitterCaptured = 1;
- }
-
- if (m_SplitterCaptured > 0)
- {
- if (Event.current.type == EventType.MouseUp)
- {
- m_SplitterCaptured = 0;
- Event.current.Use();
- }
-
- if (Event.current.type == EventType.MouseDrag)
- {
- if (m_SplitterCaptured == 1)
- {
- var percInc = Event.current.delta.x / position.width;
- m_HierarchySplitterPerc = Mathf.Clamp(m_HierarchySplitterPerc + percInc, WindowConstants.minHierarchySplitter, WindowConstants.maxHierarchySplitter);
- state.sequencerHeaderWidth += Event.current.delta.x;
- }
-
- Event.current.Use();
- }
- }
- }
-
- void OptionsGUI()
- {
- if (currentMode.headerState.options == TimelineModeGUIState.Hidden || state.editSequence.asset == null)
- return;
-
- using (new EditorGUI.DisabledScope(currentMode.headerState.options == TimelineModeGUIState.Disabled))
- {
- GUILayout.FlexibleSpace();
- if (EditorGUILayout.DropdownButton(DirectorStyles.optionsCogIcon, FocusType.Keyboard, EditorStyles.toolbarButton))
- {
- GenericMenu menu = new GenericMenu();
-
- menu.AddItem(EditorGUIUtility.TrTextContent("Seconds"), !state.timeInFrames, ChangeTimeCode, "seconds");
- menu.AddItem(EditorGUIUtility.TrTextContent("Frames"), state.timeInFrames, ChangeTimeCode, "frames");
- menu.AddSeparator("");
-
- TimeAreaContextMenu.AddTimeAreaMenuItems(menu, state);
-
- menu.AddSeparator("");
-
- bool standardFrameRate = false;
- standardFrameRate |= AddStandardFrameRateMenu(menu, "Frame Rate/Film (24)", 24.0f);
- standardFrameRate |= AddStandardFrameRateMenu(menu, "Frame Rate/PAL (25)", 25.0f);
- standardFrameRate |= AddStandardFrameRateMenu(menu, "Frame Rate/NTSC (29.97)", 29.97f);
- standardFrameRate |= AddStandardFrameRateMenu(menu, "Frame Rate/30", 30.0f);
- standardFrameRate |= AddStandardFrameRateMenu(menu, "Frame Rate/50", 50.0f);
- standardFrameRate |= AddStandardFrameRateMenu(menu, "Frame Rate/60", 60.0f);
-
- if (standardFrameRate)
- menu.AddDisabledItem(EditorGUIUtility.TrTextContent("Frame Rate/Custom"));
- else
- menu.AddItem(EditorGUIUtility.TrTextContent("Frame Rate/Custom (" + state.editSequence.frameRate + ")"), true, () => {});
-
- menu.AddSeparator("");
- if (state.playRangeEnabled)
- {
- menu.AddItem(EditorGUIUtility.TrTextContent("Play Range Mode/Loop"), state.playRangeLoopMode, () => state.playRangeLoopMode = true);
- menu.AddItem(EditorGUIUtility.TrTextContent("Play Range Mode/Once"), !state.playRangeLoopMode, () => state.playRangeLoopMode = false);
- }
- else
- {
- menu.AddDisabledItem(EditorGUIUtility.TrTextContent("Play Range Mode"));
- }
- menu.AddItem(EditorGUIUtility.TrTextContent("Playback Scrolling mode/None"), state.autoScrollMode == PlaybackScrollMode.None, () => state.autoScrollMode = PlaybackScrollMode.None);
- menu.AddItem(EditorGUIUtility.TrTextContent("Playback Scrolling mode/Smooth"), state.autoScrollMode == PlaybackScrollMode.Smooth, () => state.autoScrollMode = PlaybackScrollMode.Smooth);
- menu.AddItem(EditorGUIUtility.TrTextContent("Playback Scrolling mode/Pan"), state.autoScrollMode == PlaybackScrollMode.Pan, () => state.autoScrollMode = PlaybackScrollMode.Pan);
- menu.AddSeparator("");
- menu.AddItem(EditorGUIUtility.TrTextContent("Show Audio Waveforms"), state.showAudioWaveform, () =>
- {
- state.showAudioWaveform = !state.showAudioWaveform;
- });
- menu.AddItem(EditorGUIUtility.TrTextContent("Enable Audio Scrubbing"), !state.muteAudioScrubbing, () => state.muteAudioScrubbing = !state.muteAudioScrubbing);
-
- menu.AddSeparator("");
- menu.AddItem(EditorGUIUtility.TrTextContent("Snap to Frame"), state.frameSnap, () => state.frameSnap = !state.frameSnap);
- menu.AddItem(EditorGUIUtility.TrTextContent("Edge Snap"), state.edgeSnaps, () => state.edgeSnaps = !state.edgeSnaps);
-
- if (Unsupported.IsDeveloperMode())
- {
- menu.AddItem(EditorGUIUtility.TrTextContent("Show Snapping Debug"), SnapEngine.displayDebugLayout,
- () => SnapEngine.displayDebugLayout = !SnapEngine.displayDebugLayout);
-
- menu.AddItem(EditorGUIUtility.TrTextContent("Debug TimeArea"), false,
- () =>
- Debug.LogFormat("translation: {0} scale: {1} rect: {2} shownRange: {3}", m_TimeArea.translation, m_TimeArea.scale, m_TimeArea.rect, m_TimeArea.shownArea));
-
- menu.AddItem(EditorGUIUtility.TrTextContent("Edit Skin"), false, () => Selection.activeObject = DirectorStyles.Instance.customSkin);
-
- menu.AddItem(EditorGUIUtility.TrTextContent("Show QuadTree Debugger"), state.showQuadTree,
- () => state.showQuadTree = !state.showQuadTree);
- }
-
- menu.ShowAsContext();
- }
- }
- }
-
- bool AddStandardFrameRateMenu(GenericMenu menu, string name, float value)
- {
- bool on = state.editSequence.frameRate.Equals(value);
- if (state.editSequence.isReadOnly)
- {
- menu.AddDisabledItem(EditorGUIUtility.TextContent(name), on);
- }
- else
- {
- menu.AddItem(EditorGUIUtility.TextContent(name), on, r =>
- {
- state.editSequence.frameRate = value;
- }, value);
- }
- return on;
- }
-
- void ChangeTimeCode(object obj)
- {
- string format = obj.ToString();
- if (format == "frames")
- {
- state.timeInFrames = true;
- }
- else
- {
- state.timeInFrames = false;
- }
- }
-
- public void AddUserOverlay(IMarker marker, Rect rect, MarkerEditor editor, bool collapsed, bool selected)
- {
- if (marker == null)
- throw new ArgumentNullException("marker");
- if (editor == null)
- throw new ArgumentNullException("editor");
-
- m_OverlayQueue.Add(new MarkerOverlay()
- {
- isCollapsed = collapsed,
- isSelected = selected,
- marker = marker,
- rect = rect,
- editor = editor
- }
- );
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Gui.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Gui.cs.meta
deleted file mode 100644
index cd727fa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Gui.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a956e5803e95df349bd35832492d4014
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_HeaderGui.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_HeaderGui.cs
deleted file mode 100644
index 4e7734e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_HeaderGui.cs
+++ /dev/null
@@ -1,314 +0,0 @@
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- static readonly GUIContent[] k_TimeReferenceGUIContents =
- {
- EditorGUIUtility.TrTextContent("Local", "Display time based on the current timeline."),
- EditorGUIUtility.TrTextContent("Global", "Display time based on the master timeline.")
- };
-
- TimelineMarkerHeaderGUI m_MarkerHeaderGUI;
-
- void SequencerHeaderGUI()
- {
- using (new EditorGUI.DisabledScope(state.editSequence.asset == null))
- {
- GUILayout.BeginVertical();
- {
- TransportToolbarGUI();
-
- GUILayout.BeginHorizontal(GUILayout.Width(sequenceHeaderRect.width));
- {
- if (state.editSequence.asset != null)
- {
- GUILayout.Space(DirectorStyles.kBaseIndent);
- AddButtonGUI();
- GUILayout.FlexibleSpace();
- EditModeToolbarGUI(currentMode);
- ShowMarkersButton();
- EditorGUILayout.Space();
- }
- }
- GUILayout.EndHorizontal();
- }
- GUILayout.EndVertical();
- }
- }
-
- void MarkerHeaderGUI()
- {
- var timelineAsset = state.editSequence.asset;
- if (timelineAsset == null)
- return;
-
- if (m_MarkerHeaderGUI == null)
- m_MarkerHeaderGUI = new TimelineMarkerHeaderGUI(timelineAsset, state);
- m_MarkerHeaderGUI.Draw(markerHeaderRect, markerContentRect, state);
- }
-
- void TransportToolbarGUI()
- {
- GUILayout.BeginHorizontal(EditorStyles.toolbar, GUILayout.Width(sequenceHeaderRect.width));
- {
- using (new EditorGUI.DisabledScope(currentMode.PreviewState(state) == TimelineModeGUIState.Disabled))
- {
- PreviewModeButtonGUI();
- }
-
- using (new EditorGUI.DisabledScope(currentMode.ToolbarState(state) == TimelineModeGUIState.Disabled))
- {
- GotoBeginingSequenceGUI();
- PreviousEventButtonGUI();
- PlayButtonGUI();
- NextEventButtonGUI();
- GotoEndSequenceGUI();
- GUILayout.Space(10.0f);
- PlayRangeButtonGUI();
- GUILayout.FlexibleSpace();
- TimeCodeGUI();
- ReferenceTimeGUI();
- }
- }
- GUILayout.EndHorizontal();
- }
-
- void PreviewModeButtonGUI()
- {
- EditorGUI.BeginChangeCheck();
- var enabled = state.previewMode;
- enabled = GUILayout.Toggle(enabled, DirectorStyles.previewContent, EditorStyles.toolbarButton);
- if (EditorGUI.EndChangeCheck())
- {
- // turn off auto play as well, so it doesn't auto reenable
- if (!enabled)
- {
- state.SetPlaying(false);
- state.recording = false;
- }
-
- state.previewMode = enabled;
-
- // if we are successfully enabled, rebuild the graph so initial states work correctly
- // Note: testing both values because previewMode setter can "fail"
- if (enabled && state.previewMode)
- state.rebuildGraph = true;
- }
- }
-
- void GotoBeginingSequenceGUI()
- {
- if (GUILayout.Button(DirectorStyles.gotoBeginingContent, EditorStyles.toolbarButton))
- {
- state.editSequence.time = 0;
- state.EnsurePlayHeadIsVisible();
- }
- }
-
- // in the editor the play button starts/stops simulation
- void PlayButtonGUIEditor()
- {
- EditorGUI.BeginChangeCheck();
- var isPlaying = GUILayout.Toggle(state.playing, DirectorStyles.playContent, EditorStyles.toolbarButton);
- if (EditorGUI.EndChangeCheck())
- {
- state.SetPlaying(isPlaying);
- }
- }
-
- // in playmode the button reflects the playing state.
- // needs to disabled if playing is not possible
- void PlayButtonGUIPlayMode()
- {
- bool buttonEnabled = state.masterSequence.director != null &&
- state.masterSequence.director.isActiveAndEnabled;
- using (new EditorGUI.DisabledScope(!buttonEnabled))
- {
- PlayButtonGUIEditor();
- }
- }
-
- void PlayButtonGUI()
- {
- if (!Application.isPlaying)
- PlayButtonGUIEditor();
- else
- PlayButtonGUIPlayMode();
- }
-
- void NextEventButtonGUI()
- {
- if (GUILayout.Button(DirectorStyles.nextFrameContent, EditorStyles.toolbarButton))
- {
- state.referenceSequence.frame += 1;
- }
- }
-
- void PreviousEventButtonGUI()
- {
- if (GUILayout.Button(DirectorStyles.previousFrameContent, EditorStyles.toolbarButton))
- {
- state.referenceSequence.frame -= 1;
- }
- }
-
- void GotoEndSequenceGUI()
- {
- if (GUILayout.Button(DirectorStyles.gotoEndContent, EditorStyles.toolbarButton))
- {
- state.editSequence.time = state.editSequence.asset.duration;
- state.EnsurePlayHeadIsVisible();
- }
- }
-
- void PlayRangeButtonGUI()
- {
- using (new EditorGUI.DisabledScope(EditorApplication.isPlaying || state.IsEditingASubTimeline()))
- {
- state.playRangeEnabled = GUILayout.Toggle(state.playRangeEnabled, DirectorStyles.Instance.playrangeContent, EditorStyles.toolbarButton);
- }
- }
-
- void AddButtonGUI()
- {
- if (currentMode.trackOptionsState.newButton == TimelineModeGUIState.Hidden)
- return;
-
- using (new EditorGUI.DisabledScope(currentMode.trackOptionsState.newButton == TimelineModeGUIState.Disabled))
- {
- if (EditorGUILayout.DropdownButton(DirectorStyles.newContent, FocusType.Passive, EditorStyles.toolbarPopup))
- {
- // if there is 1 and only 1 track selected, AND it's a group, add to that group
- var groupTracks = SelectionManager.SelectedTracks().ToList();
- if (groupTracks.Any(x => x.GetType() != typeof(GroupTrack) || x.lockedInHierarchy))
- groupTracks = null;
-
- SequencerContextMenu.ShowNewTracksContextMenu(groupTracks, state, EditorGUILayout.s_LastRect);
- }
- }
- }
-
- void ShowMarkersButton()
- {
- var asset = state.editSequence.asset;
- if (asset == null)
- return;
-
- var content = state.showMarkerHeader ? DirectorStyles.showMarkersOn : DirectorStyles.showMarkersOff;
- SetShowMarkerHeader(GUILayout.Toggle(state.showMarkerHeader, content, DirectorStyles.Instance.showMarkersBtn));
- }
-
- internal void SetShowMarkerHeader(bool newValue)
- {
- if (state.showMarkerHeader == newValue)
- return;
-
- TimelineUndo.PushUndo(state.editSequence.viewModel, "Toggle Show Markers");
- state.showMarkerHeader = newValue;
- if (!newValue)
- {
- var asset = state.editSequence.asset;
- if (asset != null && asset.markerTrack != null)
- {
- SelectionManager.Remove(asset.markerTrack);
- foreach (var marker in asset.markerTrack.GetMarkers())
- {
- SelectionManager.Remove(marker);
- }
- }
- }
- }
-
- internal void SetShowTrackMarkers(TrackAsset track, bool showMarkerHeader)
- {
- var currentValue = track.GetShowMarkers();
- if (currentValue != showMarkerHeader)
- {
- TimelineUndo.PushUndo(state.editSequence.viewModel, "Toggle Show Markers");
- track.SetShowMarkers(showMarkerHeader);
- if (!showMarkerHeader)
- {
- foreach (var marker in track.GetMarkers())
- {
- SelectionManager.Remove(marker);
- }
- }
- }
- }
-
- static void EditModeToolbarGUI(TimelineMode mode)
- {
- using (new EditorGUI.DisabledScope(mode.EditModeButtonsState(instance.state) == TimelineModeGUIState.Disabled))
- {
- var editType = EditMode.editType;
-
- using (var checkScope = new EditorGUI.ChangeCheckScope())
- {
- var icon = editType == EditMode.EditType.Mix ? DirectorStyles.mixOn : DirectorStyles.mixOff;
- GUILayout.Toggle(editType == EditMode.EditType.Mix, icon, DirectorStyles.Instance.editModeBtn);
-
- if (checkScope.changed)
- EditMode.editType = EditMode.EditType.Mix;
- }
- using (var checkScope = new EditorGUI.ChangeCheckScope())
- {
- var icon = editType == EditMode.EditType.Ripple ? DirectorStyles.rippleOn : DirectorStyles.rippleOff;
- GUILayout.Toggle(editType == EditMode.EditType.Ripple, icon, DirectorStyles.Instance.editModeBtn);
- if (checkScope.changed)
- EditMode.editType = EditMode.EditType.Ripple;
- }
- using (var checkScope = new EditorGUI.ChangeCheckScope())
- {
- var icon = editType == EditMode.EditType.Replace ? DirectorStyles.replaceOn : DirectorStyles.replaceOff;
- GUILayout.Toggle(editType == EditMode.EditType.Replace, icon, DirectorStyles.Instance.editModeBtn);
- if (checkScope.changed)
- EditMode.editType = EditMode.EditType.Replace;
- }
- }
- }
-
- // Draws the box to enter the time field
- void TimeCodeGUI()
- {
- EditorGUI.BeginChangeCheck();
-
- var currentTime = state.editSequence.asset != null ? TimeReferenceUtility.ToTimeString(state.editSequence.time, "F1") : "0";
- var r = EditorGUILayout.GetControlRect(false, EditorGUI.kSingleLineHeight, EditorStyles.toolbarTextField, GUILayout.MinWidth(WindowConstants.minTimeCodeWidth));
- var id = GUIUtility.GetControlID("RenameFieldTextField".GetHashCode(), FocusType.Passive, r);
- var newCurrentTime = EditorGUI.DelayedTextFieldInternal(r, id, GUIContent.none, currentTime, null, EditorStyles.toolbarTextField);
-
- if (EditorGUI.EndChangeCheck())
- state.editSequence.time = TimeReferenceUtility.FromTimeString(newCurrentTime);
- }
-
- void ReferenceTimeGUI()
- {
- if (!state.IsEditingASubTimeline())
- return;
-
- EditorGUI.BeginChangeCheck();
-
- var rect = EditorGUILayout.GetControlRect(false, EditorGUI.kSingleLineHeight, EditorStyles.toolbarButton, GUILayout.Width(WindowConstants.refTimeWidth));
- state.timeReferenceMode = (TimeReferenceMode)EditorGUI.CycleButton(rect, (int)state.timeReferenceMode, k_TimeReferenceGUIContents, EditorStyles.toolbarButtonRight);
-
- if (EditorGUI.EndChangeCheck())
- OnTimeReferenceModeChanged();
- }
-
- void OnTimeReferenceModeChanged()
- {
- m_TimeAreaDirty = true;
- InitTimeAreaFrameRate();
- SyncTimeAreaShownRange();
-
- foreach (var inspector in InspectorWindow.GetAllInspectorWindows())
- {
- inspector.Repaint();
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_HeaderGui.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_HeaderGui.cs.meta
deleted file mode 100644
index a06ca5f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_HeaderGui.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: fdd19c82588da3e498a0c98951efa6c4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Manipulators.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Manipulators.cs
deleted file mode 100644
index ce88372..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Manipulators.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- readonly Control m_PreTreeViewControl = new Control();
- readonly Control m_PostTreeViewControl = new Control();
-
- readonly RectangleSelect m_RectangleSelect = new RectangleSelect();
- readonly RectangleZoom m_RectangleZoom = new RectangleZoom();
-
- void InitializeManipulators()
- {
- // Order is important!
-
- // Manipulators that needs to be processed BEFORE the treeView (mainly anything clip related)
- m_PreTreeViewControl.AddManipulator(new TimelinePanManipulator());
- m_PreTreeViewControl.AddManipulator(new InlineCurveResize());
- m_PreTreeViewControl.AddManipulator(new TrackZoom());
- m_PreTreeViewControl.AddManipulator(new Jog());
- m_PreTreeViewControl.AddManipulator(TimelineZoomManipulator.Instance);
- m_PreTreeViewControl.AddManipulator(new ContextMenuManipulator());
- m_PreTreeViewControl.AddManipulator(new TimelineMarkerHeaderContextMenu());
-
- m_PreTreeViewControl.AddManipulator(new EaseClip());
- m_PreTreeViewControl.AddManipulator(new TrimClip());
- m_PreTreeViewControl.AddManipulator(new SelectAndMoveItem());
- m_PreTreeViewControl.AddManipulator(new TrackDoubleClick());
- m_PreTreeViewControl.AddManipulator(new DrillIntoClip());
- m_PreTreeViewControl.AddManipulator(new ItemActionShortcutManipulator());
- m_PreTreeViewControl.AddManipulator(new InlineCurvesShortcutManipulator());
-
- // Manipulators that needs to be processed AFTER the treeView or any GUI element able to use event (like inline curves)
- m_PostTreeViewControl.AddManipulator(new TimeAreaContextMenu());
- m_PostTreeViewControl.AddManipulator(new TrackShortcutManipulator());
- m_PostTreeViewControl.AddManipulator(new TimelineShortcutManipulator());
- m_PostTreeViewControl.AddManipulator(new ClearSelection());
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Manipulators.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Manipulators.cs.meta
deleted file mode 100644
index 1bc3569..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Manipulators.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c3a595c9a8ed19040bb2612fe168759d
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayRange.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayRange.cs
deleted file mode 100644
index 99a1ab6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayRange.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-using System.Linq;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- TimeAreaItem m_PlayRangeEnd;
- TimeAreaItem m_PlayRangeStart;
-
- void PlayRangeGUI(TimelineItemArea area)
- {
- if (!currentMode.ShouldShowPlayRange(state) || treeView == null)
- return;
-
- if (state.masterSequence.asset != null && !state.masterSequence.asset.GetRootTracks().Any())
- return;
-
- // left Time Cursor
- if (m_PlayRangeStart == null || m_PlayRangeStart.style != styles.playTimeRangeStart)
- {
- m_PlayRangeStart = new TimeAreaItem(styles.playTimeRangeStart, OnTrackHeadMinSelectDrag);
- Vector2 offset = new Vector2(-2.0f, 0);
- m_PlayRangeStart.boundOffset = offset;
- }
-
- // right Time Cursor
- if (m_PlayRangeEnd == null || m_PlayRangeEnd.style != styles.playTimeRangeEnd)
- {
- m_PlayRangeEnd = new TimeAreaItem(styles.playTimeRangeEnd, OnTrackHeadMaxSelectDrag);
- Vector2 offset = new Vector2(2.0f, 0);
- m_PlayRangeEnd.boundOffset = offset;
- }
-
- if (area == TimelineItemArea.Header)
- DrawPlayRange(true, false);
- else if (area == TimelineItemArea.Lines)
- DrawPlayRange(false, true);
- }
-
- void DrawPlayRange(bool drawHeads, bool drawLines)
- {
- Rect timeCursorRect = state.timeAreaRect;
- timeCursorRect.height = clientArea.height;
-
- m_PlayRangeEnd.HandleManipulatorsEvents(state);
- m_PlayRangeStart.HandleManipulatorsEvents(state);
-
- // The first time a user enable the play range, we put the play range 75% around the current time...
- if (state.playRange == TimelineAssetViewModel.NoPlayRangeSet)
- {
- float minimumPlayRangeTime = 0.01f;
- float t0 = Mathf.Max(0.0f, state.PixelToTime(state.timeAreaRect.xMin));
- float t1 = Mathf.Min((float)state.masterSequence.duration, state.PixelToTime(state.timeAreaRect.xMax));
-
- if (Mathf.Abs(t1 - t0) <= minimumPlayRangeTime)
- {
- state.playRange = new Vector2(t0, t1);
- return;
- }
-
- float deltaT = (t1 - t0) * 0.25f / 2.0f;
-
- t0 += deltaT;
- t1 -= deltaT;
-
- if (t1 < t0)
- {
- float temp = t0;
- t0 = t1;
- t1 = temp;
- }
-
- if (Mathf.Abs(t1 - t0) < minimumPlayRangeTime)
- {
- if (t0 - minimumPlayRangeTime > 0.0f)
- t0 -= minimumPlayRangeTime;
- else if (t1 + minimumPlayRangeTime < state.masterSequence.duration)
- t1 += minimumPlayRangeTime;
- }
-
- state.playRange = new Vector2(t0, t1);
- }
-
- // Draw the head or the lines according to the parameters..
- m_PlayRangeStart.drawHead = drawHeads;
- m_PlayRangeStart.drawLine = drawLines;
-
- m_PlayRangeEnd.drawHead = drawHeads;
- m_PlayRangeEnd.drawLine = drawLines;
-
- var playRangeTime = state.playRange;
- m_PlayRangeStart.Draw(sequenceContentRect, state, playRangeTime.x);
- m_PlayRangeEnd.Draw(sequenceContentRect, state, playRangeTime.y);
-
- // Draw Time Range Box from Start to End...
- if (state.playRangeEnabled && m_PlayHead != null)
- {
- Rect rect =
- Rect.MinMaxRect(
- Mathf.Clamp(state.TimeToPixel(playRangeTime.x), state.timeAreaRect.xMin, state.timeAreaRect.xMax),
- m_PlayHead.bounds.yMax,
- Mathf.Clamp(state.TimeToPixel(playRangeTime.y), state.timeAreaRect.xMin, state.timeAreaRect.xMax),
- sequenceContentRect.height + state.timeAreaRect.height + timeCursorRect.y
- );
-
-
- EditorGUI.DrawRect(rect, DirectorStyles.Instance.customSkin.colorRange);
-
- rect.height = 3f;
- EditorGUI.DrawRect(rect, Color.white);
- }
- }
-
- void OnTrackHeadMinSelectDrag(double newTime)
- {
- Vector2 range = state.playRange;
- range.x = (float)newTime;
- state.playRange = range;
- m_PlayRangeStart.showTooltip = true;
- }
-
- void OnTrackHeadMaxSelectDrag(double newTime)
- {
- Vector2 range = state.playRange;
- range.y = (float)newTime;
- state.playRange = range;
- m_PlayRangeEnd.showTooltip = true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayRange.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayRange.cs.meta
deleted file mode 100644
index dd2e450..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayRange.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 14d748c963c7b3549bed45457cc92c4f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayableLookup.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayableLookup.cs
deleted file mode 100644
index fbb3648..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayableLookup.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- PlayableLookup m_PlayableLookup = new PlayableLookup();
-
- class PlayableLookup
- {
- const int k_InitialDictionarySize = 10;
-
- readonly Dictionary<AnimationClip, Playable> m_AnimationClipToPlayable =
- new Dictionary<AnimationClip, Playable>(k_InitialDictionarySize);
- readonly Dictionary<AnimationClip, TimelineClip> m_AnimationClipToTimelineClip =
- new Dictionary<AnimationClip, TimelineClip>(k_InitialDictionarySize);
-
- public void UpdatePlayableLookup(TimelineClip clip, GameObject go, Playable p)
- {
- if (clip == null || go == null || !p.IsValid())
- return;
-
- if (clip.curves != null)
- m_AnimationClipToTimelineClip[clip.curves] = clip;
-
- UpdatePlayableLookup(clip.parentTrack.timelineAsset, clip, go, p);
- }
-
- public void UpdatePlayableLookup(TrackAsset track, GameObject go, Playable p)
- {
- if (track == null || go == null || !p.IsValid())
- return;
-
- UpdatePlayableLookup(track.timelineAsset, track, go, p);
- }
-
- void UpdatePlayableLookup(TimelineAsset timelineAsset, ICurvesOwner curvesOwner, GameObject go, Playable p)
- {
- var director = go.GetComponent<PlayableDirector>();
- var editingDirector = instance.state.editSequence.director;
- // No Asset mode update
- if (curvesOwner.curves != null && director != null && director == editingDirector &&
- timelineAsset == instance.state.editSequence.asset)
- {
- m_AnimationClipToPlayable[curvesOwner.curves] = p;
- }
- }
-
- public bool GetPlayableFromAnimClip(AnimationClip clip, out Playable p)
- {
- if (clip == null)
- {
- p = Playable.Null;
- return false;
- }
-
- return m_AnimationClipToPlayable.TryGetValue(clip, out p);
- }
-
- public TimelineClip GetTimelineClipFromCurves(AnimationClip clip)
- {
- if (clip == null)
- return null;
-
- TimelineClip timelineClip = null;
- m_AnimationClipToTimelineClip.TryGetValue(clip, out timelineClip);
- return timelineClip;
- }
-
- public void ClearPlayableLookup()
- {
- m_AnimationClipToPlayable.Clear();
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayableLookup.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayableLookup.cs.meta
deleted file mode 100644
index 4e0e676..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PlayableLookup.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3168bf9e060ff4b46be4bf08e308ce97
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PreviewPlayMode.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PreviewPlayMode.cs
deleted file mode 100644
index ef28cdf..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PreviewPlayMode.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-using System;
-using UnityEngine;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- void OnPreviewPlayModeChanged(bool isPlaying)
- {
- if (EditorApplication.isPlaying)
- return;
-
- if (isPlaying)
- {
- PreparePreviewPlay();
- EditorApplication.update += OnPreviewPlay;
- }
- else
- {
- EditorApplication.update -= OnPreviewPlay;
- }
- }
-
- void PreparePreviewPlay()
- {
- if (state == null || state.masterSequence.asset == null || state.masterSequence.director == null)
- return;
- if (state.playRangeEnabled && !state.isJogging)
- {
- EnsurePlayRangeIsRespected();
- }
- }
-
- internal void OnPreviewPlay()
- {
- if (state == null || state.masterSequence.asset == null || state.masterSequence.director == null)
- return;
-
- var director = state.masterSequence.director;
- if (director.timeUpdateMode == DirectorUpdateMode.Manual)
- {
- Repaint();
- return;
- }
-
- if (state.isJogging)
- {
- ApplyJog();
- }
- else if (state.playRangeEnabled)
- {
- EnsurePlayRangeIsRespected();
- }
-
- if (director.extrapolationMode == DirectorWrapMode.None && director.playableGraph.IsValid() && director.playableGraph.IsDone())
- {
- //reset time if we hit the end of the timeline
- state.masterSequence.time = 0.0;
- state.Pause();
- }
-
- Repaint();
- AudioMixerWindow.RepaintAudioMixerWindow();
- }
-
- void ApplyJog()
- {
- state.masterSequence.time = Math.Max(0.0, Math.Min(state.masterSequence.duration, state.masterSequence.time + state.playbackSpeed));
- }
-
- void EnsurePlayRangeIsRespected()
- {
- var playRangeTime = state.playRange;
- var time = state.masterSequence.time;
- if (time > playRangeTime.y || time < playRangeTime.x)
- state.masterSequence.time = playRangeTime.x;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PreviewPlayMode.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PreviewPlayMode.cs.meta
deleted file mode 100644
index 7ccfdb9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_PreviewPlayMode.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5c9c9f62af2efb948a1974650039e2db
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Selection.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Selection.cs
deleted file mode 100644
index c736e2e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Selection.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- [SerializeField]
- SequencePath m_SequencePath;
- private Object lastSelectedGO { get; set; }
-
- void OnSelectionChange()
- {
- RefreshSelection(false);
- }
-
- void RefreshSelection(bool forceRebuild)
- {
- // if we're in Locked mode, keep current selection - don't use locked property because the
- // sequence hierarchy may need to be rebuilt and it assumes no asset == unlocked
- if (m_LockTracker.isLocked || (state != null && state.recording))
- {
- RestoreLastSelection(forceRebuild);
- return;
- }
-
- // selection is a TimelineAsset
- Object selectedObject = Selection.activeObject as TimelineAsset;
- if (selectedObject != null)
- {
- SetCurrentSelection(Selection.activeObject);
- return;
- }
-
- // selection is a GameObject, or a prefab with a director
- var selectedGO = Selection.activeGameObject;
- if (selectedGO != null)
- {
- bool isSceneObject = !PrefabUtility.IsPartOfPrefabAsset(selectedGO);
- bool hasDirector = selectedGO.GetComponent<PlayableDirector>() != null;
- if (isSceneObject || hasDirector)
- {
- SetCurrentSelection(selectedGO);
- return;
- }
- }
-
- // otherwise, keep the same selection.
- RestoreLastSelection(forceRebuild);
- }
-
- void RestoreLastSelection(bool forceRebuild)
- {
- state.SetCurrentSequencePath(m_SequencePath, forceRebuild);
- }
-
- void SetCurrentSelection(Object obj)
- {
- var selectedGameObject = obj as GameObject;
- if (selectedGameObject != null)
- {
- PlayableDirector director = TimelineUtility.GetDirectorComponentForGameObject(selectedGameObject);
- SetCurrentTimeline(director);
- lastSelectedGO = selectedGameObject;
- }
- else
- {
- var selectedSequenceAsset = obj as TimelineAsset;
- if (selectedSequenceAsset != null)
- {
- SetCurrentTimeline(selectedSequenceAsset);
- lastSelectedGO = selectedGameObject;
- }
- }
-
- Repaint();
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Selection.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Selection.cs.meta
deleted file mode 100644
index 03c0749..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_Selection.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 16548db454f7a3344b41ca2e5cdb52b2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_StateChange.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_StateChange.cs
deleted file mode 100644
index 789c0ba..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_StateChange.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- void InitializeStateChange()
- {
- state.OnPlayStateChange += OnPreviewPlayModeChanged;
- state.OnDirtyStampChange += OnStateChange;
- state.OnBeforeSequenceChange += OnBeforeSequenceChange;
- state.OnAfterSequenceChange += OnAfterSequenceChange;
-
- state.OnRebuildGraphChange += () =>
- {
- // called when the graph is rebuild, since the UI tree isn't necessarily rebuilt.
- if (!state.rebuildGraph)
- {
- // send callbacks to the tacks
- if (treeView != null)
- {
- var allTrackGuis = treeView.allTrackGuis;
- if (allTrackGuis != null)
- {
- for (int i = 0; i < allTrackGuis.Count; i++)
- allTrackGuis[i].OnGraphRebuilt();
- }
- }
- }
- };
-
- state.OnTimeChange += () =>
- {
- if (EditorApplication.isPlaying == false)
- {
- state.UpdateRecordingState();
- EditorApplication.SetSceneRepaintDirty();
- }
-
- // the time is sync'd prior to the callback
- state.Evaluate(); // will do the repaint
-
- InspectorWindow.RepaintAllInspectors();
- };
-
- state.OnRecordingChange += () =>
- {
- if (!state.recording)
- {
- TrackAssetRecordingExtensions.ClearRecordingState();
- }
- };
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_StateChange.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_StateChange.cs.meta
deleted file mode 100644
index 65ef3fe..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_StateChange.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b926af22079e00e4a8c073321194cea1
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeArea.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeArea.cs
deleted file mode 100644
index 3b6bda6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeArea.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-using System;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- [NonSerialized] TimelineTimeArea m_TimeArea;
- public TimeArea timeArea { get { return m_TimeArea; } }
-
- internal static class Styles
- {
- public static string DurationModeText = L10n.Tr("Duration Mode/{0}");
- }
-
- float m_LastFrameRate;
- bool m_TimeAreaDirty = true;
-
- void InitializeTimeArea()
- {
- if (m_TimeArea == null)
- {
- m_TimeArea = new TimelineTimeArea(state, false)
- {
- hRangeLocked = false,
- vRangeLocked = true,
- margin = 10,
- scaleWithWindow = true,
- hSlider = true,
- vSlider = false,
- hBaseRangeMin = 0.0f,
- hBaseRangeMax = WindowState.kMaxShownTime,
- hRangeMin = 0.0f,
- hScaleMax = WindowConstants.maxTimeAreaScaling,
- rect = state.timeAreaRect
- };
-
- m_TimeAreaDirty = true;
- InitTimeAreaFrameRate();
- SyncTimeAreaShownRange();
- }
- }
-
- void TimelineGUI()
- {
- if (!currentMode.ShouldShowTimeArea(state))
- return;
-
- Rect rect = state.timeAreaRect;
- m_TimeArea.rect = new Rect(rect.x, rect.y, rect.width, clientArea.height - rect.y);
-
- if (m_LastFrameRate != state.referenceSequence.frameRate)
- InitTimeAreaFrameRate();
-
- SyncTimeAreaShownRange();
-
- m_TimeArea.BeginViewGUI();
- m_TimeArea.TimeRuler(rect, state.referenceSequence.frameRate, true, false, 1.0f, state.timeInFrames ? TimeArea.TimeFormat.Frame : TimeArea.TimeFormat.TimeFrame);
- m_TimeArea.EndViewGUI();
- }
-
- void InitTimeAreaFrameRate()
- {
- m_LastFrameRate = state.referenceSequence.frameRate;
- m_TimeArea.hTicks.SetTickModulosForFrameRate(m_LastFrameRate);
- }
-
- void SyncTimeAreaShownRange()
- {
- var range = state.timeAreaShownRange;
- if (!Mathf.Approximately(range.x, m_TimeArea.shownArea.x) || !Mathf.Approximately(range.y, m_TimeArea.shownArea.xMax))
- {
- // set view data onto the time area
- if (m_TimeAreaDirty)
- {
- m_TimeArea.SetShownHRange(range.x, range.y);
- m_TimeAreaDirty = false;
- }
- else
- {
- // set time area data onto the view data
- state.TimeAreaChanged();
- }
- }
-
- m_TimeArea.hBaseRangeMax = (float)state.editSequence.duration;
- }
-
- class TimelineTimeArea : TimeArea
- {
- readonly WindowState m_State;
-
- public TimelineTimeArea(WindowState state, bool minimalGUI) : base(minimalGUI)
- {
- m_State = state;
- }
-
- public override string FormatTickTime(float time, float frameRate, TimeFormat timeFormat)
- {
- time = m_State.timeReferenceMode == TimeReferenceMode.Global ?
- (float)m_State.editSequence.ToGlobalTime(time) : time;
-
- return FormatTime(time, frameRate, timeFormat);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeArea.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeArea.cs.meta
deleted file mode 100644
index 7a00108..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeArea.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b846f69b139b3a341a5699a09fa52b2c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeCursor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeCursor.cs
deleted file mode 100644
index 9a0bee4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeCursor.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-using System;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- TimeAreaItem m_PlayHead;
-
- void TimeCursorGUI(TimelineItemArea area)
- {
- DrawTimeOnSlider();
- if (!CanDrawTimeCursor(area))
- return;
-
- if (m_PlayHead == null || m_PlayHead.style != styles.timeCursor)
- {
- m_PlayHead = new TimeAreaItem(styles.timeCursor, OnTrackHeadDrag);
- m_PlayHead.AddManipulator(new PlayheadContextMenu(m_PlayHead));
- }
-
- var headerMode = area == TimelineItemArea.Header;
- DrawTimeCursor(headerMode, !headerMode);
- }
-
- bool CanDrawTimeCursor(TimelineItemArea area)
- {
- if (!currentMode.ShouldShowTimeCursor(state))
- return false;
-
- if (treeView == null || state.editSequence.asset == null || (state.editSequence.asset != null && state.IsEditingAnEmptyTimeline()))
- return false;
-
- if (area == TimelineItemArea.Lines && !state.TimeIsInRange((float)state.editSequence.time))
- return false;
-
- return true;
- }
-
- void DrawTimeOnSlider()
- {
- if (currentMode.ShouldShowTimeCursor(state))
- {
- var colorDimFactor = EditorGUIUtility.isProSkin ? 0.7f : 0.9f;
- var c = styles.timeCursor.normal.textColor * colorDimFactor;
-
- float time = Mathf.Max((float)state.editSequence.time, 0);
- float duration = (float)state.editSequence.duration;
-
- m_TimeArea.DrawTimeOnSlider(time, c, duration, DirectorStyles.kDurationGuiThickness);
- }
- }
-
- void DrawTimeCursor(bool drawHead, bool drawline)
- {
- m_PlayHead.HandleManipulatorsEvents(state);
-
- if (Event.current.type == EventType.MouseDown && Event.current.button == 0)
- {
- if (state.timeAreaRect.Contains(Event.current.mousePosition))
- {
- state.SetPlaying(false);
- m_PlayHead.HandleManipulatorsEvents(state);
- state.editSequence.time = Math.Max(0.0, state.GetSnappedTimeAtMousePosition(Event.current.mousePosition));
- }
- }
-
- state.isClipSnapping = false;
-
- m_PlayHead.drawLine = drawline;
- m_PlayHead.drawHead = drawHead;
- m_PlayHead.Draw(sequenceContentRect, state, state.editSequence.time);
- }
-
- void OnTrackHeadDrag(double newTime)
- {
- state.editSequence.time = Math.Max(0.0, newTime);
- m_PlayHead.showTooltip = true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeCursor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeCursor.cs.meta
deleted file mode 100644
index 44d5a83..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TimeCursor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e763a90581e2d8143bc9a0e384ce6f0f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TrackGui.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TrackGui.cs
deleted file mode 100644
index 578ae60..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TrackGui.cs
+++ /dev/null
@@ -1,219 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- partial class TimelineWindow
- {
- public TimelineTreeViewGUI treeView { get; private set; }
-
- void TracksGUI(Rect clientRect, WindowState state, TimelineModeGUIState trackState)
- {
- if (Event.current.type == EventType.Repaint && treeView != null)
- {
- state.spacePartitioner.Clear();
- }
-
- if (state.IsEditingASubTimeline() && !state.IsEditingAnEmptyTimeline())
- {
- var headerRect = clientRect;
- headerRect.width = state.sequencerHeaderWidth;
- Graphics.DrawBackgroundRect(state, headerRect);
-
- var clipRect = clientRect;
- clipRect.xMin = headerRect.xMax;
- Graphics.DrawBackgroundRect(state, clipRect, subSequenceMode: true);
- }
- else
- {
- Graphics.DrawBackgroundRect(state, clientRect);
- }
-
- if (!state.IsEditingAnEmptyTimeline())
- m_TimeArea.DrawMajorTicks(sequenceContentRect, state.referenceSequence.frameRate);
-
- GUILayout.BeginVertical();
- {
- GUILayout.Space(5.0f);
- GUILayout.BeginHorizontal();
-
- if (this.state.editSequence.asset == null)
- DrawNoSequenceGUI(state);
- else
- DrawTracksGUI(clientRect, trackState);
-
- GUILayout.EndHorizontal();
- }
- GUILayout.EndVertical();
-
- Graphics.DrawShadow(clientRect);
- }
-
- void DrawNoSequenceGUI(WindowState windowState)
- {
- bool showCreateButton = false;
- var currentlySelectedGo = UnityEditor.Selection.activeObject != null ? UnityEditor.Selection.activeObject as GameObject : null;
- var textContent = DirectorStyles.noTimelineAssetSelected;
- var existingDirector = currentlySelectedGo != null ? currentlySelectedGo.GetComponent<PlayableDirector>() : null;
- var existingAsset = existingDirector != null ? existingDirector.playableAsset : null;
-
- if (currentlySelectedGo != null && !TimelineUtility.IsPrefabOrAsset(currentlySelectedGo) && existingAsset == null)
- {
- showCreateButton = true;
- textContent = new GUIContent(String.Format(DirectorStyles.createTimelineOnSelection.text, currentlySelectedGo.name, "a Director component and a Timeline asset"));
- }
- GUILayout.FlexibleSpace();
- GUILayout.BeginVertical();
- GUILayout.FlexibleSpace();
-
- GUILayout.Label(textContent);
-
- if (showCreateButton)
- {
- GUILayout.BeginHorizontal();
- var textSize = GUI.skin.label.CalcSize(textContent);
- GUILayout.Space((textSize.x / 2.0f) - (WindowConstants.createButtonWidth / 2.0f));
- if (GUILayout.Button("Create", GUILayout.Width(WindowConstants.createButtonWidth)))
- {
- var message = DirectorStyles.createNewTimelineText.text + " '" + currentlySelectedGo.name + "'";
- string newSequencePath = EditorUtility.SaveFilePanelInProject(DirectorStyles.createNewTimelineText.text, currentlySelectedGo.name + "Timeline", "playable", message, ProjectWindowUtil.GetActiveFolderPath());
- if (!string.IsNullOrEmpty(newSequencePath))
- {
- var newAsset = CreateInstance<TimelineAsset>();
- AssetDatabase.CreateAsset(newAsset, newSequencePath);
-
- Undo.IncrementCurrentGroup();
-
- if (existingDirector == null)
- {
- existingDirector = Undo.AddComponent<PlayableDirector>(currentlySelectedGo);
- }
-
- existingDirector.playableAsset = newAsset;
- SetCurrentTimeline(existingDirector);
- var newTrack = TimelineHelpers.CreateTrack<AnimationTrack>();
-
- windowState.previewMode = false;
- TimelineUtility.SetSceneGameObject(windowState.editSequence.director, newTrack, currentlySelectedGo);
- }
-
- // If we reach this point, the state of the pannel has changed; skip the rest of this GUI phase
- // Fixes: case 955831 - [OSX] NullReferenceException when creating a timeline on a selected object
- GUIUtility.ExitGUI();
- }
- GUILayout.EndHorizontal();
- }
- GUILayout.FlexibleSpace();
- GUILayout.EndVertical();
- GUILayout.FlexibleSpace();
- }
-
- public enum OverlayDataTypes
- {
- None,
- BackgroundColor,
- BackgroundTexture,
- TextBox
- }
-
- public struct OverlayData
- {
- public OverlayDataTypes types { get; private set; }
- public Rect rect { get; internal set; }
- public string text { get; private set; }
- public Texture2D texture { get; private set; }
- public Color color { get; private set; }
- public GUIStyle backgroundTextStyle { get; private set; }
- public GUIStyle textStyle { get; private set; }
-
- public static OverlayData CreateColorOverlay(Rect rectangle, Color backgroundColor)
- {
- OverlayData data = new OverlayData();
- data.rect = rectangle;
- data.color = backgroundColor;
- data.types = OverlayDataTypes.BackgroundColor;
- return data;
- }
-
- public static OverlayData CreateTextureOverlay(Rect rectangle, Texture2D backTexture)
- {
- OverlayData data = new OverlayData();
- data.rect = rectangle;
- data.texture = backTexture;
- data.types = OverlayDataTypes.BackgroundTexture;
- return data;
- }
-
- public static OverlayData CreateTextBoxOverlay(Rect rectangle, string msg, GUIStyle textstyle, Color textcolor, Color bgTextColor, GUIStyle bgTextStyle)
- {
- OverlayData data = new OverlayData();
- data.rect = rectangle;
- data.text = msg;
- data.textStyle = textstyle;
- data.textStyle.normal.textColor = textcolor;
- data.backgroundTextStyle = bgTextStyle;
- data.backgroundTextStyle.normal.textColor = bgTextColor;
- data.types = OverlayDataTypes.TextBox;
- return data;
- }
- }
-
- internal List<OverlayData> OverlayDrawData = new List<OverlayData>();
-
- void DrawTracksGUI(Rect clientRect, TimelineModeGUIState trackState)
- {
- GUILayout.BeginVertical(GUILayout.Height(clientRect.height));
- if (treeView != null)
- {
- if (Event.current.type == EventType.Layout)
- {
- OverlayDrawData.Clear();
- }
-
- treeView.OnGUI(clientRect);
-
- if (Event.current.type == EventType.Repaint)
- {
- foreach (var overlayData in OverlayDrawData)
- {
- using (new GUIViewportScope(sequenceContentRect))
- DrawOverlay(overlayData);
- }
- }
- }
- GUILayout.EndVertical();
- }
-
- void DrawOverlay(OverlayData overlayData)
- {
- Rect overlayRect = GUIClip.Clip(overlayData.rect);
- if (overlayData.types == OverlayDataTypes.BackgroundColor)
- {
- EditorGUI.DrawRect(overlayRect, overlayData.color);
- }
- else if (overlayData.types == OverlayDataTypes.BackgroundTexture)
- {
- Graphics.DrawTextureRepeated(overlayRect, overlayData.texture);
- }
- else if (overlayData.types == OverlayDataTypes.TextBox)
- {
- using (new GUIColorOverride(overlayData.backgroundTextStyle.normal.textColor))
- GUI.Box(overlayRect, GUIContent.none, overlayData.backgroundTextStyle);
- Graphics.ShadowLabel(overlayRect, GUIContent.Temp(overlayData.text), overlayData.textStyle, overlayData.textStyle.normal.textColor, Color.black);
- }
- }
-
- void RefreshInlineCurves()
- {
- foreach (var trackGUI in allTracks.OfType<TimelineTrackGUI>())
- {
- if (trackGUI.inlineCurveEditor != null)
- trackGUI.inlineCurveEditor.Refresh();
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TrackGui.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TrackGui.cs.meta
deleted file mode 100644
index d90b49f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/TimelineWindow_TrackGui.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 08d23c0b73905c148b525c3c93fff580
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel.meta
deleted file mode 100644
index d9d92e3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: b9d7bb79ed0c2854a8a5ed7decc3e44f
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/ScriptableObjectViewPrefs.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/ScriptableObjectViewPrefs.cs
deleted file mode 100644
index 66b5cb8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/ScriptableObjectViewPrefs.cs
+++ /dev/null
@@ -1,119 +0,0 @@
-using System;
-using System.IO;
-using UnityEditorInternal;
-using UnityEngine;
-using UnityObject = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class ScriptableObjectViewPrefs<TViewModel> : IDisposable where TViewModel : ScriptableObject
- {
- const string k_DefaultFilePath = "Library/";
- const string k_Extension = ".pref";
-
- readonly string m_RelativePath;
- readonly string m_AbsolutePath;
- readonly string m_FileName;
- ScriptableObject m_Asset;
- TViewModel m_ViewModel;
-
- bool isSavable
- {
- get
- {
- return m_Asset != null &&
- m_ViewModel != null &&
- !string.IsNullOrEmpty(m_FileName);
- }
- }
-
- public ScriptableObjectViewPrefs(ScriptableObject asset, string relativeSavePath)
- {
- m_Asset = asset;
- m_RelativePath = string.IsNullOrEmpty(relativeSavePath) ? k_DefaultFilePath : relativeSavePath;
- if (!m_RelativePath.EndsWith("/", StringComparison.Ordinal))
- m_RelativePath += "/";
-
- m_AbsolutePath = Application.dataPath + "/../" + m_RelativePath;
-
- var assetKey = GetAssetKey(asset);
- m_FileName = string.IsNullOrEmpty(assetKey) ? string.Empty : assetKey + k_Extension;
- }
-
- public TViewModel viewModel
- {
- get
- {
- if (m_ViewModel == null)
- {
- if (m_Asset == null)
- m_ViewModel = CreateViewModel();
- else
- m_ViewModel = LoadViewModel() ?? CreateViewModel();
- }
- return m_ViewModel;
- }
- }
-
- public void Save()
- {
- if (!isSavable)
- return;
-
- // make sure the path exists or file write will fail
- if (!Directory.Exists(m_AbsolutePath))
- Directory.CreateDirectory(m_AbsolutePath);
-
- const bool saveAsText = true;
- InternalEditorUtility.SaveToSerializedFileAndForget(new UnityObject[] { m_ViewModel }, m_RelativePath + m_FileName, saveAsText);
- }
-
- public void DeleteFile()
- {
- if (!isSavable)
- return;
-
- var path = m_AbsolutePath + m_FileName;
-
- if (!File.Exists(path))
- return;
-
- File.Delete(path);
- }
-
- public void Dispose()
- {
- if (m_ViewModel != null)
- UnityObject.DestroyImmediate(m_ViewModel);
-
- m_Asset = null;
- }
-
- public static TViewModel CreateViewModel()
- {
- var model = ScriptableObject.CreateInstance<TViewModel>();
- model.hideFlags |= HideFlags.HideAndDontSave;
- return model;
- }
-
- TViewModel LoadViewModel()
- {
- if (string.IsNullOrEmpty(m_FileName))
- return null;
-
- var objects = InternalEditorUtility.LoadSerializedFileAndForget(m_RelativePath + m_FileName);
- if (objects.Length <= 0 || objects[0] == null)
- return null;
-
- var model = (TViewModel)objects[0];
- model.hideFlags |= HideFlags.HideAndDontSave;
-
- return model;
- }
-
- static string GetAssetKey(UnityObject asset)
- {
- return asset == null ? string.Empty : AssetDatabase.AssetPathToGUID(AssetDatabase.GetAssetPath(asset));
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/ScriptableObjectViewPrefs.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/ScriptableObjectViewPrefs.cs.meta
deleted file mode 100644
index 7201def..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/ScriptableObjectViewPrefs.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 80ae83fdf1fb2c649bccb8c293b94556
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineAssetViewModel.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineAssetViewModel.cs
deleted file mode 100644
index 9ae8c5a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineAssetViewModel.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityObject = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- [Serializable]
- class TrackViewModelData : ISerializationCallbackReceiver
- {
- public static readonly float DefaultinlineAnimationCurveHeight = 100.0f;
-
- public bool collapsed = true;
- public bool showMarkers = true;
-
- public bool showInlineCurves = false;
- public float inlineAnimationCurveHeight = DefaultinlineAnimationCurveHeight;
- public int lastInlineCurveDataID = -1;
- public TreeViewState inlineCurvesState = null;
- public Rect inlineCurvesShownAreaInsideMargins = new Rect(1, 1, 1, 1);
-
- public Dictionary<int, long> markerTimeStamps = new Dictionary<int, long>();
- [SerializeField] List<int> m_MarkerTimeStampsKeys;
- [SerializeField] List<long> m_MarkerTimeStampsValues;
-
- public void OnBeforeSerialize()
- {
- if (markerTimeStamps == null)
- return;
-
- m_MarkerTimeStampsKeys = new List<int>(markerTimeStamps.Count);
- m_MarkerTimeStampsValues = new List<long>(markerTimeStamps.Count);
-
- foreach (var kvp in markerTimeStamps)
- {
- m_MarkerTimeStampsKeys.Add(kvp.Key);
- m_MarkerTimeStampsValues.Add(kvp.Value);
- }
- }
-
- public void OnAfterDeserialize()
- {
- markerTimeStamps = new Dictionary<int, long>();
-
- if (m_MarkerTimeStampsKeys == null || m_MarkerTimeStampsValues == null ||
- m_MarkerTimeStampsKeys.Count != m_MarkerTimeStampsValues.Count)
- return;
-
- for (int i = 0; i < m_MarkerTimeStampsKeys.Count; ++i)
- markerTimeStamps.Add(m_MarkerTimeStampsKeys[i], m_MarkerTimeStampsValues[i]);
- }
- }
-
- [Serializable]
- class TimelineAssetViewModel : ScriptableObject, ISerializationCallbackReceiver
- {
- public const float DefaultTrackScale = 1.0f;
- public const float DefaultVerticalScroll = 0;
-
- public static readonly Vector2 TimeAreaDefaultRange = new Vector2(-WindowConstants.timeAreaShownRangePadding, 5.0f); // in seconds. Hack: using negative value to force the UI to have a left margin at 0.
- public static readonly Vector2 NoPlayRangeSet = new Vector2(float.MaxValue, float.MaxValue);
-
- public bool timeInFrames = true;
- public Vector2 timeAreaShownRange = TimeAreaDefaultRange;
- public bool showAudioWaveform = true;
- public float trackScale = DefaultTrackScale;
- public bool playRangeEnabled;
- public Vector2 timeAreaPlayRange = NoPlayRangeSet;
- public double windowTime;
- public float verticalScroll = DefaultVerticalScroll;
- public bool showMarkerHeader;
-
- public Dictionary<TrackAsset, TrackViewModelData> tracksViewModelData = new Dictionary<TrackAsset, TrackViewModelData>();
-
- // Used only for serialization of the dictionary
- [SerializeField] List<TrackAsset> m_Keys = new List<TrackAsset>();
- [SerializeField] List<TrackViewModelData> m_Vals = new List<TrackViewModelData>();
-
- public void OnBeforeSerialize()
- {
- m_Keys.Clear();
- m_Vals.Clear();
- foreach (var data in tracksViewModelData)
- {
- // Assets that don't save, will create nulls when deserializeds
- if (data.Key != null && data.Value != null && (data.Key.hideFlags & HideFlags.DontSave) == 0)
- {
- m_Keys.Add(data.Key);
- m_Vals.Add(data.Value);
- }
- }
- }
-
- public void OnAfterDeserialize()
- {
- }
-
- public void OnEnable()
- {
- if (m_Keys.Count == m_Vals.Count)
- {
- tracksViewModelData.Clear();
- for (int i = 0; i < m_Keys.Count; i++)
- {
- if (m_Keys[i] != null) // if the asset is overwritten the tracks can be null
- tracksViewModelData[m_Keys[i]] = m_Vals[i];
- }
- }
-
- m_Keys.Clear();
- m_Vals.Clear();
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineAssetViewModel.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineAssetViewModel.cs.meta
deleted file mode 100644
index 7a8e170..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineAssetViewModel.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d79cb9ecc0d4a6d428ab98a681a33897
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineWindowViewPrefs.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineWindowViewPrefs.cs
deleted file mode 100644
index c1672c1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineWindowViewPrefs.cs
+++ /dev/null
@@ -1,170 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityObject = UnityEngine.Object;
-using ViewModelsMap = System.Collections.Generic.Dictionary<UnityEngine.Timeline.TimelineAsset, UnityEditor.Timeline.ScriptableObjectViewPrefs<UnityEditor.Timeline.TimelineAssetViewModel>>;
-using ViewModelsList = System.Collections.Generic.List<UnityEditor.Timeline.ScriptableObjectViewPrefs<UnityEditor.Timeline.TimelineAssetViewModel>>;
-
-namespace UnityEditor.Timeline
-{
- static class TimelineWindowViewPrefs
- {
- public const string FilePath = "Library/Timeline";
-
- static readonly ViewModelsMap k_ViewModelsMap = new ViewModelsMap();
- static readonly ViewModelsList k_UnassociatedViewModels = new ViewModelsList();
-
- public static int viewModelCount
- {
- get { return k_ViewModelsMap.Count + k_UnassociatedViewModels.Count; }
- }
-
- public static TimelineAssetViewModel GetOrCreateViewModel(TimelineAsset asset)
- {
- if (asset == null)
- return CreateUnassociatedViewModel();
-
- ScriptableObjectViewPrefs<TimelineAssetViewModel> vm;
- if (k_ViewModelsMap.TryGetValue(asset, out vm))
- return vm.viewModel;
-
- return CreateViewModel(asset).viewModel;
- }
-
- public static TimelineAssetViewModel CreateUnassociatedViewModel()
- {
- var vm = new ScriptableObjectViewPrefs<TimelineAssetViewModel>(null, FilePath);
- k_UnassociatedViewModels.Add(vm);
- return vm.viewModel;
- }
-
- static ScriptableObjectViewPrefs<TimelineAssetViewModel> CreateViewModel(TimelineAsset asset)
- {
- var vm = new ScriptableObjectViewPrefs<TimelineAssetViewModel>(asset, FilePath);
- k_ViewModelsMap.Add(asset, vm);
- return vm;
- }
-
- public static void SaveViewModel(TimelineAsset asset)
- {
- if (asset == null)
- return;
-
- ScriptableObjectViewPrefs<TimelineAssetViewModel> vm;
- if (!k_ViewModelsMap.TryGetValue(asset, out vm))
- vm = CreateViewModel(asset);
-
- vm.Save();
- }
-
- public static void SaveAll()
- {
- foreach (var kvp in k_ViewModelsMap)
- kvp.Value.Save();
- }
-
- public static void UnloadViewModel(TimelineAsset asset)
- {
- ScriptableObjectViewPrefs<TimelineAssetViewModel> vm;
- if (k_ViewModelsMap.TryGetValue(asset, out vm))
- {
- vm.Dispose();
- k_ViewModelsMap.Remove(asset);
- }
- }
-
- public static void UnloadAllViewModels()
- {
- foreach (var kvp in k_ViewModelsMap)
- kvp.Value.Dispose();
-
- foreach (var vm in k_UnassociatedViewModels)
- vm.Dispose();
-
- k_ViewModelsMap.Clear();
- k_UnassociatedViewModels.Clear();
- }
-
- public static TrackViewModelData GetTrackViewModelData(TrackAsset track)
- {
- if (track == null)
- return new TrackViewModelData();
-
- if (track.timelineAsset == null)
- return new TrackViewModelData();
-
- var prefs = GetOrCreateViewModel(track.timelineAsset);
-
- TrackViewModelData trackData;
- if (prefs.tracksViewModelData.TryGetValue(track, out trackData))
- {
- return trackData;
- }
-
- trackData = new TrackViewModelData();
- prefs.tracksViewModelData[track] = trackData;
- return trackData;
- }
-
- public static bool IsTrackCollapsed(TrackAsset track)
- {
- if (track == null)
- return true;
-
- return GetTrackViewModelData(track).collapsed;
- }
-
- public static void SetTrackCollapsed(TrackAsset track, bool collapsed)
- {
- if (track == null)
- return;
-
- GetTrackViewModelData(track).collapsed = collapsed;
- }
-
- public static bool IsShowMarkers(TrackAsset track)
- {
- if (track == null)
- return true;
-
- return GetTrackViewModelData(track).showMarkers;
- }
-
- public static void SetTrackShowMarkers(TrackAsset track, bool collapsed)
- {
- if (track == null)
- return;
-
- GetTrackViewModelData(track).showMarkers = collapsed;
- }
-
- public static bool GetShowInlineCurves(TrackAsset track)
- {
- if (track == null)
- return false;
-
- return GetTrackViewModelData(track).showInlineCurves;
- }
-
- public static void SetShowInlineCurves(TrackAsset track, bool inlineOn)
- {
- if (track == null)
- return;
-
- GetTrackViewModelData(track).showInlineCurves = inlineOn;
- }
-
- public static float GetInlineCurveHeight(TrackAsset asset)
- {
- if (asset == null)
- return TrackViewModelData.DefaultinlineAnimationCurveHeight;
-
- return GetTrackViewModelData(asset).inlineAnimationCurveHeight;
- }
-
- public static void SetInlineCurveHeight(TrackAsset asset, float height)
- {
- if (asset != null)
- GetTrackViewModelData(asset).inlineAnimationCurveHeight = height;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineWindowViewPrefs.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineWindowViewPrefs.cs.meta
deleted file mode 100644
index 9501d6d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/ViewModel/TimelineWindowViewPrefs.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 105515c1653548242b4fe973c0f375f7
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/WindowConstants.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/WindowConstants.cs
deleted file mode 100644
index 31d9b63..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/WindowConstants.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-namespace UnityEditor.Timeline
-{
- static class WindowConstants
- {
- public const float timeAreaYPosition = 19.0f;
- public const float timeAreaHeight = 22.0f;
- public const float timeAreaMinWidth = 50.0f;
- public const float timeAreaShownRangePadding = 5.0f;
-
- public const float markerRowHeight = 18.0f;
- public const float markerRowYPosition = timeAreaYPosition + timeAreaHeight;
-
- public const float defaultHeaderWidth = 315.0f;
- public const float defaultBindingAreaWidth = 40.0f;
-
- public const float minHierarchySplitter = 0.15f;
- public const float maxHierarchySplitter = 10.50f;
- public const float hierarchySplitterDefaultPercentage = 0.2f;
-
- public const float minHeaderWidth = 315.0f;
- public const float maxHeaderWidth = 650.0f;
-
- public const float maxTimeAreaScaling = 90000.0f;
- public const float minTimeCodeWidth = 28.0f; // Enough space to display up to 9999 without clipping
-
- public const float sliderWidth = 15;
- public const float shadowUnderTimelineHeight = 15.0f;
- public const float createButtonWidth = 70.0f;
- public const float refTimeWidth = 50.0f;
-
- public const float selectorWidth = 23.0f;
- public const float cogButtonWidth = 32.0f;
- public const float cogButtonPadding = 16.0f;
-
- public const float trackHeaderButtonSize = 16.0f;
- public const float trackHeaderButtonPadding = 6f;
- public const float trackHeaderButtonSpacing = 3.0f;
- public const float trackOptionButtonVerticalPadding = 0f;
- public const float trackHeaderMaxButtonsWidth = 5 * (trackHeaderButtonSize + trackHeaderButtonPadding);
-
- public const float trackInsertionMarkerHeight = 1f;
-
- public const int autoPanPaddingInPixels = 50;
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/WindowConstants.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/WindowConstants.cs.meta
deleted file mode 100644
index 9fb0cfa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/Window/WindowConstants.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6d768b1bb52e2c64ba818933dbdd8452
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors.meta
deleted file mode 100644
index 0546914..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 2d8485e4e3a2bcb429fc32900ca26d9e
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationPlayableAssetInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationPlayableAssetInspector.cs
deleted file mode 100644
index 2aaa970..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationPlayableAssetInspector.cs
+++ /dev/null
@@ -1,341 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomEditor(typeof(AnimationPlayableAsset)), CanEditMultipleObjects]
- class AnimationPlayableAssetInspector : Editor
- {
- static class Styles
- {
- public static readonly GUIContent RotationText = EditorGUIUtility.TrTextContent("Rotation");
- public static readonly GUIContent AnimClipText = EditorGUIUtility.TrTextContent("Animation Clip");
- public static readonly GUIContent TransformOffsetTitle = EditorGUIUtility.TrTextContent("Clip Transform Offsets", "Use this to offset the root transform position and rotation relative to the track when playing this clip");
- public static readonly GUIContent AnimationClipName = EditorGUIUtility.TrTextContent("Animation Clip Name");
- public static readonly GUIContent MatchTargetFieldsTitle = EditorGUIUtility.TrTextContent("Offsets Match Fields", "Fields to apply when matching offsets on clips. The defaults can be set on the track.");
- public static readonly GUIContent UseDefaults = EditorGUIUtility.TrTextContent("Use defaults");
- public static readonly GUIContent RemoveStartOffset = EditorGUIUtility.TrTextContent("Remove Start Offset", "Makes playback of the clip play relative to first key of the root transform");
- public static readonly GUIContent ApplyFootIK = EditorGUIUtility.TrTextContent("Foot IK", "Enable to apply foot IK to the AnimationClip when the target is humanoid.");
- public static readonly GUIContent Loop = EditorGUIUtility.TrTextContent("Loop", "Whether the source Animation Clip loops during playback.");
- }
-
- TimelineWindow m_TimelineWindow;
- GameObject m_Binding;
-
- TimelineAnimationUtilities.OffsetEditMode m_OffsetEditMode = TimelineAnimationUtilities.OffsetEditMode.None;
- EditorClip m_EditorClip;
- EditorClip[] m_EditorClips;
-
- SerializedProperty m_PositionProperty;
- SerializedProperty m_RotationProperty;
- SerializedProperty m_AnimClipProperty;
- SerializedProperty m_UseTrackMatchFieldsProperty;
- SerializedProperty m_MatchTargetFieldsProperty;
- SerializedObject m_SerializedAnimClip;
- SerializedProperty m_SerializedAnimClipName;
- SerializedProperty m_RemoveStartOffsetProperty;
- SerializedProperty m_ApplyFootIK;
- SerializedProperty m_Loop;
-
- Vector3 m_LastPosition;
- Vector3 m_LastRotation;
-
- public override void OnInspectorGUI()
- {
- if (target == null)
- return;
-
- serializedObject.Update();
-
- if (!m_TimelineWindow) m_TimelineWindow = TimelineWindow.instance;
-
- ShowAnimationClipField();
- ShowRecordableClipRename();
- ShowAnimationClipWarnings();
-
- EditorGUI.BeginChangeCheck();
-
- TransformOffsetsGUI();
-
- // extra checks are because the context menu may need to cause a re-evaluate
- bool changed = EditorGUI.EndChangeCheck() ||
- m_LastPosition != m_PositionProperty.vector3Value ||
- m_LastRotation != m_RotationProperty.vector3Value;
- m_LastPosition = m_PositionProperty.vector3Value;
- m_LastRotation = m_RotationProperty.vector3Value;
-
- if (changed)
- {
- // updates the changed properties and pushes them to the active playable
- serializedObject.ApplyModifiedProperties();
- ((AnimationPlayableAsset)target).LiveLink();
-
- // force an evaluate to happen next frame
- if (TimelineWindow.instance != null && TimelineWindow.instance.state != null)
- {
- TimelineWindow.instance.state.Evaluate();
- }
- }
-
- EditorGUI.BeginChangeCheck();
- EditorGUILayout.PropertyField(m_ApplyFootIK, Styles.ApplyFootIK);
- EditorGUILayout.PropertyField(m_Loop, Styles.Loop);
- if (EditorGUI.EndChangeCheck())
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
-
- serializedObject.ApplyModifiedProperties();
- }
-
- void ShowAnimationClipField()
- {
- bool disabled = m_EditorClips == null || m_EditorClips.Any(c => c.clip == null || c.clip.recordable);
- using (new EditorGUI.DisabledScope(disabled))
- {
- EditorGUI.BeginChangeCheck();
- EditorGUILayout.PropertyField(m_AnimClipProperty, Styles.AnimClipText);
- if (EditorGUI.EndChangeCheck())
- {
- // rename the timeline clips to match the animation name if it did previously
- if (m_AnimClipProperty.objectReferenceValue != null && m_EditorClips != null)
- {
- var newName = m_AnimClipProperty.objectReferenceValue.name;
- foreach (var c in m_EditorClips)
- {
- if (c == null || c.clip == null || c.clip.asset == null)
- continue;
-
- var apa = c.clip.asset as AnimationPlayableAsset;
- if (apa != null && apa.clip != null && c.clip.displayName == apa.clip.name)
- {
- if (c.clip.parentTrack != null)
- Undo.RegisterCompleteObjectUndo(c.clip.parentTrack, "Inspector");
- c.clip.displayName = newName;
- }
- }
- }
-
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
- }
- }
-
- void TransformOffsetsMatchFieldsGUI()
- {
- var rect = EditorGUILayout.GetControlRect(true);
- EditorGUI.BeginProperty(rect, Styles.MatchTargetFieldsTitle, m_UseTrackMatchFieldsProperty);
-
- rect = EditorGUI.PrefixLabel(rect, Styles.MatchTargetFieldsTitle);
- int oldIndent = EditorGUI.indentLevel;
- EditorGUI.indentLevel = 0;
- EditorGUI.BeginChangeCheck();
- bool val = m_UseTrackMatchFieldsProperty.boolValue;
- val = EditorGUI.ToggleLeft(rect, Styles.UseDefaults, val);
- if (EditorGUI.EndChangeCheck())
- m_UseTrackMatchFieldsProperty.boolValue = val;
-
- EditorGUI.indentLevel = oldIndent;
- EditorGUI.EndProperty();
-
-
- if (!val || m_UseTrackMatchFieldsProperty.hasMultipleDifferentValues)
- {
- EditorGUI.indentLevel++;
- AnimationTrackInspector.MatchTargetsFieldGUI(m_MatchTargetFieldsProperty);
- EditorGUI.indentLevel--;
- }
- }
-
- void TransformOffsetsGUI()
- {
- if (ShouldShowOffsets())
- {
- EditorGUILayout.Space();
- EditorGUILayout.LabelField(Styles.TransformOffsetTitle);
- EditorGUI.indentLevel++;
-
- using (new EditorGUI.DisabledScope(targets.Length > 1))
- {
- var previousOffsetMode = m_OffsetEditMode;
- AnimationTrackInspector.ShowMotionOffsetEditModeToolbar(ref m_OffsetEditMode);
- if (previousOffsetMode != m_OffsetEditMode)
- {
- SetTimeToClip();
- SceneView.RepaintAll();
- }
- }
-
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.PropertyField(m_PositionProperty);
- EditorGUILayout.EndHorizontal();
-
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.PropertyField(m_RotationProperty, Styles.RotationText);
- EditorGUILayout.EndHorizontal();
-
- EditorGUILayout.Space();
-
- EditorGUI.indentLevel--;
-
- TransformOffsetsMatchFieldsGUI();
-
- EditorGUI.BeginChangeCheck();
- EditorGUILayout.PropertyField(m_RemoveStartOffsetProperty, Styles.RemoveStartOffset);
- if (EditorGUI.EndChangeCheck())
- {
- TimelineEditor.Refresh(RefreshReason.ContentsAddedOrRemoved);
- Repaint();
- }
- }
- }
-
- void Reevaluate()
- {
- if (m_TimelineWindow != null && m_TimelineWindow.state != null)
- {
- m_TimelineWindow.state.Refresh();
- m_TimelineWindow.state.EvaluateImmediate();
- }
- }
-
- // Make sure the director time is within the bounds of the clip
- void SetTimeToClip()
- {
- if (m_TimelineWindow != null && m_TimelineWindow.state != null)
- {
- m_TimelineWindow.state.editSequence.time = Math.Min(m_EditorClip.clip.end, Math.Max(m_EditorClip.clip.start, m_TimelineWindow.state.editSequence.time));
- }
- }
-
- public void OnEnable()
- {
- if (target == null) // case 946080
- return;
-
- m_EditorClip = UnityEditor.Selection.activeObject as EditorClip;
- m_EditorClips = UnityEditor.Selection.objects.OfType<EditorClip>().ToArray();
- SceneView.duringSceneGui += OnSceneGUI;
-
- m_PositionProperty = serializedObject.FindProperty("m_Position");
- m_PositionProperty.isExpanded = true;
- m_RotationProperty = serializedObject.FindProperty("m_EulerAngles");
- m_AnimClipProperty = serializedObject.FindProperty("m_Clip");
- m_UseTrackMatchFieldsProperty = serializedObject.FindProperty("m_UseTrackMatchFields");
- m_MatchTargetFieldsProperty = serializedObject.FindProperty("m_MatchTargetFields");
- m_RemoveStartOffsetProperty = serializedObject.FindProperty("m_RemoveStartOffset");
- m_ApplyFootIK = serializedObject.FindProperty("m_ApplyFootIK");
- m_Loop = serializedObject.FindProperty("m_Loop");
-
- m_LastPosition = m_PositionProperty.vector3Value;
- m_LastRotation = m_RotationProperty.vector3Value;
- }
-
- void OnDestroy()
- {
- SceneView.duringSceneGui -= OnSceneGUI;
- }
-
- void OnSceneGUI(SceneView sceneView)
- {
- DoManipulators();
- }
-
- Transform GetTransform()
- {
- if (m_Binding != null)
- return m_Binding.transform;
-
- if (m_TimelineWindow != null && m_TimelineWindow.state != null &&
- m_TimelineWindow.state.editSequence.director != null &&
- m_EditorClip != null && m_EditorClip.clip != null)
- {
- var obj = TimelineUtility.GetSceneGameObject(m_TimelineWindow.state.editSequence.director,
- m_EditorClip.clip.parentTrack);
- m_Binding = obj;
- if (obj != null)
- return obj.transform;
- }
- return null;
- }
-
- void DoManipulators()
- {
- if (m_EditorClip == null || m_EditorClip.clip == null)
- return;
-
- AnimationPlayableAsset animationPlayable = m_EditorClip.clip.asset as AnimationPlayableAsset;
- AnimationTrack track = m_EditorClip.clip.parentTrack as AnimationTrack;
- Transform transform = GetTransform();
-
- if (transform != null && animationPlayable != null && m_OffsetEditMode != TimelineAnimationUtilities.OffsetEditMode.None && track != null)
- {
- TimelineUndo.PushUndo(animationPlayable, "Inspector");
- Vector3 position = transform.position;
- Quaternion rotation = transform.rotation;
-
- EditorGUI.BeginChangeCheck();
- if (m_OffsetEditMode == TimelineAnimationUtilities.OffsetEditMode.Translation)
- {
- position = Handles.PositionHandle(position, Tools.pivotRotation == PivotRotation.Global ? Quaternion.identity : rotation);
- }
- else if (m_OffsetEditMode == TimelineAnimationUtilities.OffsetEditMode.Rotation)
- {
- rotation = Handles.RotationHandle(rotation, position);
- }
-
- if (EditorGUI.EndChangeCheck())
- {
- var res = TimelineAnimationUtilities.UpdateClipOffsets(animationPlayable, track, transform, position, rotation);
- animationPlayable.position = res.position;
- animationPlayable.eulerAngles = AnimationUtility.GetClosestEuler(res.rotation, animationPlayable.eulerAngles, RotationOrder.OrderZXY);
- Reevaluate();
- Repaint();
- }
- }
- }
-
- void ShowAnimationClipWarnings()
- {
- AnimationClip clip = m_AnimClipProperty.objectReferenceValue as AnimationClip;
- if (clip == null)
- {
- EditorGUILayout.HelpBox(AnimationPlayableAssetEditor.k_NoClipAssignedError, MessageType.Warning);
- }
- else if (clip.legacy)
- {
- EditorGUILayout.HelpBox(AnimationPlayableAssetEditor.k_LegacyClipError, MessageType.Warning);
- }
- }
-
- bool ShouldShowOffsets()
- {
- return targets.OfType<AnimationPlayableAsset>().All(x => x.hasRootTransforms);
- }
-
- void ShowRecordableClipRename()
- {
- if (targets.Length > 1 || m_EditorClip == null || m_EditorClip.clip == null || !m_EditorClip.clip.recordable)
- return;
-
- AnimationClip clip = m_AnimClipProperty.objectReferenceValue as AnimationClip;
- if (clip == null || !AssetDatabase.IsSubAsset(clip))
- return;
-
- if (m_SerializedAnimClip == null)
- {
- m_SerializedAnimClip = new SerializedObject(clip);
- m_SerializedAnimClipName = m_SerializedAnimClip.FindProperty("m_Name");
- }
-
- if (m_SerializedAnimClipName != null)
- {
- m_SerializedAnimClip.Update();
- EditorGUI.BeginChangeCheck();
- EditorGUILayout.DelayedTextField(m_SerializedAnimClipName, Styles.AnimationClipName);
- if (EditorGUI.EndChangeCheck())
- m_SerializedAnimClip.ApplyModifiedProperties();
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationPlayableAssetInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationPlayableAssetInspector.cs.meta
deleted file mode 100644
index b81fe24..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationPlayableAssetInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f7852b99951997645ae7adaac5f0b083
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationTrackInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationTrackInspector.cs
deleted file mode 100644
index abcccf9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationTrackInspector.cs
+++ /dev/null
@@ -1,504 +0,0 @@
-//#define PERF_PROFILE
-
-using System;
-using System.ComponentModel;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- [CustomEditor(typeof(AnimationTrack)), CanEditMultipleObjects]
- class AnimationTrackInspector : TrackAssetInspector
- {
- static class Styles
- {
- public static GUIContent MatchTargetFieldsTitle = EditorGUIUtility.TrTextContent("Default Offset Match Fields", "Fields to apply when matching offsets on clips. These are the defaults, and can be overridden for each clip.");
- public static readonly GUIContent PositionIcon = EditorGUIUtility.IconContent("MoveTool");
- public static readonly GUIContent RotationIcon = EditorGUIUtility.IconContent("RotateTool");
-
- public static GUIContent XTitle = EditorGUIUtility.TextContent("X");
- public static GUIContent YTitle = EditorGUIUtility.TextContent("Y");
- public static GUIContent ZTitle = EditorGUIUtility.TextContent("Z");
- public static GUIContent PositionTitle = EditorGUIUtility.TrTextContent("Position");
- public static GUIContent RotationTitle = EditorGUIUtility.TrTextContent("Rotation");
-
- public static readonly GUIContent OffsetModeTitle = EditorGUIUtility.TrTextContent("Track Offsets");
- public static readonly string TransformOffsetInfo = L10n.Tr("Transform offsets are applied to the entire track. Use this mode to play the animation track at a fixed position and rotation.");
- public static readonly string SceneOffsetInfo = L10n.Tr("Scene offsets will use the existing transform as initial offsets. Use this to play the track from the gameObjects current position and rotation.");
- public static readonly string AutoOffsetInfo = L10n.Tr("Auto will apply scene offsets if there is a controller attached to the animator and transform offsets otherwise.");
- public static readonly string AutoOffsetWarning = L10n.Tr("This mode is deprecated may be removed in a future release.");
- public static readonly string InheritedFromParent = L10n.Tr("Inherited");
- public static readonly string InheritedToolTip = L10n.Tr("This value is inherited from it's parent track.");
-
- public static readonly GUIContent RecordingOffsets = EditorGUIUtility.TrTextContent("Recorded Offsets", "Offsets applied to recorded position and rotation keys");
-
- public static readonly GUIContent[] OffsetContents;
- public static readonly GUIContent[] OffsetInheritContents;
-
- static Styles()
- {
- var values = Enum.GetValues(typeof(TrackOffset));
- OffsetContents = new GUIContent[values.Length];
- OffsetInheritContents = new GUIContent[values.Length];
- for (var index = 0; index < values.Length; index++)
- {
- var offset = (TrackOffset)index;
- var name = ObjectNames.NicifyVariableName(L10n.Tr(offset.ToString()));
- var memInfo = typeof(TrackOffset).GetMember(offset.ToString());
- var attributes = memInfo[0].GetCustomAttributes(typeof(DescriptionAttribute), false);
- if (attributes.Length > 0)
- {
- name = ((DescriptionAttribute)attributes[0]).Description;
- }
-
- OffsetContents[index] = new GUIContent(name);
- OffsetInheritContents[index] = new GUIContent(string.Format("{0} ({1})", InheritedFromParent, name));
- }
- }
- }
-
- TimelineAnimationUtilities.OffsetEditMode m_OffsetEditMode = TimelineAnimationUtilities.OffsetEditMode.None;
-
- SerializedProperty m_MatchFieldsProperty;
- SerializedProperty m_TrackPositionProperty;
- SerializedProperty m_TrackRotationProperty;
- SerializedProperty m_AvatarMaskProperty;
- SerializedProperty m_ApplyAvatarMaskProperty;
- SerializedProperty m_TrackOffsetProperty;
-
- SerializedProperty m_RecordedOffsetPositionProperty;
- SerializedProperty m_RecordedOffsetEulerProperty;
-
- Vector3 m_lastPosition;
- Vector3 m_lastRotation;
-
- GUIContent m_TempContent = new GUIContent();
-
-
- void Evaluate()
- {
- if (timelineWindow.state != null && timelineWindow.state.editSequence.director != null)
- {
- // force the update immediately, the deferred doesn't always work with the inspector
- timelineWindow.state.editSequence.director.Evaluate();
- }
- }
-
- void RebuildGraph()
- {
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
-
- public override void OnInspectorGUI()
- {
- using (new EditorGUI.DisabledScope(IsTrackLocked()))
- {
- serializedObject.Update();
-
- DrawRootTransformOffset();
-
- EditorGUI.BeginChangeCheck();
- DrawRecordedOffsetProperties();
- DrawAvatarProperties();
- if (EditorGUI.EndChangeCheck())
- RebuildGraph();
-
- DrawMatchFieldsGUI();
-
- serializedObject.ApplyModifiedProperties();
- }
- }
-
- bool AnimatesRootTransform()
- {
- return targets.OfType<AnimationTrack>().All(t => t.AnimatesRootTransform());
- }
-
- bool ShouldDrawOffsets()
- {
- bool hasMultiple;
- var offsetMode = GetOffsetMode(out hasMultiple);
- if (hasMultiple)
- return false;
-
- if (offsetMode == TrackOffset.ApplySceneOffsets)
- return false;
-
- if (offsetMode == TrackOffset.ApplyTransformOffsets)
- return true;
-
- // Auto mode.
- PlayableDirector director = this.m_Context as PlayableDirector;
- if (director == null)
- return false;
-
- // If any bound animators have controllers don't show
- foreach (var track in targets.OfType<AnimationTrack>())
- {
- var animator = track.GetBinding(director);
- if (animator != null && animator.runtimeAnimatorController != null)
- return false;
- }
-
- return true;
- }
-
- void DrawRootTransformOffset()
- {
- if (!AnimatesRootTransform())
- return;
-
- bool showWarning = SetupOffsetTooltip();
- DrawRootTransformDropDown();
-
- if (ShouldDrawOffsets())
- {
- EditorGUI.indentLevel++;
- DrawRootMotionToolBar();
- DrawRootMotionOffsetFields();
- EditorGUI.indentLevel--;
- }
-
- if (showWarning)
- {
- EditorGUI.indentLevel++;
- EditorGUILayout.HelpBox(Styles.AutoOffsetWarning, MessageType.Warning, true);
- EditorGUI.indentLevel--;
- }
- }
-
- bool SetupOffsetTooltip()
- {
- Styles.OffsetModeTitle.tooltip = string.Empty;
- bool hasMultiple;
- var offsetMode = GetOffsetMode(out hasMultiple);
- bool showWarning = false;
- if (!hasMultiple)
- {
- if (offsetMode == TrackOffset.ApplyTransformOffsets)
- Styles.OffsetModeTitle.tooltip = Styles.TransformOffsetInfo;
- else if (offsetMode == TrackOffset.ApplySceneOffsets)
- Styles.OffsetModeTitle.tooltip = Styles.SceneOffsetInfo;
- else if (offsetMode == TrackOffset.Auto)
- {
- Styles.OffsetModeTitle.tooltip = Styles.AutoOffsetInfo;
- showWarning = true;
- }
- }
-
- return showWarning;
- }
-
- void DrawRootTransformDropDown()
- {
- bool anySubTracks = targets.OfType<AnimationTrack>().Any(t => t.isSubTrack);
- bool allSubTracks = targets.OfType<AnimationTrack>().All(t => t.isSubTrack);
-
- bool mixed;
- var rootOffsetMode = GetOffsetMode(out mixed);
-
- // if we are showing subtracks, we need to show the current mode from the parent
- // BUT keep it disabled
- if (anySubTracks)
- {
- m_TempContent.tooltip = string.Empty;
- if (mixed)
- m_TempContent.text = EditorGUI.mixedValueContent.text;
- else if (!allSubTracks)
- m_TempContent.text = Styles.OffsetContents[(int)rootOffsetMode].text;
- else
- {
- m_TempContent.text = Styles.OffsetInheritContents[(int)rootOffsetMode].text;
- m_TempContent.tooltip = Styles.InheritedToolTip;
- }
-
- using (new EditorGUI.DisabledScope(true))
- EditorGUILayout.LabelField(Styles.OffsetModeTitle, m_TempContent, EditorStyles.popup);
- }
- else
- {
- // We use an enum popup explicitly because it will handle the description attribute on the enum
- using (new GUIMixedValueScope(mixed))
- {
- var rect = EditorGUILayout.GetControlRect(true, EditorGUI.kSingleLineHeight);
- EditorGUI.BeginProperty(rect, Styles.OffsetModeTitle, m_TrackOffsetProperty);
- EditorGUI.BeginChangeCheck();
- var result = (TrackOffset)EditorGUI.EnumPopup(rect, Styles.OffsetModeTitle, (TrackOffset)m_TrackOffsetProperty.intValue);
- if (EditorGUI.EndChangeCheck())
- {
- m_TrackOffsetProperty.enumValueIndex = (int)result;
-
- // this property changes the recordable state of the objects, so auto disable recording
- if (TimelineWindow.instance != null)
- {
- if (TimelineWindow.instance.state != null)
- TimelineWindow.instance.state.recording = false;
- RebuildGraph();
- }
- }
-
- EditorGUI.EndProperty();
- }
- }
- }
-
- void DrawMatchFieldsGUI()
- {
- if (!AnimatesRootTransform())
- return;
-
- m_MatchFieldsProperty.isExpanded = EditorGUILayout.Foldout(m_MatchFieldsProperty.isExpanded, Styles.MatchTargetFieldsTitle, true);
- if (m_MatchFieldsProperty.isExpanded)
- {
- EditorGUI.indentLevel++;
- MatchTargetsFieldGUI(m_MatchFieldsProperty);
- EditorGUI.indentLevel--;
- }
- }
-
- void DrawRootMotionOffsetFields()
- {
- EditorGUI.BeginChangeCheck();
-
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.PropertyField(m_TrackPositionProperty);
- EditorGUILayout.EndHorizontal();
-
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.PropertyField(m_TrackRotationProperty, Styles.RotationTitle);
- EditorGUILayout.EndHorizontal();
- EditorGUILayout.Space();
- EditorGUILayout.Space();
-
- if (EditorGUI.EndChangeCheck())
- {
- UpdateOffsets();
- }
- }
-
- void DrawRootMotionToolBar()
- {
- bool disable = targets.Length > 1;
- bool changed = false;
-
- if (!disable)
- {
- // detects external changes
- changed |= m_lastPosition != m_TrackPositionProperty.vector3Value || m_lastRotation != m_TrackRotationProperty.vector3Value;
- m_lastPosition = m_TrackPositionProperty.vector3Value;
- m_lastRotation = m_TrackRotationProperty.vector3Value;
- SceneView.RepaintAll();
- }
-
- EditorGUI.BeginChangeCheck();
- using (new EditorGUI.DisabledScope(disable))
- ShowMotionOffsetEditModeToolbar(ref m_OffsetEditMode);
- changed |= EditorGUI.EndChangeCheck();
-
- if (changed)
- {
- UpdateOffsets();
- }
- }
-
- void UpdateOffsets()
- {
- foreach (var track in targets.OfType<AnimationTrack>())
- track.UpdateClipOffsets();
- Evaluate();
- }
-
- void DrawAvatarProperties()
- {
- EditorGUILayout.PropertyField(m_ApplyAvatarMaskProperty);
- if (m_ApplyAvatarMaskProperty.hasMultipleDifferentValues || m_ApplyAvatarMaskProperty.boolValue)
- {
- EditorGUI.indentLevel++;
- EditorGUILayout.PropertyField(m_AvatarMaskProperty);
- EditorGUI.indentLevel--;
- }
- EditorGUILayout.Space();
- }
-
- public static void ShowMotionOffsetEditModeToolbar(ref TimelineAnimationUtilities.OffsetEditMode motionOffset)
- {
- GUILayout.BeginHorizontal();
- GUILayout.FlexibleSpace();
- GUILayout.FlexibleSpace();
-
- int newMotionOffsetMode = GUILayout.Toolbar((int)motionOffset, new[] { Styles.PositionIcon, Styles.RotationIcon });
-
- if (GUI.changed)
- {
- if ((int)motionOffset == newMotionOffsetMode) //untoggle the button
- motionOffset = TimelineAnimationUtilities.OffsetEditMode.None;
- else
- motionOffset = (TimelineAnimationUtilities.OffsetEditMode)newMotionOffsetMode;
- }
-
- GUILayout.FlexibleSpace();
- GUILayout.EndHorizontal();
- GUILayout.Space(3);
- }
-
- public override void OnEnable()
- {
- base.OnEnable();
- SceneView.duringSceneGui += OnSceneGUI;
-
- m_MatchFieldsProperty = serializedObject.FindProperty("m_MatchTargetFields");
- m_TrackPositionProperty = serializedObject.FindProperty("m_Position");
- m_TrackRotationProperty = serializedObject.FindProperty("m_EulerAngles");
- m_TrackOffsetProperty = serializedObject.FindProperty("m_TrackOffset");
- m_AvatarMaskProperty = serializedObject.FindProperty("m_AvatarMask");
- m_ApplyAvatarMaskProperty = serializedObject.FindProperty("m_ApplyAvatarMask");
- m_RecordedOffsetPositionProperty = serializedObject.FindProperty("m_InfiniteClipOffsetPosition");
- m_RecordedOffsetEulerProperty = serializedObject.FindProperty("m_InfiniteClipOffsetEulerAngles");
-
- m_lastPosition = m_TrackPositionProperty.vector3Value;
- m_lastRotation = m_TrackRotationProperty.vector3Value;
- }
-
- public void OnDestroy()
- {
- SceneView.duringSceneGui -= OnSceneGUI;
- }
-
- void OnSceneGUI(SceneView sceneView)
- {
- DoOffsetManipulator();
- }
-
- void DoOffsetManipulator()
- {
- if (targets.Length > 1) //do not edit the track offset on a multiple selection
- return;
-
- if (timelineWindow == null || timelineWindow.state == null || timelineWindow.state.editSequence.director == null)
- return;
-
- AnimationTrack animationTrack = target as AnimationTrack;
- if (animationTrack != null && (animationTrack.trackOffset == TrackOffset.ApplyTransformOffsets) && m_OffsetEditMode != TimelineAnimationUtilities.OffsetEditMode.None)
- {
- var boundObject = TimelineUtility.GetSceneGameObject(timelineWindow.state.editSequence.director, animationTrack);
- var boundObjectTransform = boundObject != null ? boundObject.transform : null;
-
- var offsets = TimelineAnimationUtilities.GetTrackOffsets(animationTrack, boundObjectTransform);
- EditorGUI.BeginChangeCheck();
-
- switch (m_OffsetEditMode)
- {
- case TimelineAnimationUtilities.OffsetEditMode.Translation:
- offsets.position = Handles.PositionHandle(offsets.position, (Tools.pivotRotation == PivotRotation.Global)
- ? Quaternion.identity
- : offsets.rotation);
- break;
- case TimelineAnimationUtilities.OffsetEditMode.Rotation:
- offsets.rotation = Handles.RotationHandle(offsets.rotation, offsets.position);
- break;
- }
-
- if (EditorGUI.EndChangeCheck())
- {
- TimelineUndo.PushUndo(animationTrack, "Inspector");
- TimelineAnimationUtilities.UpdateTrackOffset(animationTrack, boundObjectTransform, offsets);
- Evaluate();
- Repaint();
- }
- }
- }
-
- public void DrawRecordedOffsetProperties()
- {
- // only show if this applies to all targets
- foreach (var track in targets)
- {
- var animationTrack = track as AnimationTrack;
- if (animationTrack == null || animationTrack.inClipMode || animationTrack.infiniteClip == null || animationTrack.infiniteClip.empty)
- return;
- }
-
- GUILayout.Label(Styles.RecordingOffsets);
- EditorGUI.indentLevel++;
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.PropertyField(m_RecordedOffsetPositionProperty, Styles.PositionTitle);
- EditorGUILayout.EndHorizontal();
-
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.PropertyField(m_RecordedOffsetEulerProperty, Styles.RotationTitle);
- EditorGUILayout.EndHorizontal();
- EditorGUI.indentLevel--;
- EditorGUILayout.Space();
- }
-
- public static void MatchTargetsFieldGUI(SerializedProperty property)
- {
- const float ToggleWidth = 20;
- int value = 0;
-
- MatchTargetFields enumValue = (MatchTargetFields)property.intValue;
-
- EditorGUI.BeginChangeCheck();
- Rect rect = EditorGUILayout.GetControlRect(false, kLineHeight * 2);
- Rect itemRect = new Rect(rect.x, rect.y, rect.width, kLineHeight);
- EditorGUI.BeginProperty(rect, Styles.MatchTargetFieldsTitle, property);
- float minWidth = 0, maxWidth = 0;
- EditorStyles.label.CalcMinMaxWidth(Styles.XTitle, out minWidth, out maxWidth);
- float width = minWidth + ToggleWidth;
-
- GUILayout.BeginHorizontal();
- Rect r = EditorGUI.PrefixLabel(itemRect, Styles.PositionTitle);
- int oldIndent = EditorGUI.indentLevel;
- EditorGUI.indentLevel = 0;
- r.width = width;
- value |= EditorGUI.ToggleLeft(r, Styles.XTitle, enumValue.HasAny(MatchTargetFields.PositionX)) ? (int)MatchTargetFields.PositionX : 0;
- r.x += width;
- value |= EditorGUI.ToggleLeft(r, Styles.YTitle, enumValue.HasAny(MatchTargetFields.PositionY)) ? (int)MatchTargetFields.PositionY : 0;
- r.x += width;
- value |= EditorGUI.ToggleLeft(r, Styles.ZTitle, enumValue.HasAny(MatchTargetFields.PositionZ)) ? (int)MatchTargetFields.PositionZ : 0;
- EditorGUI.indentLevel = oldIndent;
- GUILayout.EndHorizontal();
-
- GUILayout.BeginHorizontal();
- itemRect.y += kLineHeight;
- r = EditorGUI.PrefixLabel(itemRect, Styles.RotationTitle);
- EditorGUI.indentLevel = 0;
- r.width = width;
- value |= EditorGUI.ToggleLeft(r, Styles.XTitle, enumValue.HasAny(MatchTargetFields.RotationX)) ? (int)MatchTargetFields.RotationX : 0;
- r.x += width;
- value |= EditorGUI.ToggleLeft(r, Styles.YTitle, enumValue.HasAny(MatchTargetFields.RotationY)) ? (int)MatchTargetFields.RotationY : 0;
- r.x += width;
- value |= EditorGUI.ToggleLeft(r, Styles.ZTitle, enumValue.HasAny(MatchTargetFields.RotationZ)) ? (int)MatchTargetFields.RotationZ : 0;
- EditorGUI.indentLevel = oldIndent;
- GUILayout.EndHorizontal();
-
- EditorGUI.EndProperty();
- if (EditorGUI.EndChangeCheck())
- {
- property.intValue = value;
- }
- }
-
- static TrackOffset GetOffsetMode(AnimationTrack track)
- {
- if (track.isSubTrack)
- {
- var parent = track.parent as AnimationTrack;
- if (parent != null) // fallback to the current track if there is an error
- track = parent;
- }
-
- return track.trackOffset;
- }
-
- // gets the current mode,
- TrackOffset GetOffsetMode(out bool hasMultiple)
- {
- var rootOffsetMode = GetOffsetMode(target as AnimationTrack);
- hasMultiple = targets.OfType<AnimationTrack>().Any(t => GetOffsetMode(t) != rootOffsetMode);
- return rootOffsetMode;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationTrackInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationTrackInspector.cs.meta
deleted file mode 100644
index 3f57ed4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/AnimationTrackInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: edc553b1b3c8a25438b62783410b26ae
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BasicAssetInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BasicAssetInspector.cs
deleted file mode 100644
index d746c9f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BasicAssetInspector.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- // Simple inspector used by built in assets
- // that only need to hide the script field
- class BasicAssetInspector : Editor
- {
- public override void OnInspectorGUI()
- {
- EditorGUI.BeginChangeCheck();
- serializedObject.Update();
-
- SerializedProperty property = serializedObject.GetIterator();
- bool expanded = true;
- while (property.NextVisible(expanded))
- {
- expanded = false;
- if (SkipField(property.propertyPath))
- continue;
- EditorGUILayout.PropertyField(property, true);
- }
-
- serializedObject.ApplyModifiedProperties();
- EditorGUI.EndChangeCheck();
- }
-
- public virtual void ApplyChanges()
- {
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
-
- static bool SkipField(string fieldName)
- {
- return fieldName == "m_Script";
- }
- }
-
- [CustomEditor(typeof(ActivationPlayableAsset))]
- class ActivationPlayableAssetInspector : BasicAssetInspector {}
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BasicAssetInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BasicAssetInspector.cs.meta
deleted file mode 100644
index f296b75..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BasicAssetInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e086b15460c228c4f9b116f0e3e2f175
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BuiltInCurvePresets.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BuiltInCurvePresets.cs
deleted file mode 100644
index 2e5c8cf..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BuiltInCurvePresets.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- // Preset libraries
- static class BuiltInPresets
- {
- static CurvePresetLibrary s_BlendInPresets;
- static CurvePresetLibrary s_BlendOutPresets;
-
- internal static CurvePresetLibrary blendInPresets
- {
- get
- {
- if (s_BlendInPresets == null)
- {
- s_BlendInPresets = ScriptableObject.CreateInstance<CurvePresetLibrary>();
- s_BlendInPresets.Add(new AnimationCurve(CurveEditorWindow.GetConstantKeys(1f)), "None");
- s_BlendInPresets.Add(new AnimationCurve(CurveEditorWindow.GetLinearKeys()), "Linear");
- s_BlendInPresets.Add(new AnimationCurve(CurveEditorWindow.GetEaseInKeys()), "EaseIn");
- s_BlendInPresets.Add(new AnimationCurve(CurveEditorWindow.GetEaseOutKeys()), "EaseOut");
- s_BlendInPresets.Add(new AnimationCurve(CurveEditorWindow.GetEaseInOutKeys()), "EaseInOut");
- }
- return s_BlendInPresets;
- }
- }
-
- internal static CurvePresetLibrary blendOutPresets
- {
- get
- {
- if (s_BlendOutPresets == null)
- {
- s_BlendOutPresets = ScriptableObject.CreateInstance<CurvePresetLibrary>();
- s_BlendOutPresets.Add(new AnimationCurve(CurveEditorWindow.GetConstantKeys(1f)), "None");
- s_BlendOutPresets.Add(ReverseCurve(new AnimationCurve(CurveEditorWindow.GetLinearKeys())), "Linear");
- s_BlendOutPresets.Add(ReverseCurve(new AnimationCurve(CurveEditorWindow.GetEaseInKeys())), "EaseIn");
- s_BlendOutPresets.Add(ReverseCurve(new AnimationCurve(CurveEditorWindow.GetEaseOutKeys())), "EaseOut");
- s_BlendOutPresets.Add(ReverseCurve(new AnimationCurve(CurveEditorWindow.GetEaseInOutKeys())), "EaseInOut");
- }
- return s_BlendOutPresets;
- }
- }
-
- static AnimationCurve ReverseCurve(AnimationCurve curve)
- {
- Keyframe[] keys = curve.keys;
- for (int i = 0; i < keys.Length; i++)
- {
- keys[i].value = 1 - keys[i].value;
- keys[i].inTangent *= -1;
- keys[i].outTangent *= -1;
- }
- curve.keys = keys;
- return curve;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BuiltInCurvePresets.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BuiltInCurvePresets.cs.meta
deleted file mode 100644
index d294670..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/BuiltInCurvePresets.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ae05f0dd1cf145e4e8e905c7971ee433
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector.meta
deleted file mode 100644
index 1774e4e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: f68c7f7359094f045930a108c444e7a4
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspector.cs
deleted file mode 100644
index f05cb29..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspector.cs
+++ /dev/null
@@ -1,786 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditorInternal;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityObject = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- [CustomEditor(typeof(EditorClip)), CanEditMultipleObjects]
- class ClipInspector : Editor
- {
- internal static class Styles
- {
- public static readonly GUIContent StartName = EditorGUIUtility.TrTextContent("Start", "The start time of the clip");
- public static readonly GUIContent DurationName = EditorGUIUtility.TrTextContent("Duration", "The length of the clip");
- public static readonly GUIContent EndName = EditorGUIUtility.TrTextContent("End", "The end time of the clip");
- public static readonly GUIContent EaseInDurationName = EditorGUIUtility.TrTextContent("Ease In Duration", "The length of the blend in");
- public static readonly GUIContent EaseOutDurationName = EditorGUIUtility.TrTextContent("Ease Out Duration", "The length of the blend out");
- public static readonly GUIContent ClipInName = EditorGUIUtility.TrTextContent("Clip In", "Start the clip at this local time");
- public static readonly GUIContent TimeScaleName = EditorGUIUtility.TrTextContent("Speed Multiplier", "Time scale of the playback speed");
- public static readonly GUIContent PreExtrapolateLabel = EditorGUIUtility.TrTextContent("Pre-Extrapolate", "Extrapolation used prior to the first clip");
- public static readonly GUIContent PostExtrapolateLabel = EditorGUIUtility.TrTextContent("Post-Extrapolate", "Extrapolation used after a clip ends");
- public static readonly GUIContent BlendInCurveName = EditorGUIUtility.TrTextContent("In", "Blend In Curve");
- public static readonly GUIContent BlendOutCurveName = EditorGUIUtility.TrTextContent("Out", "Blend Out Curve");
- public static readonly GUIContent PreviewTitle = EditorGUIUtility.TrTextContent("Curve Editor");
- public static readonly GUIContent ClipTimingTitle = EditorGUIUtility.TrTextContent("Clip Timing");
- public static readonly GUIContent AnimationExtrapolationTitle = EditorGUIUtility.TrTextContent("Animation Extrapolation");
- public static readonly GUIContent BlendCurvesTitle = EditorGUIUtility.TrTextContent("Blend Curves");
- public static readonly GUIContent GroupTimingTitle = EditorGUIUtility.TrTextContent("Multiple Clip Timing");
- public static readonly GUIContent MultipleClipsSelectedIncompatibleCapabilitiesWarning = EditorGUIUtility.TrTextContent("Multiple clips selected. Only common properties are shown.");
- public static readonly GUIContent MultipleSelectionTitle = EditorGUIUtility.TrTextContent("Timeline Clips");
- public static readonly GUIContent MultipleClipStartName = EditorGUIUtility.TrTextContent("Start", "The start time of the clip group");
- public static readonly GUIContent MultipleClipEndName = EditorGUIUtility.TrTextContent("End", "The end time of the clip group");
- public static readonly GUIContent TimelineClipFG = DirectorStyles.IconContent("TimelineClipFG");
- public static readonly GUIContent TimelineClipBG = DirectorStyles.IconContent("TimelineClipBG");
- }
-
- class EditorClipSelection : ICurvesOwnerInspectorWrapper
- {
- public EditorClip editorClip { get; }
-
- public TimelineClip clip
- {
- get { return editorClip == null ? null : editorClip.clip; }
- }
-
- public SerializedObject serializedPlayableAsset { get; }
-
- public ICurvesOwner curvesOwner
- {
- get { return clip; }
- }
-
- public int lastCurveVersion { get; set; }
- public double lastEvalTime { get; set; }
-
- public EditorClipSelection(EditorClip anEditorClip)
- {
- editorClip = anEditorClip;
- lastCurveVersion = -1;
- lastEvalTime = -1;
-
- var so = new SerializedObject(editorClip);
- var playableAssetProperty = so.FindProperty("m_Clip.m_Asset");
- if (playableAssetProperty != null)
- {
- var asset = playableAssetProperty.objectReferenceValue as UnityEngine.Playables.PlayableAsset;
- if (asset != null)
- serializedPlayableAsset = new SerializedObject(asset);
- }
- }
-
- public double ToLocalTime(double time)
- {
- return clip == null ? time : clip.ToLocalTime(time);
- }
- }
-
- SerializedProperty m_DisplayNameProperty;
- SerializedProperty m_BlendInDurationProperty;
- SerializedProperty m_BlendOutDurationProperty;
- SerializedProperty m_EaseInDurationProperty;
- SerializedProperty m_EaseOutDurationProperty;
- SerializedProperty m_ClipInProperty;
- SerializedProperty m_TimeScaleProperty;
- SerializedProperty m_PostExtrapolationModeProperty;
- SerializedProperty m_PreExtrapolationModeProperty;
- SerializedProperty m_PostExtrapolationTimeProperty;
- SerializedProperty m_PreExtrapolationTimeProperty;
- SerializedProperty m_MixInCurveProperty;
- SerializedProperty m_MixOutCurveProperty;
- SerializedProperty m_BlendInCurveModeProperty;
- SerializedProperty m_BlendOutCurveModeProperty;
-
- void InitializeProperties()
- {
- m_DisplayNameProperty = serializedObject.FindProperty("m_Clip.m_DisplayName");
- m_BlendInDurationProperty = serializedObject.FindProperty("m_Clip.m_BlendInDuration");
- m_BlendOutDurationProperty = serializedObject.FindProperty("m_Clip.m_BlendOutDuration");
- m_EaseInDurationProperty = serializedObject.FindProperty("m_Clip.m_EaseInDuration");
- m_EaseOutDurationProperty = serializedObject.FindProperty("m_Clip.m_EaseOutDuration");
- m_ClipInProperty = serializedObject.FindProperty("m_Clip.m_ClipIn");
- m_TimeScaleProperty = serializedObject.FindProperty("m_Clip.m_TimeScale");
- m_PostExtrapolationModeProperty = serializedObject.FindProperty("m_Clip.m_PostExtrapolationMode");
- m_PreExtrapolationModeProperty = serializedObject.FindProperty("m_Clip.m_PreExtrapolationMode");
- m_PostExtrapolationTimeProperty = serializedObject.FindProperty("m_Clip.m_PostExtrapolationTime");
- m_PreExtrapolationTimeProperty = serializedObject.FindProperty("m_Clip.m_PreExtrapolationTime");
- m_MixInCurveProperty = serializedObject.FindProperty("m_Clip.m_MixInCurve");
- m_MixOutCurveProperty = serializedObject.FindProperty("m_Clip.m_MixOutCurve");
- m_BlendInCurveModeProperty = serializedObject.FindProperty("m_Clip.m_BlendInCurveMode");
- m_BlendOutCurveModeProperty = serializedObject.FindProperty("m_Clip.m_BlendOutCurveMode");
- }
-
- TimelineAsset m_TimelineAsset;
-
- List<EditorClipSelection> m_SelectionCache;
- Editor m_SelectedPlayableAssetsInspector;
-
- ClipInspectorCurveEditor m_ClipCurveEditor;
- AnimationCurve[] m_PreviewCurves; // the curves we are currently previewing.
- CurvePresetLibrary m_CurvePresets;
-
- bool m_IsClipAssetInspectorExpanded = true;
- GUIContent m_ClipAssetTitle = new GUIContent();
- string m_MultiselectionHeaderTitle;
-
- ClipInspectorSelectionInfo m_SelectionInfo;
-
- const double k_TimeScaleSensitivity = 0.003;
-
- bool hasMultipleSelection
- {
- get { return targets.Length > 1; }
- }
-
- float currentFrameRate
- {
- get { return m_TimelineAsset != null ? m_TimelineAsset.editorSettings.fps : TimelineAsset.EditorSettings.kDefaultFps; }
- }
-
- bool selectionHasIncompatibleCapabilities
- {
- get
- {
- return !(m_SelectionInfo.supportsBlending
- && m_SelectionInfo.supportsClipIn
- && m_SelectionInfo.supportsExtrapolation
- && m_SelectionInfo.supportsSpeedMultiplier);
- }
- }
-
- public override bool RequiresConstantRepaint()
- {
- return base.RequiresConstantRepaint() || (m_SelectedPlayableAssetsInspector != null && m_SelectedPlayableAssetsInspector.RequiresConstantRepaint());
- }
-
- internal override void OnHeaderTitleGUI(Rect titleRect, string header)
- {
- if (hasMultipleSelection)
- {
- base.OnHeaderTitleGUI(titleRect, m_MultiselectionHeaderTitle);
- return;
- }
-
- if (m_DisplayNameProperty != null)
- {
- using (new EditorGUI.DisabledScope(!IsEnabled()))
- {
- serializedObject.Update();
- if (IsLocked())
- {
- base.OnHeaderTitleGUI(titleRect, m_DisplayNameProperty.stringValue);
- }
- else
- {
- EditorGUI.BeginChangeCheck();
- EditorGUI.DelayedTextField(titleRect, m_DisplayNameProperty, GUIContent.none);
- if (EditorGUI.EndChangeCheck())
- {
- ApplyModifiedProperties();
- TimelineWindow.RepaintIfEditingTimelineAsset(m_TimelineAsset);
- }
- }
- }
- }
- }
-
- internal override Rect DrawHeaderHelpAndSettingsGUI(Rect r)
- {
- using (new EditorGUI.DisabledScope(IsLocked()))
- {
- var helpSize = EditorStyles.iconButton.CalcSize(EditorGUI.GUIContents.helpIcon);
- const int kTopMargin = 5;
- // Show Editor Header Items.
- return EditorGUIUtility.DrawEditorHeaderItems(new Rect(r.xMax - helpSize.x, r.y + kTopMargin, helpSize.x, helpSize.y), targets);
- }
- }
-
- internal override void OnHeaderIconGUI(Rect iconRect)
- {
- using (new EditorGUI.DisabledScope(IsLocked()))
- {
- var bgColor = Color.white;
- if (!EditorGUIUtility.isProSkin)
- bgColor.a = 0.55f;
- using (new GUIColorOverride(bgColor))
- {
- GUI.Label(iconRect, Styles.TimelineClipBG);
- }
-
- var fgColor = Color.white;
- if (m_SelectionInfo != null && m_SelectionInfo.uniqueParentTracks.Count == 1)
- fgColor = TrackResourceCache.GetTrackColor(m_SelectionInfo.uniqueParentTracks.First());
-
- using (new GUIColorOverride(fgColor))
- {
- GUI.Label(iconRect, Styles.TimelineClipFG);
- }
- }
- }
-
- public void OnEnable()
- {
- m_ClipCurveEditor = new ClipInspectorCurveEditor();
-
- m_SelectionCache = new List<EditorClipSelection>();
- var selectedClips = new List<TimelineClip>();
- foreach (var editorClipObject in targets)
- {
- var editorClip = editorClipObject as EditorClip;
- if (editorClip != null)
- {
- //all selected clips should have the same TimelineAsset
- if (!IsTimelineAssetValidForEditorClip(editorClip))
- {
- m_SelectionCache.Clear();
- return;
- }
- m_SelectionCache.Add(new EditorClipSelection(editorClip));
- selectedClips.Add(editorClip.clip);
- }
- }
-
- InitializeProperties();
- m_SelectionInfo = new ClipInspectorSelectionInfo(selectedClips);
-
- if (m_SelectionInfo.selectedAssetTypesAreHomogeneous)
- {
- var selectedAssets = m_SelectionCache.Select(e => e.clip.asset).ToArray();
- m_SelectedPlayableAssetsInspector = TimelineInspectorUtility.GetInspectorForObjects(selectedAssets);
- }
-
- m_MultiselectionHeaderTitle = m_SelectionCache.Count + " " + Styles.MultipleSelectionTitle.text;
- m_ClipAssetTitle.text = PlayableAssetSectionTitle();
- }
-
- void DrawClipProperties()
- {
- var dirtyEditorClipSelection = m_SelectionCache.Where(s => s.editorClip.GetHashCode() != s.editorClip.lastHash);
- UnselectCurves();
-
- EditorGUI.BeginChangeCheck();
-
- //Group Selection
- if (hasMultipleSelection)
- {
- GUILayout.Label(Styles.GroupTimingTitle);
- EditorGUI.indentLevel++;
- DrawGroupSelectionProperties();
- EditorGUI.indentLevel--;
- EditorGUILayout.Space();
- }
-
- //Draw clip timing
- GUILayout.Label(Styles.ClipTimingTitle);
-
- if (hasMultipleSelection && selectionHasIncompatibleCapabilities)
- {
- GUILayout.Label(Styles.MultipleClipsSelectedIncompatibleCapabilitiesWarning, EditorStyles.helpBox);
- }
-
- EditorGUI.indentLevel++;
-
- if (!m_SelectionInfo.containsAtLeastTwoClipsOnTheSameTrack)
- {
- DrawStartTimeField();
- DrawEndTimeField();
- }
-
- if (!hasMultipleSelection)
- {
- DrawDurationProperty();
- }
-
- if (m_SelectionInfo.supportsBlending)
- {
- EditorGUILayout.Space();
- DrawBlendingProperties();
- }
-
- if (m_SelectionInfo.supportsClipIn)
- {
- EditorGUILayout.Space();
- DrawClipInProperty();
- }
-
- if (!hasMultipleSelection && m_SelectionInfo.supportsSpeedMultiplier)
- {
- EditorGUILayout.Space();
- DrawTimeScale();
- }
-
- EditorGUI.indentLevel--;
-
- bool hasDirtyEditorClips = false;
- foreach (var editorClipSelection in dirtyEditorClipSelection)
- {
- EditorUtility.SetDirty(editorClipSelection.editorClip);
- hasDirtyEditorClips = true;
- }
-
- //Re-evaluate the graph in case of a change in properties
- bool propertiesHaveChanged = false;
- if (EditorGUI.EndChangeCheck() || hasDirtyEditorClips)
- {
- if (TimelineWindow.IsEditingTimelineAsset(m_TimelineAsset) && TimelineWindow.instance.state != null)
- {
- TimelineWindow.instance.state.Evaluate();
- TimelineWindow.instance.Repaint();
- }
- propertiesHaveChanged = true;
- }
-
- //Draw Animation Extrapolation
- if (m_SelectionInfo.supportsExtrapolation)
- {
- EditorGUILayout.Space();
- GUILayout.Label(Styles.AnimationExtrapolationTitle);
- EditorGUI.indentLevel++;
- DrawExtrapolationOptions();
- EditorGUI.indentLevel--;
- }
-
- //Blend curves
- if (m_SelectionInfo.supportsBlending)
- {
- EditorGUILayout.Space();
- GUILayout.Label(Styles.BlendCurvesTitle);
- EditorGUI.indentLevel++;
- DrawBlendOptions();
- EditorGUI.indentLevel--;
- }
-
- EditorGUILayout.Space();
-
- if (CanShowPlayableAssetInspector())
- {
- DrawClipAssetGui();
- }
-
- if (propertiesHaveChanged)
- {
- foreach (var item in m_SelectionCache)
- item.editorClip.lastHash = item.editorClip.GetHashCode();
- m_SelectionInfo.Update();
- }
- }
-
- public override void OnInspectorGUI()
- {
- if (TimelineWindow.instance == null || m_TimelineAsset == null)
- return;
-
- using (new EditorGUI.DisabledScope(IsLocked()))
- {
- EditMode.HandleModeClutch();
-
- serializedObject.Update();
- DrawClipProperties();
- ApplyModifiedProperties();
- }
- }
-
- internal override bool IsEnabled()
- {
- if (!TimelineUtility.IsCurrentSequenceValid() || IsCurrentSequenceReadOnly())
- return false;
-
- if (m_TimelineAsset != TimelineWindow.instance.state.editSequence.asset)
- return false;
- return base.IsEnabled();
- }
-
- void DrawTimeScale()
- {
- var inputEvent = InputEvent.None;
- var newEndTime = m_SelectionInfo.end;
- var oldTimeScale = m_TimeScaleProperty.doubleValue;
-
- EditorGUI.BeginChangeCheck();
- var newTimeScale = TimelineInspectorUtility.DelayedAndDraggableDoubleField(Styles.TimeScaleName, oldTimeScale, ref inputEvent, k_TimeScaleSensitivity);
-
- if (EditorGUI.EndChangeCheck())
- {
- newTimeScale = newTimeScale.Clamp(TimelineClip.kTimeScaleMin, TimelineClip.kTimeScaleMax);
- newEndTime = m_SelectionInfo.start + (m_SelectionInfo.duration * oldTimeScale / newTimeScale);
- }
- EditMode.inputHandler.ProcessTrim(inputEvent, newEndTime, true);
- }
-
- void DrawStartTimeField()
- {
- var inputEvent = InputEvent.None;
- var newStart = TimelineInspectorUtility.TimeFieldUsingTimeReference(Styles.StartName, m_SelectionInfo.multipleClipStart, false, m_SelectionInfo.hasMultipleStartValues, currentFrameRate, 0.0, TimelineClip.kMaxTimeValue, ref inputEvent);
-
- if (inputEvent.InputHasBegun() && m_SelectionInfo.hasMultipleStartValues)
- {
- var items = ItemsUtils.ToItems(m_SelectionInfo.clips);
- EditMode.inputHandler.SetValueForEdge(items, AttractedEdge.Left, newStart); //if the field has multiple values, set the same start on all selected clips
- m_SelectionInfo.Update(); //clips could have moved relative to each other, recalculate
- }
-
- EditMode.inputHandler.ProcessMove(inputEvent, newStart);
- }
-
- void DrawEndTimeField()
- {
- var inputEvent = InputEvent.None;
- var newEndTime = TimelineInspectorUtility.TimeFieldUsingTimeReference(Styles.EndName, m_SelectionInfo.multipleClipEnd, false, m_SelectionInfo.hasMultipleEndValues, currentFrameRate, 0, TimelineClip.kMaxTimeValue, ref inputEvent);
-
- if (inputEvent.InputHasBegun() && m_SelectionInfo.hasMultipleEndValues)
- {
- var items = ItemsUtils.ToItems(m_SelectionInfo.clips);
- EditMode.inputHandler.SetValueForEdge(items, AttractedEdge.Right, newEndTime); //if the field has multiple value, set the same end on all selected clips
- m_SelectionInfo.Update(); //clips could have moved relative to each other, recalculate
- }
-
- var newStartValue = m_SelectionInfo.multipleClipStart + (newEndTime - m_SelectionInfo.multipleClipEnd);
- EditMode.inputHandler.ProcessMove(inputEvent, newStartValue);
- }
-
- void DrawClipAssetGui()
- {
- const float labelIndent = 34;
- if (m_SelectedPlayableAssetsInspector == null)
- return;
-
- var rect = GUILayoutUtility.GetRect(GUIContent.none, EditorStyles.inspectorTitlebar);
- var oldWidth = EditorGUIUtility.labelWidth;
- EditorGUIUtility.labelWidth = rect.width - labelIndent;
- m_IsClipAssetInspectorExpanded = EditorGUI.FoldoutTitlebar(rect, m_ClipAssetTitle, m_IsClipAssetInspectorExpanded, false);
- EditorGUIUtility.labelWidth = oldWidth;
- if (m_IsClipAssetInspectorExpanded)
- {
- EditorGUILayout.Space();
- EditorGUI.indentLevel++;
- ShowPlayableAssetInspector();
- EditorGUI.indentLevel--;
- }
- }
-
- void DrawExtrapolationOptions()
- {
- EditorGUI.BeginChangeCheck();
-
- // PreExtrapolation
- var preExtrapolationTime = m_PreExtrapolationTimeProperty.doubleValue;
- bool hasPreExtrap = preExtrapolationTime > 0.0;
- if (hasPreExtrap)
- {
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.PropertyField(m_PreExtrapolationModeProperty, Styles.PreExtrapolateLabel);
- using (new GUIMixedValueScope(m_PreExtrapolationTimeProperty.hasMultipleDifferentValues))
- EditorGUILayout.DoubleField(preExtrapolationTime, EditorStyles.label);
- EditorGUILayout.EndHorizontal();
- }
-
- // PostExtrapolation
- {
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.PropertyField(m_PostExtrapolationModeProperty, Styles.PostExtrapolateLabel);
- using (new GUIMixedValueScope(m_PostExtrapolationTimeProperty.hasMultipleDifferentValues))
- EditorGUILayout.DoubleField(m_PostExtrapolationTimeProperty.doubleValue, EditorStyles.label);
- EditorGUILayout.EndHorizontal();
- }
-
- if (EditorGUI.EndChangeCheck())
- {
- // if these options change the interval tree may need to be rebuilt.
- if (TimelineWindow.IsEditingTimelineAsset(m_TimelineAsset) && TimelineWindow.instance.state != null)
- {
- TimelineWindow.instance.state.Refresh();
- }
- }
- }
-
- void OnDestroy()
- {
- DestroyImmediate(m_SelectedPlayableAssetsInspector);
- }
-
- public override GUIContent GetPreviewTitle()
- {
- return Styles.PreviewTitle;
- }
-
- public override bool HasPreviewGUI()
- {
- return m_PreviewCurves != null;
- }
-
- public override void OnInteractivePreviewGUI(Rect r, GUIStyle background)
- {
- if (m_PreviewCurves != null && m_ClipCurveEditor != null)
- {
- SetCurveEditorTrackHead();
- m_ClipCurveEditor.OnGUI(r, m_CurvePresets);
- }
- }
-
- void SetCurveEditorTrackHead()
- {
- if (TimelineWindow.instance == null || TimelineWindow.instance.state == null)
- return;
-
- if (hasMultipleSelection)
- return;
-
- var editorClip = target as EditorClip;
- if (editorClip == null)
- return;
-
- var director = TimelineWindow.instance.state.editSequence.director;
-
- if (director == null)
- return;
-
- m_ClipCurveEditor.trackTime = ClipInspectorCurveEditor.kDisableTrackTime;
- }
-
- void UnselectCurves()
- {
- if (Event.current.type == EventType.MouseDown)
- {
- m_PreviewCurves = null;
- if (m_ClipCurveEditor != null)
- m_ClipCurveEditor.SetUpdateCurveCallback(null);
- }
- }
-
- // Callback when the mixin/mixout properties are clicked on
- void OnMixCurveSelected(string title, CurvePresetLibrary library, SerializedProperty curveSelected, bool easeIn)
- {
- m_CurvePresets = library;
- m_PreviewCurves = new[] { curveSelected.animationCurveValue };
- m_ClipCurveEditor.headerString = title;
- m_ClipCurveEditor.SetCurves(m_PreviewCurves, null);
- m_ClipCurveEditor.SetSelected(curveSelected.animationCurveValue);
- if (easeIn)
- m_ClipCurveEditor.SetUpdateCurveCallback(MixInCurveUpdated);
- else
- m_ClipCurveEditor.SetUpdateCurveCallback(MixOutCurveUpdated);
- Repaint();
- }
-
- // callback when the mix property is updated
- void MixInCurveUpdated(AnimationCurve curve, EditorCurveBinding binding)
- {
- curve.keys = CurveEditUtility.SanitizeCurveKeys(curve.keys, true);
- m_MixInCurveProperty.animationCurveValue = curve;
- serializedObject.ApplyModifiedProperties();
- var editorClip = target as EditorClip;
- if (editorClip != null)
- editorClip.lastHash = editorClip.GetHashCode();
- RefreshCurves();
- }
-
- void MixOutCurveUpdated(AnimationCurve curve, EditorCurveBinding binding)
- {
- curve.keys = CurveEditUtility.SanitizeCurveKeys(curve.keys, false);
- m_MixOutCurveProperty.animationCurveValue = curve;
- serializedObject.ApplyModifiedProperties();
- var editorClip = target as EditorClip;
- if (editorClip != null)
- editorClip.lastHash = editorClip.GetHashCode();
- RefreshCurves();
- }
-
- void RefreshCurves()
- {
- AnimationCurvePreviewCache.ClearCache();
- TimelineWindow.RepaintIfEditingTimelineAsset(m_TimelineAsset);
- Repaint();
- }
-
- void DrawBlendCurve(GUIContent title, SerializedProperty modeProperty, SerializedProperty curveProperty, Action<SerializedProperty> onCurveClick)
- {
- EditorGUILayout.BeginHorizontal();
- EditorGUILayout.PropertyField(modeProperty, title);
- if (hasMultipleSelection)
- {
- GUILayout.FlexibleSpace();
- }
- else
- {
- using (new EditorGUI.DisabledScope(modeProperty.intValue != (int)TimelineClip.BlendCurveMode.Manual))
- {
- ClipInspectorCurveEditor.CurveField(GUIContent.none, curveProperty, onCurveClick);
- }
- }
-
- EditorGUILayout.EndHorizontal();
- }
-
- void ShowPlayableAssetInspector()
- {
- if (!m_SelectionInfo.selectedAssetTypesAreHomogeneous)
- return;
-
- if (m_SelectedPlayableAssetsInspector != null)
- {
- foreach (var selectedItem in m_SelectionCache)
- CurvesOwnerInspectorHelper.PreparePlayableAsset(selectedItem);
-
- EditorGUI.BeginChangeCheck();
- using (new EditorGUI.DisabledScope(IsLocked()))
- {
- m_SelectedPlayableAssetsInspector.OnInspectorGUI();
- }
- if (EditorGUI.EndChangeCheck())
- {
- MarkClipsDirty();
- if (TimelineWindow.IsEditingTimelineAsset(m_TimelineAsset) && TimelineWindow.instance.state != null)
- {
- var basicInspector = m_SelectedPlayableAssetsInspector as BasicAssetInspector;
- if (basicInspector != null)
- basicInspector.ApplyChanges();
- else
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
- }
- }
- }
-
- void ApplyModifiedProperties()
- {
- // case 926861 - we need to force the track to be dirty since modifying the clip does not
- // automatically mark the track asset as dirty
- if (serializedObject.ApplyModifiedProperties())
- {
- foreach (var obj in serializedObject.targetObjects)
- {
- var editorClip = obj as EditorClip;
- if (editorClip != null && editorClip.clip != null && editorClip.clip.parentTrack != null)
- {
- editorClip.clip.MarkDirty();
- EditorUtility.SetDirty(editorClip.clip.parentTrack);
- }
- }
- }
- }
-
- void MarkClipsDirty()
- {
- foreach (var obj in targets)
- {
- var editorClip = obj as EditorClip;
- if (editorClip != null && editorClip.clip != null)
- {
- editorClip.clip.MarkDirty();
- }
- }
- }
-
- string PlayableAssetSectionTitle()
- {
- var firstSelectedClipAsset = m_SelectionCache.Any() ? m_SelectionCache.First().clip.asset : null;
- return firstSelectedClipAsset != null
- ? ObjectNames.NicifyVariableName(firstSelectedClipAsset.GetType().Name)
- : string.Empty;
- }
-
- bool IsTimelineAssetValidForEditorClip(EditorClip editorClip)
- {
- var trackAsset = editorClip.clip.parentTrack;
- if (trackAsset == null)
- return false;
-
- var clipTimelineAsset = trackAsset.timelineAsset;
- if (m_TimelineAsset == null)
- m_TimelineAsset = clipTimelineAsset;
- else if (clipTimelineAsset != m_TimelineAsset)
- {
- m_TimelineAsset = null;
- return false;
- }
- return true;
- }
-
- bool CanShowPlayableAssetInspector()
- {
- if (hasMultipleSelection)
- return m_SelectedPlayableAssetsInspector != null &&
- m_SelectedPlayableAssetsInspector.canEditMultipleObjects &&
- m_SelectionInfo.selectedAssetTypesAreHomogeneous;
- else
- return true;
- }
-
- void DrawDurationProperty()
- {
- var minDuration = 1.0 / 30.0;
- if (currentFrameRate > float.Epsilon)
- {
- minDuration = 1.0 / currentFrameRate;
- }
-
- var inputEvent = InputEvent.None;
- var newDuration = TimelineInspectorUtility.DurationFieldUsingTimeReference(
- Styles.DurationName, m_SelectionInfo.start, m_SelectionInfo.end, false, m_SelectionInfo.hasMultipleDurationValues, currentFrameRate, minDuration, TimelineClip.kMaxTimeValue, ref inputEvent);
- EditMode.inputHandler.ProcessTrim(inputEvent, m_SelectionInfo.start + newDuration, false);
- }
-
- void DrawBlendingProperties()
- {
- var useBlendIn = m_SelectionInfo.hasBlendIn;
- var maxBlendDuration = m_SelectionInfo.smallestDuration * 0.49;
- var blendMax = useBlendIn ? TimelineClip.kMaxTimeValue : maxBlendDuration;
- var inputEvent = InputEvent.None;
-
- TimelineInspectorUtility.TimeField(useBlendIn
- ? m_BlendInDurationProperty
- : m_EaseInDurationProperty, Styles.EaseInDurationName, useBlendIn, currentFrameRate, 0, blendMax, ref inputEvent);
-
- var useBlendOut = m_SelectionInfo.hasBlendOut;
- blendMax = useBlendOut ? TimelineClip.kMaxTimeValue : maxBlendDuration;
- TimelineInspectorUtility.TimeField(useBlendOut
- ? m_BlendOutDurationProperty
- : m_EaseOutDurationProperty, Styles.EaseOutDurationName, useBlendOut, currentFrameRate, 0, blendMax, ref inputEvent);
- }
-
- void DrawClipInProperty()
- {
- var action = InputEvent.None;
- TimelineInspectorUtility.TimeField(m_ClipInProperty, Styles.ClipInName, false, currentFrameRate, 0, TimelineClip.kMaxTimeValue, ref action);
- }
-
- void DrawBlendOptions()
- {
- EditorGUI.BeginChangeCheck();
-
- DrawBlendCurve(Styles.BlendInCurveName, m_BlendInCurveModeProperty, m_MixInCurveProperty, x => OnMixCurveSelected("Blend In", BuiltInPresets.blendInPresets, x, true));
- DrawBlendCurve(Styles.BlendOutCurveName, m_BlendOutCurveModeProperty, m_MixOutCurveProperty, x => OnMixCurveSelected("Blend Out", BuiltInPresets.blendOutPresets, x, false));
-
- if (EditorGUI.EndChangeCheck())
- TimelineWindow.RepaintIfEditingTimelineAsset(m_TimelineAsset);
- }
-
- void DrawGroupSelectionProperties()
- {
- var inputEvent = InputEvent.None;
- var newStartTime = TimelineInspectorUtility.TimeField(Styles.MultipleClipStartName, m_SelectionInfo.multipleClipStart, false, false, currentFrameRate, 0, TimelineClip.kMaxTimeValue, ref inputEvent);
- EditMode.inputHandler.ProcessMove(inputEvent, newStartTime);
-
- inputEvent = InputEvent.None;
- var newEndTime = TimelineInspectorUtility.TimeField(Styles.MultipleClipEndName, m_SelectionInfo.multipleClipEnd, false, false, currentFrameRate, 0, TimelineClip.kMaxTimeValue, ref inputEvent);
- var newStartValue = newStartTime + (newEndTime - m_SelectionInfo.multipleClipEnd);
- EditMode.inputHandler.ProcessMove(inputEvent, newStartValue);
- }
-
- bool IsLocked()
- {
- if (!TimelineUtility.IsCurrentSequenceValid() || IsCurrentSequenceReadOnly())
- return true;
-
- return targets.OfType<EditorClip>().Any(t => t.clip.parentTrack != null && t.clip.parentTrack.lockedInHierarchy);
- }
-
- static bool IsCurrentSequenceReadOnly()
- {
- return TimelineWindow.instance.state.editSequence.isReadOnly;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspector.cs.meta
deleted file mode 100644
index 165a3ea..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: dff73c4907c95264c8fc095a81f9d51e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorCurveEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorCurveEditor.cs
deleted file mode 100644
index e4c5ca5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorCurveEditor.cs
+++ /dev/null
@@ -1,348 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditorInternal;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class ClipInspectorCurveEditor
- {
- CurveEditor m_CurveEditor;
-
- AnimationCurve[] m_Curves;
- CurveWrapper[] m_CurveWrappers;
-
- const float k_HeaderHeight = 30;
- const float k_PresetHeight = 30;
-
- Action<AnimationCurve, EditorCurveBinding> m_CurveUpdatedCallback;
- GUIContent m_TextContent = new GUIContent();
-
- GUIStyle m_LabelStyle;
- GUIStyle m_LegendStyle;
-
- // Track time. controls the position of the track head
- public static readonly double kDisableTrackTime = double.NaN;
- double m_trackTime = kDisableTrackTime;
- public double trackTime { get { return m_trackTime; } set { m_trackTime = value; } }
-
- public string headerString { get; set; }
-
- public ClipInspectorCurveEditor()
- {
- var curveEditorSettings = new CurveEditorSettings
- {
- allowDeleteLastKeyInCurve = false,
- allowDraggingCurvesAndRegions = true,
- hTickLabelOffset = 0.1f,
- showAxisLabels = true,
- useFocusColors = false,
- wrapColor = new EditorGUIUtility.SkinnedColor(Color.black),
- hSlider = false,
- hRangeMin = 0.0f,
- vRangeMin = 0.0F,
- vRangeMax = 1.0f,
- hRangeMax = 1.0F,
- vSlider = false,
- hRangeLocked = false,
- vRangeLocked = false,
-
- hTickStyle = new TickStyle
- {
- tickColor = new EditorGUIUtility.SkinnedColor(new Color(0.0f, 0.0f, 0.0f, 0.2f)),
- distLabel = 30,
- stubs = false,
- centerLabel = true
- },
-
- vTickStyle = new TickStyle
- {
- tickColor = new EditorGUIUtility.SkinnedColor(new Color(1.0f, 0.0f, 0.0f, 0.2f)),
- distLabel = 20,
- stubs = false,
- centerLabel = true
- }
- };
-
- m_CurveEditor = new CurveEditor(new Rect(0, 0, 1000, 100), new CurveWrapper[0], true)
- {
- settings = curveEditorSettings,
- ignoreScrollWheelUntilClicked = true
- };
- }
-
- internal bool InitStyles()
- {
- if (EditorStyles.s_Current == null)
- return false;
-
- if (m_LabelStyle == null)
- {
- m_LabelStyle = new GUIStyle(EditorStyles.whiteLargeLabel);
- m_LegendStyle = new GUIStyle(EditorStyles.miniBoldLabel);
-
- m_LabelStyle.alignment = TextAnchor.MiddleCenter;
- m_LegendStyle.alignment = TextAnchor.MiddleCenter;
- }
- return true;
- }
-
- internal void OnGUI(Rect clientRect, CurvePresetLibrary presets)
- {
- const float presetPad = 30.0f;
-
- if (!InitStyles())
- return;
-
- if (m_Curves == null || m_Curves.Length == 0)
- return;
-
- // regions
- var headerRect = new Rect(clientRect.x, clientRect.y, clientRect.width, k_HeaderHeight);
- var curveRect = new Rect(clientRect.x, clientRect.y + headerRect.height, clientRect.width, clientRect.height - k_HeaderHeight - k_PresetHeight);
- var presetRect = new Rect(clientRect.x + presetPad, clientRect.y + curveRect.height + k_HeaderHeight, clientRect.width - presetPad, k_PresetHeight);
-
- GUI.Box(headerRect, headerString, m_LabelStyle);
-
- //Case 1201474 : Force to update only when Repaint event is called as the new rect provided on other event create a wrong curve editor computation.
- if (Event.current.type == EventType.Repaint)
- {
- m_CurveEditor.rect = curveRect;
- m_CurveEditor.shownAreaInsideMargins = new Rect(0, 0, 1, 1);
- }
- m_CurveEditor.animationCurves = m_CurveWrappers;
- UpdateSelectionColors();
-
- DrawTrackHead(curveRect);
-
- EditorGUI.BeginChangeCheck();
-
- m_CurveEditor.OnGUI();
- DrawPresets(presetRect, presets);
-
- bool hasChanged = EditorGUI.EndChangeCheck();
-
- if (presets == null)
- DrawLegend(presetRect);
-
- if (hasChanged)
- ProcessUpdates();
- }
-
- void DrawPresets(Rect position, PresetLibrary curveLibrary)
- {
- if (curveLibrary == null || curveLibrary.Count() == 0)
- return;
-
- const int maxNumPresets = 9;
- int numPresets = curveLibrary.Count();
- int showNumPresets = Mathf.Min(numPresets, maxNumPresets);
-
- const float swatchWidth = 30;
- const float swatchHeight = 15;
- const float spaceBetweenSwatches = 10;
- float presetButtonsWidth = showNumPresets * swatchWidth + (showNumPresets - 1) * spaceBetweenSwatches;
- float flexWidth = (position.width - presetButtonsWidth) * 0.5f;
-
- // Preset swatch area
- float curY = (position.height - swatchHeight) * 0.5f;
- float curX = 3.0f;
- if (flexWidth > 0)
- curX = flexWidth;
-
- GUI.BeginGroup(position);
-
- for (int i = 0; i < showNumPresets; i++)
- {
- if (i > 0)
- curX += spaceBetweenSwatches;
-
- var swatchRect = new Rect(curX, curY, swatchWidth, swatchHeight);
- m_TextContent.tooltip = curveLibrary.GetName(i);
- if (GUI.Button(swatchRect, m_TextContent, GUIStyle.none))
- {
- // if there is only 1, no need to specify
- IEnumerable<CurveWrapper> wrappers = m_CurveWrappers;
- if (m_CurveWrappers.Length > 1)
- wrappers = m_CurveWrappers.Where(x => x.selected == CurveWrapper.SelectionMode.Selected);
-
- foreach (var wrapper in wrappers)
- {
- var presetCurve = (AnimationCurve)curveLibrary.GetPreset(i);
- wrapper.curve.keys = (Keyframe[])presetCurve.keys.Clone();
- wrapper.changed = true;
- }
- }
-
- if (Event.current.type == EventType.Repaint)
- curveLibrary.Draw(swatchRect, i);
-
- curX += swatchWidth;
- }
-
- GUI.EndGroup();
- }
-
- // draw a line representing where in the current clip we are
- void DrawTrackHead(Rect clientRect)
- {
- DirectorStyles styles = TimelineWindow.styles;
- if (styles == null)
- return;
-
- if (!double.IsNaN(m_trackTime))
- {
- float x = m_CurveEditor.TimeToPixel((float)m_trackTime, clientRect);
- x = Mathf.Clamp(x, clientRect.xMin, clientRect.xMax);
- var p1 = new Vector2(x, clientRect.yMin);
- var p2 = new Vector2(x, clientRect.yMax);
- Graphics.DrawLine(p1, p2, DirectorStyles.Instance.customSkin.colorPlayhead);
- }
- }
-
- // Draws a legend for the displayed curves
- void DrawLegend(Rect r)
- {
- if (m_CurveWrappers == null || m_CurveWrappers.Length == 0)
- return;
-
- Color c = GUI.color;
- float boxWidth = r.width / m_CurveWrappers.Length;
- for (int i = 0; i < m_CurveWrappers.Length; i++)
- {
- CurveWrapper cw = m_CurveWrappers[i];
- if (cw != null)
- {
- var pos = new Rect(r.x + i * boxWidth, r.y, boxWidth, r.height);
- var textColor = cw.color;
- textColor.a = 1;
- GUI.color = textColor;
- string name = LabelName(cw.binding.propertyName);
- EditorGUI.LabelField(pos, name, m_LegendStyle);
- }
- }
- GUI.color = c;
- }
-
- // Helper for making label name appropriately small
- static char[] s_LabelMarkers = { '_' };
-
- static string LabelName(string propertyName)
- {
- propertyName = AnimationWindowUtility.GetPropertyDisplayName(propertyName);
- int index = propertyName.LastIndexOfAny(s_LabelMarkers);
- if (index >= 0)
- propertyName = propertyName.Substring(index);
- return propertyName;
- }
-
- public void SetCurves(AnimationCurve[] curves, EditorCurveBinding[] bindings)
- {
- m_Curves = curves;
- if (m_Curves != null && m_Curves.Length > 0)
- {
- m_CurveWrappers = new CurveWrapper[m_Curves.Length];
- for (int i = 0; i < m_Curves.Length; i++)
- {
- var cw = new CurveWrapper
- {
- renderer = new NormalCurveRenderer(m_Curves[i]),
- readOnly = false,
- color = EditorGUI.kCurveColor,
- id = curves[i].GetHashCode(),
- hidden = false,
- regionId = -1
- };
-
- cw.renderer.SetWrap(WrapMode.Clamp, WrapMode.Clamp);
- cw.renderer.SetCustomRange(0, 1);
-
- if (bindings != null)
- {
- cw.binding = bindings[i];
- cw.color = CurveUtility.GetPropertyColor(bindings[i].propertyName);
- cw.id = bindings[i].GetHashCode();
- }
-
- m_CurveWrappers[i] = cw;
- }
-
- UpdateSelectionColors();
- m_CurveEditor.animationCurves = m_CurveWrappers;
- }
- }
-
- internal void SetUpdateCurveCallback(Action<AnimationCurve, EditorCurveBinding> callback)
- {
- m_CurveUpdatedCallback = callback;
- }
-
- void ProcessUpdates()
- {
- foreach (var cw in m_CurveWrappers)
- {
- if (cw.changed)
- {
- cw.changed = false;
-
- if (m_CurveUpdatedCallback != null)
- m_CurveUpdatedCallback(cw.curve, cw.binding);
- }
- }
- }
-
- public void SetSelected(AnimationCurve curve)
- {
- m_CurveEditor.SelectNone();
- for (int i = 0; i < m_Curves.Length; i++)
- {
- if (curve == m_Curves[i])
- {
- m_CurveWrappers[i].selected = CurveWrapper.SelectionMode.Selected;
- m_CurveEditor.AddSelection(new CurveSelection(m_CurveWrappers[i].id, 0));
- }
- }
-
- UpdateSelectionColors();
- }
-
- void UpdateSelectionColors()
- {
- if (m_CurveWrappers == null)
- return;
-
- // manually manage selection colors
- foreach (var cw in m_CurveWrappers)
- {
- Color c = cw.color;
- if (cw.readOnly)
- c.a = 0.75f;
- else if (cw.selected != CurveWrapper.SelectionMode.None)
- c.a = 1.0f;
- else
- c.a = 0.5f;
- cw.color = c;
- }
- }
-
- public static void CurveField(GUIContent title, SerializedProperty property, Action<SerializedProperty> onClick)
- {
- Rect controlRect = EditorGUILayout.GetControlRect(GUILayout.MinWidth(20));
- EditorGUI.BeginProperty(controlRect, title, property);
- DrawCurve(controlRect, property, onClick, EditorGUI.kCurveColor, EditorGUI.kCurveBGColor);
- EditorGUI.EndProperty();
- }
-
- static Rect DrawCurve(Rect controlRect, SerializedProperty property, Action<SerializedProperty> onClick, Color fgColor, Color bgColor)
- {
- if (GUI.Button(controlRect, GUIContent.none))
- {
- if (onClick != null)
- onClick(property);
- }
- EditorGUIUtility.DrawCurveSwatch(controlRect, null, property, fgColor, bgColor);
- return controlRect;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorCurveEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorCurveEditor.cs.meta
deleted file mode 100644
index 1d16576..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorCurveEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d3d14fa8f6934e14d92e37279e40e89b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorSelectionInfo.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorSelectionInfo.cs
deleted file mode 100644
index 7c2d088..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorSelectionInfo.cs
+++ /dev/null
@@ -1,132 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class ClipInspectorSelectionInfo
- {
- public double start, end, duration;
- public double multipleClipStart, multipleClipEnd;
- public double smallestDuration;
-
- public bool hasMultipleStartValues, hasMultipleEndValues, hasMultipleDurationValues;
- public bool supportsExtrapolation, supportsClipIn, supportsSpeedMultiplier, supportsBlending;
- public bool hasBlendIn, hasBlendOut;
- public bool selectedAssetTypesAreHomogeneous;
- public bool containsAtLeastTwoClipsOnTheSameTrack;
-
- public HashSet<TrackAsset> uniqueParentTracks = new HashSet<TrackAsset>();
- public ICollection<TimelineClip> clips { get; private set; }
-
- public ClipInspectorSelectionInfo(ICollection<TimelineClip> selectedClips)
- {
- supportsBlending = supportsClipIn = supportsExtrapolation = supportsSpeedMultiplier = true;
- hasBlendIn = hasBlendOut = true;
- selectedAssetTypesAreHomogeneous = true;
- smallestDuration = TimelineClip.kMaxTimeValue;
- start = end = duration = 0;
- multipleClipStart = multipleClipEnd = 0;
- hasMultipleStartValues = hasMultipleEndValues = hasMultipleDurationValues = false;
- containsAtLeastTwoClipsOnTheSameTrack = false;
-
- clips = selectedClips;
- Build();
- }
-
- void Build()
- {
- if (!clips.Any()) return;
-
- var firstSelectedClip = clips.First();
- if (firstSelectedClip == null) return;
-
- var firstSelectedClipAssetType = firstSelectedClip.asset != null ? firstSelectedClip.asset.GetType() : null;
-
- smallestDuration = TimelineClip.kMaxTimeValue;
- InitSelectionBounds(firstSelectedClip);
- InitMultipleClipBounds(firstSelectedClip);
-
- foreach (var clip in clips)
- {
- if (clip == null) continue;
-
- uniqueParentTracks.Add(clip.parentTrack);
- selectedAssetTypesAreHomogeneous &= clip.asset.GetType() == firstSelectedClipAssetType;
-
- UpdateClipCaps(clip);
- UpdateBlends(clip);
- UpdateSmallestDuration(clip);
- UpdateMultipleValues(clip);
- UpdateMultipleValues(clip);
- }
- containsAtLeastTwoClipsOnTheSameTrack = uniqueParentTracks.Count != clips.Count;
- }
-
- public void Update()
- {
- var firstSelectedClip = clips.First();
- if (firstSelectedClip == null) return;
-
- hasBlendIn = hasBlendOut = true;
- hasMultipleStartValues = hasMultipleDurationValues = hasMultipleEndValues = false;
- smallestDuration = TimelineClip.kMaxTimeValue;
- InitSelectionBounds(firstSelectedClip);
- InitMultipleClipBounds(firstSelectedClip);
-
- foreach (var clip in clips)
- {
- if (clip == null) continue;
-
- UpdateBlends(clip);
- UpdateSmallestDuration(clip);
- UpdateMultipleValues(clip);
- }
- }
-
- void InitSelectionBounds(TimelineClip clip)
- {
- start = clip.start;
- duration = clip.duration;
- end = clip.start + clip.duration;
- }
-
- void InitMultipleClipBounds(TimelineClip firstSelectedClip)
- {
- multipleClipStart = firstSelectedClip.start;
- multipleClipEnd = end;
- }
-
- void UpdateSmallestDuration(TimelineClip clip)
- {
- smallestDuration = Math.Min(smallestDuration, clip.duration);
- }
-
- void UpdateClipCaps(TimelineClip clip)
- {
- supportsBlending &= clip.SupportsBlending();
- supportsClipIn &= clip.SupportsClipIn();
- supportsExtrapolation &= clip.SupportsExtrapolation();
- supportsSpeedMultiplier &= clip.SupportsSpeedMultiplier();
- }
-
- void UpdateMultipleValues(TimelineClip clip)
- {
- hasMultipleStartValues |= !Mathf.Approximately((float)clip.start, (float)start);
- hasMultipleDurationValues |= !Mathf.Approximately((float)clip.duration, (float)duration);
- var clipEnd = clip.start + clip.duration;
- hasMultipleEndValues |= !Mathf.Approximately((float)clipEnd, (float)end);
-
- multipleClipStart = Math.Min(multipleClipStart, clip.start);
- multipleClipEnd = Math.Max(multipleClipEnd, clip.end);
- }
-
- void UpdateBlends(TimelineClip clip)
- {
- hasBlendIn &= clip.hasBlendIn;
- hasBlendOut &= clip.hasBlendOut;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorSelectionInfo.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorSelectionInfo.cs.meta
deleted file mode 100644
index bd8f85e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/ClipInspector/ClipInspectorSelectionInfo.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 57a39be2178cca94ab21e15c082e3ab6
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner.meta
deleted file mode 100644
index 309cb0a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 86cacab070a0a46e99aedb596a32c4fe
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/CurvesOwnerInspectorHelper.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/CurvesOwnerInspectorHelper.cs
deleted file mode 100644
index c5c4405..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/CurvesOwnerInspectorHelper.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-using System;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- static class CurvesOwnerInspectorHelper
- {
- // Because what is animated is not the asset, but the instanced playable,
- // we apply the animation clip here to preview what is being shown
- // This could be improved doing something more inline with animation mode,
- // and reverting values that aren't be recorded later to avoid dirtying the asset
- public static void PreparePlayableAsset(ICurvesOwnerInspectorWrapper wrapper)
- {
- if (Event.current.type != EventType.Repaint)
- return;
-
- if (wrapper.serializedPlayableAsset == null)
- return;
-
- var curvesOwner = wrapper.curvesOwner;
- if (curvesOwner == null || curvesOwner.curves == null)
- return;
-
- var timelineWindow = TimelineWindow.instance;
- if (timelineWindow == null || timelineWindow.state == null)
- return;
-
- // requires preview mode. reset the eval time so previous value is correct value is displayed while toggling
- if (!timelineWindow.state.previewMode)
- {
- wrapper.lastEvalTime = -1;
- return;
- }
-
- var time = wrapper.ToLocalTime(timelineWindow.state.editSequence.time);
-
- // detect if the time has changed, or if the curves have changed
- if (Math.Abs(wrapper.lastEvalTime - time) < TimeUtility.kTimeEpsilon)
- {
- int curveVersion = AnimationClipCurveCache.Instance.GetCurveInfo(curvesOwner.curves).version;
- if (curveVersion == wrapper.lastCurveVersion)
- return;
-
- wrapper.lastCurveVersion = curveVersion;
- }
-
- wrapper.lastEvalTime = time;
-
- var clipInfo = AnimationClipCurveCache.Instance.GetCurveInfo(curvesOwner.curves);
- int count = clipInfo.bindings.Length;
- if (count == 0)
- return;
-
- wrapper.serializedPlayableAsset.Update();
-
- var prop = wrapper.serializedPlayableAsset.GetIterator();
- while (prop.NextVisible(true))
- {
- if (curvesOwner.IsParameterAnimated(prop.propertyPath))
- {
- var curve = curvesOwner.GetAnimatedParameter(prop.propertyPath);
- switch (prop.propertyType)
- {
- case SerializedPropertyType.Boolean:
- prop.boolValue = curve.Evaluate((float)time) > 0;
- break;
- case SerializedPropertyType.Float:
- prop.floatValue = curve.Evaluate((float)time);
- break;
- case SerializedPropertyType.Integer:
- prop.intValue = Mathf.FloorToInt(curve.Evaluate((float)time));
- break;
- case SerializedPropertyType.Color:
- SetAnimatedValue(curvesOwner, prop, "r", time);
- SetAnimatedValue(curvesOwner, prop, "g", time);
- SetAnimatedValue(curvesOwner, prop, "b", time);
- SetAnimatedValue(curvesOwner, prop, "a", time);
- break;
- case SerializedPropertyType.Quaternion:
- case SerializedPropertyType.Vector4:
- SetAnimatedValue(curvesOwner, prop, "w", time);
- goto case SerializedPropertyType.Vector3;
- case SerializedPropertyType.Vector3:
- SetAnimatedValue(curvesOwner, prop, "z", time);
- goto case SerializedPropertyType.Vector2;
- case SerializedPropertyType.Vector2:
- SetAnimatedValue(curvesOwner, prop, "x", time);
- SetAnimatedValue(curvesOwner, prop, "y", time);
- break;
- }
- }
- }
-
- wrapper.serializedPlayableAsset.ApplyModifiedPropertiesWithoutUndo();
- }
-
- static void SetAnimatedValue(ICurvesOwner clip, SerializedProperty property, string path, double localTime)
- {
- var prop = property.FindPropertyRelative(path);
- if (prop != null)
- {
- var curve = clip.GetAnimatedParameter(prop.propertyPath);
- if (curve != null)
- prop.floatValue = curve.Evaluate((float)localTime);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/CurvesOwnerInspectorHelper.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/CurvesOwnerInspectorHelper.cs.meta
deleted file mode 100644
index 17e8bb3..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/CurvesOwnerInspectorHelper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9a371bcbba2084dd0a8ebc6826aa8794
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/ICurvesOwnerInspectorWrapper.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/ICurvesOwnerInspectorWrapper.cs
deleted file mode 100644
index 0ce6f58..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/ICurvesOwnerInspectorWrapper.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- interface ICurvesOwnerInspectorWrapper
- {
- ICurvesOwner curvesOwner { get; }
- SerializedObject serializedPlayableAsset { get; }
- int lastCurveVersion { get; set; }
- double lastEvalTime { get; set; }
-
- double ToLocalTime(double time);
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/ICurvesOwnerInspectorWrapper.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/ICurvesOwnerInspectorWrapper.cs.meta
deleted file mode 100644
index 746e970..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/CurvesOwner/ICurvesOwnerInspectorWrapper.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 926a61ff0dec44a5aab649acb411e9ad
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/DirectorNamedColorInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/DirectorNamedColorInspector.cs
deleted file mode 100644
index 5646870..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/DirectorNamedColorInspector.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- /// <summary>
- /// Internally used Inspector
- /// </summary>
- [CustomEditor(typeof(DirectorNamedColor))]
- class DirectorNamedColorInspector : Editor
- {
- public override void OnInspectorGUI()
- {
- base.OnInspectorGUI();
- if (GUILayout.Button("ToTextAsset"))
- {
- DirectorStyles.Instance.ExportSkinToFile();
- }
-
- if (GUILayout.Button("Reload From File"))
- {
- DirectorStyles.Instance.ReloadSkin();
- UnityEditor.Selection.activeObject = DirectorStyles.Instance.customSkin;
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/DirectorNamedColorInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/DirectorNamedColorInspector.cs.meta
deleted file mode 100644
index 250f3d4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/DirectorNamedColorInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9c8ceb9efacb4974bb3b7e2a87137b07
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClip.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClip.cs
deleted file mode 100644
index edd3d9d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClip.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [ExcludeFromPreset]
- class EditorClip : ScriptableObject
- {
- [SerializeField] TimelineClip m_Clip;
-
- public TimelineClip clip
- {
- get { return m_Clip; }
- set { m_Clip = value; }
- }
-
- public int lastHash { get; set; }
-
- public override int GetHashCode()
- {
- return clip.Hash();
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClip.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClip.cs.meta
deleted file mode 100644
index 1887ce2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClip.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 197c1114eb793d24c8ef31120a134e88
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClipFactory.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClipFactory.cs
deleted file mode 100644
index d065b37..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClipFactory.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityObject = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- static class EditorClipFactory
- {
- static Dictionary<TimelineClip, EditorClip> s_EditorCache = new Dictionary<TimelineClip, EditorClip>();
-
- public static EditorClip GetEditorClip(TimelineClip clip)
- {
- if (clip == null)
- throw new ArgumentException("parameter cannot be null");
-
- if (s_EditorCache.ContainsKey(clip))
- {
- var editorClip = s_EditorCache[clip];
- if (editorClip != null)
- return editorClip;
- }
-
- var editor = ScriptableObject.CreateInstance<EditorClip>();
- editor.hideFlags |= HideFlags.HideInHierarchy | HideFlags.DontSaveInEditor;
- editor.lastHash = -1;
- editor.clip = clip;
- s_EditorCache[clip] = editor;
-
- return editor;
- }
-
- public static void RemoveEditorClip(TimelineClip clip)
- {
- if (clip == null)
- return;
-
- if (s_EditorCache.ContainsKey(clip))
- {
- var obj = s_EditorCache[clip];
- if (obj != null)
- UnityObject.DestroyImmediate(obj);
- s_EditorCache.Remove(clip);
- }
- }
-
- public static bool Contains(TimelineClip clip)
- {
- return clip != null && s_EditorCache.ContainsKey(clip);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClipFactory.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClipFactory.cs.meta
deleted file mode 100644
index 3681c42..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/EditorClipFactory.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f6ba30c492ac73742bc0cfee6817045a
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/GroupTrackInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/GroupTrackInspector.cs
deleted file mode 100644
index 5791e51..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/GroupTrackInspector.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-//#define PERF_PROFILE
-
-using System.Linq;
-using UnityEditorInternal;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomEditor(typeof(GroupTrack)), CanEditMultipleObjects]
- class GroupTrackInspector : TrackAssetInspector
- {
- static class Styles
- {
- public static readonly GUIContent GroupSubTrackHeaderName = EditorGUIUtility.TrTextContent("Name");
- public static readonly GUIContent GroupSubTrackHeaderType = EditorGUIUtility.TrTextContent("Type");
- public static readonly GUIContent GroupSubTrackHeaderDuration = EditorGUIUtility.TrTextContent("Duration");
- public static readonly GUIContent GroupSubTrackHeaderFrames = EditorGUIUtility.TrTextContent("Frames");
- public static readonly GUIContent GroupInvalidTrack = EditorGUIUtility.TrTextContent("Invalid Track");
- }
-
- ReorderableList m_SubTracks;
-
- public override void OnInspectorGUI()
- {
- foreach (var group in targets)
- {
- var groupTrack = group as GroupTrack;
- if (groupTrack == null) return;
-
- var childrenTracks = groupTrack.GetChildTracks();
- var groupTrackName = groupTrack.name;
-
- GUILayout.Label(childrenTracks.Count() > 0
- ? groupTrackName + " (" + childrenTracks.Count() + ")"
- : groupTrackName, EditorStyles.boldLabel);
- GUILayout.Space(3.0f);
-
- // the subTrackObjects is used because it's the internal list
- m_SubTracks.list = groupTrack.subTracksObjects;
- m_SubTracks.DoLayoutList();
- m_SubTracks.index = -1;
- }
- }
-
- public override void OnEnable()
- {
- base.OnEnable();
-
- m_SubTracks = new ReorderableList(new string[] {}, typeof(string), false, true, false, false)
- {
- drawElementCallback = OnDrawSubTrack,
- drawHeaderCallback = OnDrawHeader,
- showDefaultBackground = true,
- index = 0,
- elementHeight = 20
- };
- }
-
- static void OnDrawHeader(Rect rect)
- {
- int sections = 4;
- float sectionWidth = rect.width / sections;
-
- rect.width = sectionWidth;
- GUI.Label(rect, Styles.GroupSubTrackHeaderName, EditorStyles.label);
- rect.x += sectionWidth;
- GUI.Label(rect, Styles.GroupSubTrackHeaderType, EditorStyles.label);
- rect.x += sectionWidth;
- GUI.Label(rect, Styles.GroupSubTrackHeaderDuration, EditorStyles.label);
- rect.x += sectionWidth;
- GUI.Label(rect, Styles.GroupSubTrackHeaderFrames, EditorStyles.label);
- }
-
- void OnDrawSubTrack(Rect rect, int index, bool selected, bool focused)
- {
- int sections = 4;
- float sectionWidth = rect.width / sections;
-
- var childrenTrack = m_SubTracks.list[index] as TrackAsset;
- if (childrenTrack == null)
- {
- object o = m_SubTracks.list[index];
- rect.width = sectionWidth;
- if (o != null) // track is loaded, but has broken script
- {
- string name = ((UnityEngine.Object)m_SubTracks.list[index]).name;
- GUI.Label(rect, name, EditorStyles.label);
- }
- rect.x += sectionWidth;
- using (new GUIColorOverride(DirectorStyles.kClipErrorColor))
- GUI.Label(rect, Styles.GroupInvalidTrack.text, EditorStyles.label);
- return;
- }
-
- rect.width = sectionWidth;
- GUI.Label(rect, childrenTrack.name, EditorStyles.label);
- rect.x += sectionWidth;
- GUI.Label(rect, childrenTrack.GetType().Name, EditorStyles.label);
- rect.x += sectionWidth;
- GUI.Label(rect, childrenTrack.duration.ToString(), EditorStyles.label);
- rect.x += sectionWidth;
- double exactFrames = TimeUtility.ToExactFrames(childrenTrack.duration, TimelineWindow.instance.state.referenceSequence.frameRate);
- GUI.Label(rect, exactFrames.ToString(), EditorStyles.label);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/GroupTrackInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/GroupTrackInspector.cs.meta
deleted file mode 100644
index 2730aef..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/GroupTrackInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 41dcdc094b311464c8d6cb614548d89b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/MarkerInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/MarkerInspector.cs
deleted file mode 100644
index e8dea73..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/MarkerInspector.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-using System;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomEditor(typeof(Marker), true)]
- [CanEditMultipleObjects]
- class MarkerInspector : BasicAssetInspector
- {
- static class Styles
- {
- public static readonly string MultipleMarkerSelectionTitle = L10n.Tr("{0} Markers");
- public static readonly string UndoCommand = L10n.Tr("Rename marker");
- }
-
- internal override bool IsEnabled()
- {
- if (!TimelineUtility.IsCurrentSequenceValid() || IsCurrentSequenceReadOnly())
- return false;
- var marker = target as Marker;
- if (marker != null)
- {
- if (!marker.parent.GetShowMarkers())
- return false;
- }
- return base.IsEnabled();
- }
-
- internal override void OnHeaderTitleGUI(Rect titleRect, string header)
- {
- if (targets.Length > 1)
- {
- var multiSelectTitle = string.Format(Styles.MultipleMarkerSelectionTitle, targets.Length);
- base.OnHeaderTitleGUI(titleRect, multiSelectTitle);
- return;
- }
-
- var marker = target as Marker;
- if (marker != null)
- {
- if (marker.parent.GetShowMarkers() && TimelineUtility.IsCurrentSequenceValid() && !IsCurrentSequenceReadOnly())
- {
- EditorGUI.BeginChangeCheck();
- var newName = EditorGUI.DelayedTextField(titleRect, marker.name);
- if (EditorGUI.EndChangeCheck())
- {
- TimelineUndo.PushUndo(marker, Styles.UndoCommand);
- marker.name = newName;
- }
- }
- else
- {
- base.OnHeaderTitleGUI(titleRect, marker.name);
- }
- }
- else
- {
- var typeName = TypeUtility.GetDisplayName(target.GetType());
- EditorGUILayout.LabelField(typeName);
- }
- }
-
- static bool IsCurrentSequenceReadOnly()
- {
- return TimelineWindow.instance.state.editSequence.isReadOnly;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/MarkerInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/MarkerInspector.cs.meta
deleted file mode 100644
index 9f6e901..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/MarkerInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: fb461734117c80c43ab595d699f801eb
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimeFieldDrawer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimeFieldDrawer.cs
deleted file mode 100644
index 622f5b4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimeFieldDrawer.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomPropertyDrawer(typeof(TimeFieldAttribute), true)]
- class TimeFieldDrawer : PropertyDrawer
- {
- static WindowState state
- {
- get { return TimelineWindow.instance != null ? TimelineWindow.instance.state : null; }
- }
-
- static float currentFrameRate
- {
- get { return state != null ? TimelineWindow.instance.state.referenceSequence.frameRate : 0.0f; }
- }
-
- public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
- {
- if (property.propertyType != SerializedPropertyType.Float)
- {
- GUILayout.Label("TimeField only works on floating point types");
- return;
- }
-
- var timeFieldAttribute = attribute as TimeFieldAttribute;
- if (timeFieldAttribute == null)
- return;
-
- var rect = EditorGUILayout.s_LastRect;
- EditorGUI.BeginChangeCheck();
-
- if (timeFieldAttribute.useEditMode == TimeFieldAttribute.UseEditMode.ApplyEditMode)
- TimeFieldWithEditMode(rect, property, label);
- else
- TimeField(rect, property, label);
-
- if (EditorGUI.EndChangeCheck())
- {
- if (state != null)
- state.Refresh();
- }
- }
-
- static void TimeField(Rect rect, SerializedProperty property, GUIContent label)
- {
- var evt1 = InputEvent.None;
- TimelineInspectorUtility.TimeField(rect, property, label, false, currentFrameRate, 0, float.MaxValue, ref evt1);
- }
-
- static void TimeFieldWithEditMode(Rect rect, SerializedProperty property, GUIContent label)
- {
- double minStartTime;
- if (property.hasMultipleDifferentValues)
- minStartTime = SelectionManager.SelectedItems().Min(i => i.start);
- else
- minStartTime = property.doubleValue;
-
- var evt = InputEvent.None;
- var newValue = TimelineInspectorUtility.TimeField(
- rect, label, minStartTime, false, property.hasMultipleDifferentValues, currentFrameRate, 0.0, float.MaxValue, ref evt);
-
- EditMode.inputHandler.ProcessMove(evt, newValue);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimeFieldDrawer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimeFieldDrawer.cs.meta
deleted file mode 100644
index 89749e8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimeFieldDrawer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b0c73ea1c5ff95e43806e9002c155070
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineAssetInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineAssetInspector.cs
deleted file mode 100644
index 9229464..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineAssetInspector.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomEditor(typeof(TimelineAsset)), CanEditMultipleObjects]
- class TimelineAssetInspector : Editor
- {
- static class Styles
- {
- public static readonly GUIContent FrameRate = EditorGUIUtility.TrTextContent("Frame Rate", "The frame rate at which this sequence updates");
- public static readonly GUIContent DurationMode = EditorGUIUtility.TrTextContent("Duration Mode", "Specified how the duration of the sequence is calculated");
- public static readonly GUIContent Duration = EditorGUIUtility.TrTextContent("Duration", "The length of the sequence");
- public static readonly GUIContent HeaderTitleMultiselection = EditorGUIUtility.TrTextContent("Timeline Assets");
- }
-
- SerializedProperty m_FrameRateProperty;
- SerializedProperty m_DurationModeProperty;
- SerializedProperty m_FixedDurationProperty;
-
- void InitializeProperties()
- {
- m_FrameRateProperty = serializedObject.FindProperty("m_EditorSettings").FindPropertyRelative("m_Framerate");
- m_DurationModeProperty = serializedObject.FindProperty("m_DurationMode");
- m_FixedDurationProperty = serializedObject.FindProperty("m_FixedDuration");
- }
-
- public void OnEnable()
- {
- InitializeProperties();
- }
-
- internal override bool IsEnabled()
- {
- return !FileUtil.HasReadOnly(targets) && base.IsEnabled();
- }
-
- protected override void OnHeaderGUI()
- {
- string headerTitle;
- if (targets.Length == 1)
- headerTitle = target.name;
- else
- headerTitle = targets.Length.ToString() + " " + Styles.HeaderTitleMultiselection.text;
-
- DrawHeaderGUI(this, headerTitle, 0);
- }
-
- public override void OnInspectorGUI()
- {
- serializedObject.Update();
-
- EditorGUI.BeginChangeCheck();
-
- EditorGUILayout.PropertyField(m_FrameRateProperty, Styles.FrameRate, GUILayout.MinWidth(140));
- var frameRate = m_FrameRateProperty.doubleValue;
-
- EditorGUILayout.PropertyField(m_DurationModeProperty, Styles.DurationMode, GUILayout.MinWidth(140));
-
- var durationMode = (TimelineAsset.DurationMode)m_DurationModeProperty.enumValueIndex;
- var inputEvent = InputEvent.None;
- if (durationMode == TimelineAsset.DurationMode.FixedLength)
- TimelineInspectorUtility.TimeField(m_FixedDurationProperty, Styles.Duration, false, frameRate, double.Epsilon, TimelineClip.kMaxTimeValue * 2, ref inputEvent);
- else
- {
- var isMixed = targets.Length > 1;
- TimelineInspectorUtility.TimeField(Styles.Duration, ((TimelineAsset)target).duration, true, isMixed, frameRate, double.MinValue, double.MaxValue, ref inputEvent);
- }
-
- bool changed = EditorGUI.EndChangeCheck();
-
- serializedObject.ApplyModifiedProperties();
-
- if (changed)
- TimelineWindow.RepaintIfEditingTimelineAsset((TimelineAsset)target);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineAssetInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineAssetInspector.cs.meta
deleted file mode 100644
index 1ba0620..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineAssetInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e00a5dea786950546a21b0e2d817e466
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineInspectorUtility.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineInspectorUtility.cs
deleted file mode 100644
index f1c9d4a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineInspectorUtility.cs
+++ /dev/null
@@ -1,353 +0,0 @@
-using System;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [Flags]
- enum InputEvent
- {
- None = 0,
- DragEnter = 1,
- DragExit = 2,
- Drag = 4,
- KeyboardInput = 8
- }
-
- static class InputEventMethods
- {
- public static bool InputHasBegun(this InputEvent evt)
- {
- return evt == InputEvent.DragEnter || evt == InputEvent.KeyboardInput;
- }
- }
-
- static class TimelineInspectorUtility
- {
- internal static class Styles
- {
- public static readonly GUIContent SecondsPrefix = EditorGUIUtility.TrTextContent("s", "Seconds");
- public static readonly GUIContent FramesPrefix = EditorGUIUtility.TrTextContent("f", "Frames");
- }
-
- public static void TimeField(SerializedProperty property, GUIContent label, bool readOnly, double frameRate, double minValue, double maxValue, ref InputEvent inputEvent)
- {
- var rect = EditorGUILayout.GetControlRect();
- TimeField(rect, property, label, readOnly, frameRate, minValue, maxValue, ref inputEvent);
- }
-
- // Display Time related properties in frames and seconds
- public static void TimeField(Rect rect, SerializedProperty property, GUIContent label, bool readOnly, double frameRate, double minValue, double maxValue, ref InputEvent inputEvent)
- {
- GUIContent title = EditorGUI.BeginProperty(rect, label, property);
- rect = EditorGUI.PrefixLabel(rect, title);
-
- int indentLevel = EditorGUI.indentLevel;
- float labelWidth = EditorGUIUtility.labelWidth;
- EditorGUI.indentLevel = 0;
- EditorGUIUtility.labelWidth = (int)EditorGUI.kMiniLabelW;
- using (new GUIMixedValueScope(property.hasMultipleDifferentValues))
- {
- var secondsRect = new Rect(rect.xMin, rect.yMin, rect.width / 2 - EditorGUI.kSpacingSubLabel, rect.height);
- var framesRect = new Rect(rect.xMin + rect.width / 2, rect.yMin, rect.width / 2, rect.height);
-
- if (readOnly)
- {
- EditorGUI.FloatField(secondsRect, Styles.SecondsPrefix, (float)property.doubleValue, EditorStyles.label);
- }
- else
- {
- EditorGUI.BeginChangeCheck();
- DelayedAndDraggableDoubleField(secondsRect, Styles.SecondsPrefix, property, ref inputEvent);
- if (EditorGUI.EndChangeCheck())
- {
- property.doubleValue = Clamp(property.doubleValue, minValue, maxValue);
- }
- }
-
- if (frameRate > TimeUtility.kTimeEpsilon)
- {
- EditorGUI.BeginChangeCheck();
-
- double time = property.doubleValue;
- int frames = TimeUtility.ToFrames(time, frameRate);
- double exactFrames = TimeUtility.ToExactFrames(time, frameRate);
- bool useIntField = TimeUtility.OnFrameBoundary(time, frameRate);
-
- if (readOnly)
- {
- if (useIntField)
- EditorGUI.IntField(framesRect, Styles.FramesPrefix, frames, EditorStyles.label);
- else
- EditorGUI.DoubleField(framesRect, Styles.FramesPrefix, exactFrames, EditorStyles.label);
- }
- else
- {
- if (useIntField)
- {
- int newFrames = DelayedAndDraggableIntField(framesRect, Styles.FramesPrefix, frames, ref inputEvent);
- time = Math.Max(0, TimeUtility.FromFrames(newFrames, frameRate));
- }
- else
- {
- double newExactFrames = DelayedAndDraggableDoubleField(framesRect, Styles.FramesPrefix, exactFrames, ref inputEvent);
- time = Math.Max(0, TimeUtility.FromFrames((int)Math.Floor(newExactFrames), frameRate));
- }
- }
-
- if (EditorGUI.EndChangeCheck())
- {
- property.doubleValue = Clamp(time, minValue, maxValue);
- }
- }
-
- EditorGUI.indentLevel = indentLevel;
- EditorGUIUtility.labelWidth = labelWidth;
- EditorGUI.EndProperty();
- }
- }
-
- public static double TimeFieldUsingTimeReference(
- GUIContent label, double time, bool readOnly, bool showMixed, double frameRate, double minValue,
- double maxValue, ref InputEvent inputEvent)
- {
- var state = TimelineWindow.instance.state;
- var needsTimeConversion = state != null && state.timeReferenceMode == TimeReferenceMode.Global;
-
- if (needsTimeConversion)
- time = state.editSequence.ToGlobalTime(time);
-
- var t = TimeField(label, time, readOnly, showMixed, frameRate, minValue, maxValue, ref inputEvent);
-
- if (needsTimeConversion)
- t = state.editSequence.ToLocalTime(t);
-
- return t;
- }
-
- public static double DurationFieldUsingTimeReference(
- GUIContent label, double start, double end, bool readOnly, bool showMixed, double frameRate,
- double minValue, double maxValue, ref InputEvent inputEvent)
- {
- var state = TimelineWindow.instance.state;
- var needsTimeConversion = state != null && state.timeReferenceMode == TimeReferenceMode.Global;
-
- if (needsTimeConversion)
- {
- start = state.editSequence.ToGlobalTime(start);
- end = state.editSequence.ToGlobalTime(end);
- }
-
- var duration = end - start;
-
- var t = TimeField(label, duration, readOnly, showMixed, frameRate, minValue, maxValue, ref inputEvent);
-
- end = start + t;
-
- if (needsTimeConversion)
- {
- start = state.editSequence.ToLocalTime(start);
- end = state.editSequence.ToLocalTime(end);
- }
-
- return end - start;
- }
-
- public static double TimeField(Rect rect, GUIContent label, double time, bool readOnly, bool showMixed, double frameRate, double minValue, double maxValue, ref InputEvent inputEvent)
- {
- EditorGUILayout.BeginHorizontal(label, GUIStyle.none);
- rect = EditorGUI.PrefixLabel(rect, label);
-
- int indentLevel = EditorGUI.indentLevel;
- float labelWidth = EditorGUIUtility.labelWidth;
- EditorGUI.indentLevel = 0;
- EditorGUIUtility.labelWidth = (int)EditorGUI.kMiniLabelW;
- using (new GUIMixedValueScope(showMixed))
- {
- var secondsRect = new Rect(rect.xMin, rect.yMin, rect.width / 2 - EditorGUI.kSpacingSubLabel, rect.height);
- var framesRect = new Rect(rect.xMin + rect.width / 2, rect.yMin, rect.width / 2, rect.height);
-
- if (readOnly)
- {
- EditorGUI.FloatField(secondsRect, Styles.SecondsPrefix, (float)time, EditorStyles.label);
- }
- else
- {
- time = DelayedAndDraggableDoubleField(secondsRect, Styles.SecondsPrefix, time, ref inputEvent);
- }
-
- if (frameRate > TimeUtility.kTimeEpsilon)
- {
- int frames = TimeUtility.ToFrames(time, frameRate);
- double exactFrames = TimeUtility.ToExactFrames(time, frameRate);
- bool useIntField = TimeUtility.OnFrameBoundary(time, frameRate);
- if (readOnly)
- {
- if (useIntField)
- EditorGUI.IntField(framesRect, Styles.FramesPrefix, frames, EditorStyles.label);
- else
- EditorGUI.FloatField(framesRect, Styles.FramesPrefix, (float)exactFrames, EditorStyles.label);
- }
- else
- {
- double newTime;
- EditorGUI.BeginChangeCheck();
- if (useIntField)
- {
- int newFrames = DelayedAndDraggableIntField(framesRect, Styles.FramesPrefix, frames, ref inputEvent);
- newTime = Math.Max(0, TimeUtility.FromFrames(newFrames, frameRate));
- }
- else
- {
- double newExactFrames = DelayedAndDraggableDoubleField(framesRect, Styles.FramesPrefix, exactFrames, ref inputEvent);
- newTime = Math.Max(0, TimeUtility.FromFrames((int)Math.Floor(newExactFrames), frameRate));
- }
-
- if (EditorGUI.EndChangeCheck())
- {
- time = newTime;
- }
- }
- }
-
- EditorGUILayout.EndHorizontal();
- EditorGUI.indentLevel = indentLevel;
- EditorGUIUtility.labelWidth = labelWidth;
- }
-
- return Clamp(time, minValue, maxValue);
- }
-
- public static double TimeField(GUIContent label, double time, bool readOnly, bool showMixed, double frameRate, double minValue, double maxValue, ref InputEvent inputEvent)
- {
- var rect = EditorGUILayout.GetControlRect();
- return TimeField(rect, label, time, readOnly, showMixed, frameRate, minValue, maxValue, ref inputEvent);
- }
-
- static InputEvent InputEventType(Rect rect, int id)
- {
- var evt = Event.current;
- switch (evt.GetTypeForControl(id))
- {
- case EventType.MouseDown:
- if (rect.Contains(evt.mousePosition) && evt.button == 0)
- {
- return InputEvent.DragEnter;
- }
- break;
- case EventType.MouseUp:
- if (GUIUtility.hotControl == id)
- {
- return InputEvent.DragExit;
- }
- break;
- case EventType.MouseDrag:
- if (GUIUtility.hotControl == id)
- {
- return InputEvent.Drag;
- }
- break;
- case EventType.KeyDown:
- if (GUIUtility.hotControl == id && evt.keyCode == KeyCode.Escape)
- {
- return InputEvent.DragExit;
- }
- break;
- }
- return InputEvent.None;
- }
-
- static double DelayedAndDraggableDoubleField(Rect rect, GUIContent label, double value, ref InputEvent inputEvent, double dragSensitivity)
- {
- var id = GUIUtility.GetControlID(FocusType.Keyboard);
- var fieldRect = EditorGUI.PrefixLabel(rect, id, label);
- rect.xMax = fieldRect.x;
-
- double refValue = value;
- long dummy = 0;
-
- inputEvent |= InputEventType(rect, id);
-
- EditorGUI.DragNumberValue(rect, id, true, ref refValue, ref dummy, dragSensitivity);
-
- EditorGUI.BeginChangeCheck();
- var result = EditorGUI.DelayedDoubleFieldInternal(fieldRect, GUIContent.none, refValue, EditorStyles.numberField);
- if (EditorGUI.EndChangeCheck())
- inputEvent |= InputEvent.KeyboardInput;
-
- return result;
- }
-
- static int DelayedAndDraggableIntField(Rect rect, GUIContent label, int value, ref InputEvent inputEvent, long dragSensitivity)
- {
- var id = GUIUtility.GetControlID(FocusType.Keyboard);
- var fieldRect = EditorGUI.PrefixLabel(rect, id, label);
- rect.xMax = fieldRect.x;
-
- double dummy = 0.0;
- long refValue = value;
-
- inputEvent |= InputEventType(rect, id);
-
- EditorGUI.DragNumberValue(rect, id, false, ref dummy, ref refValue, dragSensitivity);
-
- EditorGUI.BeginChangeCheck();
- var result = EditorGUI.DelayedIntFieldInternal(fieldRect, GUIContent.none, (int)refValue, EditorStyles.numberField);
- if (EditorGUI.EndChangeCheck())
- inputEvent |= InputEvent.KeyboardInput;
-
- return result;
- }
-
- internal static double DelayedAndDraggableDoubleField(GUIContent label, double value, ref InputEvent action, double dragSensitivity)
- {
- var r = EditorGUILayout.s_LastRect = EditorGUILayout.GetControlRect(false, EditorGUI.kSingleLineHeight);
- return DelayedAndDraggableDoubleField(r, label, value, ref action, dragSensitivity);
- }
-
- static void DelayedAndDraggableDoubleField(Rect rect, GUIContent label, SerializedProperty property, ref InputEvent inputEvent)
- {
- EditorGUI.BeginChangeCheck();
- var newValue = DelayedAndDraggableDoubleField(rect, label, property.doubleValue, ref inputEvent);
- if (EditorGUI.EndChangeCheck())
- property.doubleValue = newValue;
- }
-
- static double DelayedAndDraggableDoubleField(Rect rect, GUIContent label, double value, ref InputEvent inputEvent)
- {
- var dragSensitivity = NumericFieldDraggerUtility.CalculateFloatDragSensitivity(value);
- return DelayedAndDraggableDoubleField(rect, label, value, ref inputEvent, dragSensitivity);
- }
-
- static int DelayedAndDraggableIntField(Rect rect, GUIContent label, int value, ref InputEvent inputEvent)
- {
- var dragSensitivity = NumericFieldDraggerUtility.CalculateIntDragSensitivity(value);
- return DelayedAndDraggableIntField(rect, label, value, ref inputEvent, dragSensitivity);
- }
-
- internal static T Clamp<T>(this T val, T min, T max) where T : IComparable<T>
- {
- if (val.CompareTo(min) < 0) return min;
- if (val.CompareTo(max) > 0) return max;
- return val;
- }
-
- public static Editor GetInspectorForObjects(UnityEngine.Object[] objects)
- {
- // create cached editor throws on assembly reload...
- try
- {
- if (objects.Any(x => x != null))
- {
- var director = TimelineWindow.instance.state.editSequence.director;
- return Editor.CreateEditorWithContext(objects, director, null);
- }
- }
- catch (Exception)
- {}
-
- return null;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineInspectorUtility.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineInspectorUtility.cs.meta
deleted file mode 100644
index 808a29d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TimelineInspectorUtility.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3387717991705ce4e8ef033a0e543a06
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TrackAssetInspector.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TrackAssetInspector.cs
deleted file mode 100644
index 91e83e1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TrackAssetInspector.cs
+++ /dev/null
@@ -1,203 +0,0 @@
-//#define PERF_PROFILE
-
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomEditor(typeof(TrackAsset), true, isFallback = true)]
- [CanEditMultipleObjects]
- class TrackAssetInspector : Editor
- {
- class TrackCurvesWrapper : ICurvesOwnerInspectorWrapper
- {
- public ICurvesOwner curvesOwner { get; }
- public SerializedObject serializedPlayableAsset { get; }
-
- public int lastCurveVersion { get; set; }
- public double lastEvalTime { get; set; }
-
- public TrackCurvesWrapper(TrackAsset track)
- {
- lastCurveVersion = -1;
- lastEvalTime = -1;
-
- if (track != null)
- {
- curvesOwner = track;
- serializedPlayableAsset = new SerializedObject(track);
- }
- }
-
- public double ToLocalTime(double time)
- {
- return time;
- }
- }
-
- TrackCurvesWrapper m_TrackCurvesWrapper;
-
- SerializedProperty m_Name;
- bool m_IsBuiltInType;
-
- Texture m_HeaderIcon;
-
-
- protected TimelineWindow timelineWindow
- {
- get
- {
- return TimelineWindow.instance;
- }
- }
-
- protected bool IsTrackLocked()
- {
- if (!TimelineUtility.IsCurrentSequenceValid() || IsCurrentSequenceReadOnly())
- return true;
-
- return targets.Any(track => ((TrackAsset)track).lockedInHierarchy);
- }
-
- public override void OnInspectorGUI()
- {
- using (new EditorGUI.DisabledScope(IsTrackLocked()))
- {
- DrawInspector();
- }
- }
-
- internal override bool IsEnabled()
- {
- return TimelineUtility.IsCurrentSequenceValid() && !IsCurrentSequenceReadOnly() && base.IsEnabled();
- }
-
- internal override void OnHeaderTitleGUI(Rect titleRect, string header)
- {
- serializedObject.Update();
-
- var textFieldRect = titleRect;
- using (new GUIMixedValueScope(m_Name.hasMultipleDifferentValues))
- {
- var seqWindow = TimelineWindow.instance;
-
- if (IsTrackLocked())
- {
- base.OnHeaderTitleGUI(titleRect, m_Name.stringValue);
- }
- else
- {
- EditorGUI.BeginChangeCheck();
- string newName = EditorGUI.DelayedTextField(textFieldRect, m_Name.stringValue, EditorStyles.textField);
- if (EditorGUI.EndChangeCheck() && !string.IsNullOrEmpty(newName))
- {
- for (int c = 0; c < targets.Length; c++)
- {
- ObjectNames.SetNameSmart(targets[c], newName);
- }
-
- if (seqWindow != null)
- seqWindow.Repaint();
- }
-
- serializedObject.ApplyModifiedProperties();
- }
- }
- }
-
- internal override void OnHeaderIconGUI(Rect iconRect)
- {
- if (TimelineWindow.instance == null)
- return;
- using (new EditorGUI.DisabledScope(IsTrackLocked()))
- {
- if (m_HeaderIcon != null)
- GUI.Label(iconRect, GUIContent.Temp(m_HeaderIcon));
- }
- }
-
- internal override Rect DrawHeaderHelpAndSettingsGUI(Rect r)
- {
- using (new EditorGUI.DisabledScope(IsTrackLocked()))
- {
- var helpSize = EditorStyles.iconButton.CalcSize(EditorGUI.GUIContents.helpIcon);
- const int kTopMargin = 5;
-
- // Show Editor Header Items.
- return EditorGUIUtility.DrawEditorHeaderItems(new Rect(r.xMax - helpSize.x, r.y + kTopMargin, helpSize.x, helpSize.y), targets);
- }
- }
-
- public virtual void OnEnable()
- {
- m_IsBuiltInType = target != null && target.GetType().Assembly == typeof(TrackAsset).Assembly;
- m_Name = serializedObject.FindProperty("m_Name");
- m_TrackCurvesWrapper = new TrackCurvesWrapper(target as TrackAsset);
- m_HeaderIcon = TrackResourceCache.s_DefaultIcon.image;
-
- // only worry about the first track. if types are different, a different inspector is used.
- var track = target as TrackAsset;
- if (track != null)
- {
- var drawer = CustomTimelineEditorCache.GetTrackEditor(track);
- UnityEngine.Object binding = null;
- var director = m_Context as PlayableDirector;
- if (director != null)
- binding = director.GetGenericBinding(track);
-
- var options = drawer.GetTrackOptions(track, binding);
- if (options.icon != null)
- m_HeaderIcon = options.icon;
- else
- m_HeaderIcon = TrackResourceCache.GetTrackIcon(track).image;
- }
- }
-
- void DrawInspector()
- {
- if (serializedObject == null)
- return;
-
- CurvesOwnerInspectorHelper.PreparePlayableAsset(m_TrackCurvesWrapper);
- serializedObject.Update();
-
- using (var changeScope = new EditorGUI.ChangeCheckScope())
- {
- DrawTrackProperties();
-
- if (changeScope.changed)
- {
- serializedObject.ApplyModifiedProperties();
- ApplyChanges();
- }
- }
- }
-
- protected virtual void DrawTrackProperties()
- {
- var property = serializedObject.GetIterator();
- var expanded = true;
- while (property.NextVisible(expanded))
- {
- // Don't draw script field for built-in types
- if (m_IsBuiltInType && "m_Script" == property.propertyPath)
- continue;
-
- EditorGUILayout.PropertyField(property, !expanded);
- expanded = false;
- }
- }
-
- protected virtual void ApplyChanges()
- {
- TimelineEditor.Refresh(RefreshReason.ContentsModified);
- }
-
- static bool IsCurrentSequenceReadOnly()
- {
- return TimelineWindow.instance.state.editSequence.isReadOnly;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TrackAssetInspector.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TrackAssetInspector.cs.meta
deleted file mode 100644
index 922b049..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/inspectors/TrackAssetInspector.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 8795e0dd0041d2f44b1fe1959fc9fb53
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview.meta
deleted file mode 100644
index dfb1cae..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: ffcbe86028d681144b703991885c535a
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/AnimationTrackKeyDataSource.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/AnimationTrackKeyDataSource.cs
deleted file mode 100644
index 38c2f81..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/AnimationTrackKeyDataSource.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-
-// Data sources for key overlays
-namespace UnityEditor.Timeline
-{
- // Used for key overlays manipulators
- class AnimationTrackKeyDataSource : BasePropertyKeyDataSource
- {
- readonly float m_TrackOffset;
-
- protected override AnimationClip animationClip { get; }
-
- public AnimationTrackKeyDataSource(AnimationTrack track)
- {
- animationClip = track != null ? track.infiniteClip : null;
- m_TrackOffset = track != null ? (float)track.infiniteClipTimeOffset : 0.0f;
- }
-
- protected override float TransformKeyTime(float keyTime)
- {
- return keyTime + m_TrackOffset;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/AnimationTrackKeyDataSource.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/AnimationTrackKeyDataSource.cs.meta
deleted file mode 100644
index 3c81758..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/AnimationTrackKeyDataSource.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a0b56195e00682b4594dfaeef9d5fa78
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Control.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Control.cs
deleted file mode 100644
index 8788058..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Control.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System.Collections.Generic;
-
-namespace UnityEditor.Timeline
-{
- class Control
- {
- readonly List<Manipulator> m_Manipulators = new List<Manipulator>();
-
- public bool HandleManipulatorsEvents(WindowState state)
- {
- var isHandled = false;
-
- foreach (var manipulator in m_Manipulators)
- {
- isHandled = manipulator.HandleEvent(state);
- if (isHandled)
- break;
- }
-
- return isHandled;
- }
-
- public void AddManipulator(Manipulator m)
- {
- m_Manipulators.Add(m);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Control.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Control.cs.meta
deleted file mode 100644
index 71c8d33..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Control.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 077690d334440b044bdd51b26b3e9413
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers.meta
deleted file mode 100644
index a7ad23a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: d40a0edbdcdcf9747a420f3bbe0f18db
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/AnimationTrackDrawer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/AnimationTrackDrawer.cs
deleted file mode 100644
index 0e9ef89..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/AnimationTrackDrawer.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-using System;
-using System.ComponentModel;
-using System.Linq;
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEditor;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- [CustomTrackDrawer(typeof(AnimationTrack)), UsedImplicitly]
- class AnimationTrackDrawer : TrackDrawer
- {
- internal static class Styles
- {
- public static readonly GUIContent AnimationButtonOnTooltip = EditorGUIUtility.TrTextContent("", "Avatar Mask enabled\nClick to disable");
- public static readonly GUIContent AnimationButtonOffTooltip = EditorGUIUtility.TrTextContent("", "Avatar Mask disabled\nClick to enable");
- }
-
- public override bool DrawTrackHeaderButton(Rect rect, TrackAsset track, WindowState state)
- {
- var animTrack = track as AnimationTrack;
- bool hasAvatarMask = animTrack != null && animTrack.avatarMask != null;
- if (hasAvatarMask)
- {
- var style = animTrack.applyAvatarMask
- ? DirectorStyles.Instance.avatarMaskOn
- : DirectorStyles.Instance.avatarMaskOff;
- var tooltip = animTrack.applyAvatarMask
- ? Styles.AnimationButtonOnTooltip
- : Styles.AnimationButtonOffTooltip;
- if (GUI.Button(rect, tooltip, style))
- {
- animTrack.applyAvatarMask = !animTrack.applyAvatarMask;
- if (state != null)
- state.rebuildGraph = true;
- }
- }
- return hasAvatarMask;
- }
-
- public override void DrawRecordingBackground(Rect trackRect, TrackAsset trackAsset, Vector2 visibleTime, WindowState state)
- {
- base.DrawRecordingBackground(trackRect, trackAsset, visibleTime, state);
- DrawBorderOfAddedRecordingClip(trackRect, trackAsset, visibleTime, (WindowState)state);
- }
-
- static void DrawBorderOfAddedRecordingClip(Rect trackRect, TrackAsset trackAsset, Vector2 visibleTime, WindowState state)
- {
- if (!state.IsArmedForRecord(trackAsset))
- return;
-
- AnimationTrack animTrack = trackAsset as AnimationTrack;
- if (animTrack == null || !animTrack.inClipMode)
- return;
-
- // make sure there is no clip but we can add one
- TimelineClip clip = null;
- if (trackAsset.FindRecordingClipAtTime(state.editSequence.time, out clip) || clip != null)
- return;
-
- float yMax = trackRect.yMax;
- float yMin = trackRect.yMin;
-
- double startGap = 0;
- double endGap = 0;
-
- trackAsset.GetGapAtTime(state.editSequence.time, out startGap, out endGap);
- if (double.IsInfinity(endGap))
- endGap = visibleTime.y;
-
- if (startGap > visibleTime.y || endGap < visibleTime.x)
- return;
-
-
- startGap = Math.Max(startGap, visibleTime.x);
- endGap = Math.Min(endGap, visibleTime.y);
-
- float xMin = state.TimeToPixel(startGap);
- float xMax = state.TimeToPixel(endGap);
-
- var r = Rect.MinMaxRect(xMin, yMin, xMax, yMax);
- ClipDrawer.DrawClipSelectionBorder(r, ClipBorder.Recording(), ClipBlends.kNone);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/AnimationTrackDrawer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/AnimationTrackDrawer.cs.meta
deleted file mode 100644
index 20fed76..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/AnimationTrackDrawer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: cb281723220c9964094e6c52e0ece792
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/ClipDrawer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/ClipDrawer.cs
deleted file mode 100644
index 266e465..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/ClipDrawer.cs
+++ /dev/null
@@ -1,678 +0,0 @@
-using System;
-using UnityEngine.Timeline;
-using UnityEngine;
-using System.Linq;
-using System.Collections.Generic;
-
-namespace UnityEditor.Timeline
-{
- enum BlendKind
- {
- None,
- Ease,
- Mix
- }
-
- enum BlendAngle
- {
- Descending,
- Ascending
- }
-
- struct IconData
- {
- public enum Side { Left = -1, Right = 1 }
-
- public Texture2D icon;
- public Color tint;
-
- public float width { get { return 16; } }
- public float height { get { return 16; } }
-
- public IconData(Texture2D icon)
- {
- this.icon = icon;
- tint = Color.white;
- }
- }
-
- class ClipBorder
- {
- public readonly Color color;
- public readonly float thickness;
-
- ClipBorder(Color color, float thickness)
- {
- this.color = color;
- this.thickness = thickness;
- }
-
- const float k_ClipSelectionBorder = 1.0f;
- const float k_ClipRecordingBorder = 2.0f;
-
- public static ClipBorder Recording()
- {
- return new ClipBorder(DirectorStyles.Instance.customSkin.colorRecordingClipOutline, k_ClipRecordingBorder);
- }
-
- public static ClipBorder Selection()
- {
- return new ClipBorder(Color.white, k_ClipSelectionBorder);
- }
-
- public static ClipBorder Default()
- {
- return new ClipBorder(DirectorStyles.Instance.customSkin.clipBorderColor, k_ClipSelectionBorder);
- }
- }
-
- struct ClipBlends
- {
- public readonly BlendKind inKind;
- public readonly Rect inRect;
-
- public readonly BlendKind outKind;
- public readonly Rect outRect;
-
- public ClipBlends(BlendKind inKind, Rect inRect, BlendKind outKind, Rect outRect)
- {
- this.inKind = inKind;
- this.inRect = inRect;
- this.outKind = outKind;
- this.outRect = outRect;
- }
-
- public static readonly ClipBlends kNone = new ClipBlends(BlendKind.None, Rect.zero, BlendKind.None, Rect.zero);
- }
-
- struct ClipDrawData
- {
- public TimelineClip clip; // clip being drawn
- public Rect targetRect; // rectangle to draw to
- public Rect unclippedRect; // the clip's unclipped rect
- public Rect clippedRect; // the clip's clipped rect to the visible time area
- public Rect clipCenterSection; // clip center section
- public string title; // clip title
- public bool selected; // is the clip selected
- public bool inlineCurvesSelected; // is the inline curve of the clip selected
- public double localVisibleStartTime;
- public double localVisibleEndTime;
- public IconData[] leftIcons;
- public IconData[] rightIcons;
- public TimelineClip previousClip;
- public bool previousClipSelected;
- public bool supportsLooping;
- public int minLoopIndex;
- public List<Rect> loopRects;
- public ClipBlends clipBlends;
- public ClipDrawOptions ClipDrawOptions;
- public ClipEditor clipEditor;
- }
-
- static class ClipDrawer
- {
- public static class Styles
- {
- public static readonly Texture2D iconWarn = EditorGUIUtility.LoadIconRequired("console.warnicon.inactive.sml");
- public static readonly string HoldText = LocalizationDatabase.GetLocalizedString("HOLD");
- public static readonly Texture2D s_IconNoRecord = EditorGUIUtility.LoadIcon("console.erroricon.sml");
- public static readonly GUIContent s_ClipNotRecorable = EditorGUIUtility.TrTextContent("", "This clip is not recordable");
- public static readonly GUIContent s_ClipNoRecordInBlend = EditorGUIUtility.TrTextContent("", "Recording in blends in prohibited");
- }
-
- const float k_ClipSwatchLineThickness = 4.0f;
- const float k_MinClipWidth = 7.0f;
- const float k_ClipInOutMinWidth = 15.0f;
- const float k_ClipLoopsMinWidth = 20.0f;
- const float k_ClipLabelPadding = 6.0f;
- const float k_ClipLabelMinWidth = 10.0f;
- const float k_IconsPadding = 1.0f;
- const float k_ClipInlineWidth = 1.0f;
-
- static readonly GUIContent s_TitleContent = new GUIContent();
- static readonly IconData[] k_ClipErrorIcons = { new IconData {icon = Styles.iconWarn, tint = DirectorStyles.kClipErrorColor} };
- static readonly Dictionary<int, string> s_LoopStringCache = new Dictionary<int, string>(100);
-
- // caches the loopstring to avoid allocation from string concats
- static string GetLoopString(int loopIndex)
- {
- string loopString = null;
- if (!s_LoopStringCache.TryGetValue(loopIndex, out loopString))
- {
- loopString = "L" + loopIndex;
- s_LoopStringCache[loopIndex] = loopString;
- }
- return loopString;
- }
-
- static void DrawLoops(ClipDrawData drawData)
- {
- if (drawData.loopRects == null || drawData.loopRects.Count == 0)
- return;
-
- var oldColor = GUI.color;
-
- int loopIndex = drawData.minLoopIndex;
- for (int l = 0; l < drawData.loopRects.Count; l++)
- {
- Rect theRect = drawData.loopRects[l];
- theRect.x -= drawData.unclippedRect.x;
- theRect.x += 1;
- theRect.width -= 2.0f;
- theRect.y = 5.0f;
- theRect.height -= 4.0f;
- theRect.xMin -= 4f;
-
- if (theRect.width >= 5f)
- {
- using (new GUIViewportScope(drawData.clipCenterSection))
- {
- GUI.color = new Color(0.0f, 0.0f, 0.0f, 0.2f);
- GUI.Label(theRect, GUIContent.none, DirectorStyles.Instance.displayBackground);
-
- if (theRect.width > 36.0f)
- {
- var style = DirectorStyles.Instance.fontClipLoop;
- GUI.color = new Color(0.0f, 0.0f, 0.0f, 0.3f);
- var loopContent = new GUIContent(drawData.supportsLooping ? GetLoopString(loopIndex) : Styles.HoldText);
- GUI.Label(theRect, loopContent, style);
- }
- }
- }
-
- loopIndex++;
-
- if (!drawData.supportsLooping)
- break;
- }
-
- GUI.color = oldColor;
- }
-
- static void DrawClipBorder(ClipDrawData drawData)
- {
- var animTrack = drawData.clip.parentTrack as AnimationTrack;
- var selectionBorder = ClipBorder.Selection();
-
- if (TimelineWindow.instance.state.recording && animTrack == null && drawData.clip.parentTrack.IsRecordingToClip(drawData.clip))
- {
- DrawClipSelectionBorder(drawData.clipCenterSection, selectionBorder, drawData.clipBlends);
- return;
- }
-
- DrawClipDefaultBorder(drawData.clipCenterSection, ClipBorder.Default(), drawData.clipBlends);
-
- if (drawData.selected)
- DrawClipSelectionBorder(drawData.clipCenterSection, selectionBorder, drawData.clipBlends);
-
- if (drawData.previousClip != null && drawData.previousClipSelected)
- DrawClipBlendSelectionBorder(drawData.clipCenterSection, selectionBorder, drawData.clipBlends);
- }
-
- public static void DrawClipSelectionBorder(Rect clipRect, ClipBorder border, ClipBlends blends)
- {
- var thickness = border.thickness;
- var color = border.color;
- var min = clipRect.min;
- var max = clipRect.max;
-
- //Left line
- if (blends.inKind == BlendKind.None)
- EditorGUI.DrawRect(new Rect(min.x, min.y, thickness, max.y - min.y), color);
- else
- DrawBlendLine(blends.inRect, blends.inKind == BlendKind.Mix ? BlendAngle.Descending : BlendAngle.Ascending, thickness, color);
-
- //Right line
- if (blends.outKind == BlendKind.None)
- EditorGUI.DrawRect(new Rect(max.x - thickness, min.y, thickness, max.y - min.y), color);
- else
- DrawBlendLine(blends.outRect, BlendAngle.Descending, thickness, color);
-
- //Top line
- var xTop1 = blends.inKind == BlendKind.Mix ? blends.inRect.xMin : min.x;
- var xTop2 = max.x;
- EditorGUI.DrawRect(new Rect(xTop1, min.y, xTop2 - xTop1, thickness), color);
-
- //Bottom line
- var xBottom1 = blends.inKind == BlendKind.Ease ? blends.inRect.xMin : min.x;
- var xBottom2 = blends.outKind == BlendKind.None ? max.x : blends.outRect.xMax;
- EditorGUI.DrawRect(new Rect(xBottom1, max.y - thickness, xBottom2 - xBottom1, thickness), color);
- }
-
- static Vector3[] s_BlendLines = new Vector3[4];
- static void DrawBlendLine(Rect rect, BlendAngle blendAngle, float width, Color color)
- {
- var halfWidth = width / 2.0f;
- Vector2 p0, p1;
- var inverse = 1.0f;
- if (blendAngle == BlendAngle.Descending)
- {
- p0 = rect.min;
- p1 = rect.max;
- }
- else
- {
- p0 = new Vector2(rect.xMax, rect.yMin);
- p1 = new Vector2(rect.xMin, rect.yMax);
- inverse = -1.0f;
- }
- s_BlendLines[0] = new Vector3(p0.x - halfWidth, p0.y + halfWidth * inverse);
- s_BlendLines[1] = new Vector3(p1.x - halfWidth, p1.y + halfWidth * inverse);
- s_BlendLines[2] = new Vector3(p1.x + halfWidth, p1.y - halfWidth * inverse);
- s_BlendLines[3] = new Vector3(p0.x + halfWidth, p0.y - halfWidth * inverse);
- Graphics.DrawPolygonAA(color, s_BlendLines);
- }
-
- static void DrawClipBlendSelectionBorder(Rect clipRect, ClipBorder border, ClipBlends blends)
- {
- var color = border.color;
- var thickness = border.thickness;
- if (blends.inKind == BlendKind.Mix)
- {
- DrawBlendLine(blends.inRect, BlendAngle.Descending, thickness, color);
- var xBottom1 = blends.inRect.xMin;
- var xBottom2 = blends.inRect.xMax;
- EditorGUI.DrawRect(new Rect(xBottom1, clipRect.max.y - thickness, xBottom2 - xBottom1, thickness), color);
- }
- }
-
- static void DrawClipDefaultBorder(Rect clipRect, ClipBorder border, ClipBlends blends)
- {
- var color = border.color;
- var thickness = border.thickness;
-
- // Draw vertical lines at the edges of the clip
- EditorGUI.DrawRect(new Rect(clipRect.xMin, clipRect.y, thickness, clipRect.height), color); //left
- //only draw the right one when no out mix blend
- if (blends.outKind != BlendKind.Mix)
- EditorGUI.DrawRect(new Rect(clipRect.xMax - thickness, clipRect.y, thickness, clipRect.height), color); //right
- //draw a vertical line for the previous clip
- if (blends.inKind == BlendKind.Mix)
- EditorGUI.DrawRect(new Rect(blends.inRect.xMin, blends.inRect.y, thickness, blends.inRect.height), color); //left
-
- //Draw blend line
- if (blends.inKind == BlendKind.Mix)
- DrawBlendLine(blends.inRect, BlendAngle.Descending, thickness, color);
- }
-
- static void DrawClipTimescale(Rect targetRect, Rect clippedRect, double timeScale)
- {
- if (timeScale != 1.0)
- {
- const float xOffset = 4.0f;
- const float yOffset = 6.0f;
- var segmentLength = timeScale > 1.0f ? 5.0f : 15.0f;
-
- // clamp to the visible region to reduce the line count (case 1213189), but adject the start segment to match the visuals of drawing targetRect
- var startX = clippedRect.min.x - ((clippedRect.min.x - targetRect.min.x) % (segmentLength*2));
- var endX = clippedRect.max.x;
-
- var start = new Vector3(startX + xOffset, targetRect.min.y + yOffset, 0.0f);
- var end = new Vector3(endX - xOffset, targetRect.min.y + yOffset, 0.0f);
-
- Graphics.DrawDottedLine(start, end, segmentLength, DirectorStyles.Instance.customSkin.colorClipFont);
- Graphics.DrawDottedLine(start + new Vector3(0.0f, 1.0f, 0.0f), end + new Vector3(0.0f, 1.0f, 0.0f), segmentLength, DirectorStyles.Instance.customSkin.colorClipFont);
- }
- }
-
- static void DrawClipInOut(Rect targetRect, TimelineClip clip)
- {
- var assetDuration = TimelineHelpers.GetClipAssetEndTime(clip);
-
- bool drawClipOut = assetDuration<double.MaxValue &&
- assetDuration - clip.end> TimeUtility.kTimeEpsilon;
-
- bool drawClipIn = clip.clipIn > 0.0;
-
- if (!drawClipIn && !drawClipOut)
- return;
-
- var rect = targetRect;
-
- if (drawClipOut)
- {
- var icon = DirectorStyles.Instance.clipOut;
- var iconRect = new Rect(rect.xMax - icon.fixedWidth - 2.0f,
- rect.yMin + (rect.height - icon.fixedHeight) * 0.5f,
- icon.fixedWidth, icon.fixedHeight);
-
- GUI.Label(iconRect, GUIContent.none, icon);
- }
-
- if (drawClipIn)
- {
- var icon = DirectorStyles.Instance.clipIn;
- var iconRect = new Rect(2.0f + rect.xMin,
- rect.yMin + (rect.height - icon.fixedHeight) * 0.5f,
- icon.fixedWidth, icon.fixedHeight);
-
- GUI.Label(iconRect, GUIContent.none, icon);
- }
- }
-
- static void DrawClipLabel(ClipDrawData data, Rect availableRect, Color color)
- {
- var errorText = data.ClipDrawOptions.errorText;
- var hasError = !string.IsNullOrEmpty(errorText);
- var textColor = hasError ? DirectorStyles.kClipErrorColor : color;
- var tooltip = hasError ? errorText : data.ClipDrawOptions.tooltip;
-
- if (hasError)
- DrawClipLabel(data.title, availableRect, textColor, k_ClipErrorIcons, null, tooltip);
- else
- DrawClipLabel(data.title, availableRect, textColor, data.leftIcons, data.rightIcons, tooltip);
- }
-
- static void DrawClipLabel(string title, Rect availableRect, Color color, string errorText = "")
- {
- var hasError = !string.IsNullOrEmpty(errorText);
- var textColor = hasError ? DirectorStyles.kClipErrorColor : color;
-
- if (hasError)
- DrawClipLabel(title, availableRect, textColor, k_ClipErrorIcons, null, errorText);
- else
- DrawClipLabel(title, availableRect, textColor, null, null, errorText);
- }
-
- static void DrawClipLabel(string title, Rect availableRect, Color textColor, IconData[] leftIcons, IconData[] rightIcons, string tooltipMessage = "")
- {
- s_TitleContent.text = title;
- var neededTextWidth = DirectorStyles.Instance.fontClip.CalcSize(s_TitleContent).x;
- var neededIconWidthLeft = 0.0f;
- var neededIconWidthRight = 0.0f;
-
- if (leftIcons != null)
- for (int i = 0, n = leftIcons.Length; i < n; ++i)
- neededIconWidthLeft += leftIcons[i].width + k_IconsPadding;
-
- if (rightIcons != null)
- for (int i = 0, n = rightIcons.Length; i < n; ++i)
- neededIconWidthRight += rightIcons[i].width + k_IconsPadding;
-
- var neededIconWidth = Mathf.Max(neededIconWidthLeft, neededIconWidthRight);
-
- // Atomic operation: We either show all icons or no icons at all
- var showIcons = neededTextWidth / 2.0f + neededIconWidth < availableRect.width / 2.0f;
-
- if (showIcons)
- {
- if (leftIcons != null)
- DrawClipIcons(leftIcons, IconData.Side.Left, neededTextWidth, availableRect);
-
- if (rightIcons != null)
- DrawClipIcons(rightIcons, IconData.Side.Right, neededTextWidth, availableRect);
- }
-
- if (neededTextWidth > availableRect.width)
- s_TitleContent.text = DirectorStyles.Elipsify(title, availableRect.width, neededTextWidth);
-
- s_TitleContent.tooltip = tooltipMessage;
- DrawClipName(availableRect, s_TitleContent, textColor);
- }
-
- static void DrawClipIcons(IconData[] icons, IconData.Side side, float labelWidth, Rect availableRect)
- {
- var halfText = labelWidth / 2.0f;
- var offset = halfText + k_IconsPadding;
-
- foreach (var iconData in icons)
- {
- offset += iconData.width / 2.0f + k_IconsPadding;
-
- var iconRect =
- new Rect(0.0f, 0.0f, iconData.width, iconData.height)
- {
- center = new Vector2(availableRect.center.x + offset * (int)side, availableRect.center.y)
- };
-
- DrawIcon(iconRect, iconData.tint, iconData.icon);
-
- offset += iconData.width / 2.0f;
- }
- }
-
- static void DrawClipName(Rect rect, GUIContent content, Color textColor)
- {
- Graphics.ShadowLabel(rect, content, DirectorStyles.Instance.fontClip, textColor, Color.black);
- }
-
- static void DrawIcon(Rect imageRect, Color color, Texture2D icon)
- {
- GUI.DrawTexture(imageRect, icon, ScaleMode.ScaleAndCrop, true, 0, color, 0, 0);
- }
-
- static void DrawClipBackground(Rect clipCenterSection, bool selected)
- {
- if (Event.current.type != EventType.Repaint)
- return;
-
- var color = selected ? DirectorStyles.Instance.customSkin.clipSelectedBckg : DirectorStyles.Instance.customSkin.clipBckg;
- EditorGUI.DrawRect(clipCenterSection, color);
- }
-
- static Vector3[] s_BlendVertices = new Vector3[3];
- static void DrawClipBlends(ClipBlends blends, Color inColor, Color outColor, Color backgroundColor)
- {
- switch (blends.inKind)
- {
- case BlendKind.Ease:
- // 2
- // / |
- // / |
- // 0---1
- EditorGUI.DrawRect(blends.inRect, backgroundColor);
- s_BlendVertices[0] = new Vector3(blends.inRect.xMin, blends.inRect.yMax);
- s_BlendVertices[1] = new Vector3(blends.inRect.xMax, blends.inRect.yMax);
- s_BlendVertices[2] = new Vector3(blends.inRect.xMax, blends.inRect.yMin);
- Graphics.DrawPolygonAA(inColor, s_BlendVertices);
- break;
- case BlendKind.Mix:
- // 0---2
- // \ |
- // \ |
- // 1
- s_BlendVertices[0] = new Vector3(blends.inRect.xMin, blends.inRect.yMin);
- s_BlendVertices[1] = new Vector3(blends.inRect.xMax, blends.inRect.yMax);
- s_BlendVertices[2] = new Vector3(blends.inRect.xMax, blends.inRect.yMin);
- Graphics.DrawPolygonAA(inColor, s_BlendVertices);
- break;
- }
-
- if (blends.outKind != BlendKind.None)
- {
- if (blends.outKind == BlendKind.Ease)
- EditorGUI.DrawRect(blends.outRect, backgroundColor);
- // 0
- // | \
- // | \
- // 1---2
- s_BlendVertices[0] = new Vector3(blends.outRect.xMin, blends.outRect.yMin);
- s_BlendVertices[1] = new Vector3(blends.outRect.xMin, blends.outRect.yMax);
- s_BlendVertices[2] = new Vector3(blends.outRect.xMax, blends.outRect.yMax);
- Graphics.DrawPolygonAA(outColor, s_BlendVertices);
- }
- }
-
- static void DrawClipSwatch(Rect targetRect, Color swatchColor)
- {
- // Draw Colored Line at the bottom.
- var colorRect = targetRect;
- colorRect.yMin = colorRect.yMax - k_ClipSwatchLineThickness;
- EditorGUI.DrawRect(colorRect, swatchColor);
- }
-
- public static void DrawSimpleClip(TimelineClip clip, Rect targetRect, ClipBorder border, Color overlay, ClipDrawOptions drawOptions)
- {
- GUI.BeginClip(targetRect);
- var clipRect = new Rect(0.0f, 0.0f, targetRect.width, targetRect.height);
-
- var orgColor = GUI.color;
- GUI.color = overlay;
-
- DrawClipBackground(clipRect, false);
- GUI.color = orgColor;
-
- if (clipRect.width <= k_MinClipWidth)
- {
- clipRect.width = k_MinClipWidth;
- }
-
- DrawClipSwatch(targetRect, drawOptions.highlightColor * overlay);
-
- if (targetRect.width >= k_ClipInOutMinWidth)
- DrawClipInOut(clipRect, clip);
-
- var textRect = clipRect;
-
- textRect.xMin += k_ClipLabelPadding;
- textRect.xMax -= k_ClipLabelPadding;
-
- if (textRect.width > k_ClipLabelMinWidth)
- DrawClipLabel(clip.displayName, textRect, Color.white, drawOptions.errorText);
-
- if (border != null)
- DrawClipSelectionBorder(clipRect, border, ClipBlends.kNone);
-
- GUI.EndClip();
- }
-
- public static void DrawDefaultClip(ClipDrawData drawData)
- {
- var customSkin = DirectorStyles.Instance.customSkin;
- var blendInColor = drawData.selected ? customSkin.clipBlendInSelected : customSkin.clipBlendIn;
- var blendOutColor = drawData.selected ? customSkin.clipBlendOutSelected : customSkin.clipBlendOut;
- var easeBackgroundColor = customSkin.clipEaseBckgColor;
-
- DrawClipBlends(drawData.clipBlends, blendInColor, blendOutColor, easeBackgroundColor);
- DrawClipBackground(drawData.clipCenterSection, drawData.selected);
-
- if (drawData.targetRect.width > k_MinClipWidth)
- {
- DrawClipEditorBackground(drawData);
- }
- else
- {
- drawData.targetRect.width = k_MinClipWidth;
- drawData.clipCenterSection.width = k_MinClipWidth;
- }
-
- DrawClipTimescale(drawData.targetRect, drawData.clippedRect, drawData.clip.timeScale);
-
- if (drawData.targetRect.width >= k_ClipInOutMinWidth)
- DrawClipInOut(drawData.targetRect, drawData.clip);
-
- var labelRect = drawData.clipCenterSection;
-
- if (drawData.targetRect.width >= k_ClipLoopsMinWidth)
- {
- bool selected = drawData.selected || drawData.inlineCurvesSelected;
-
- if (selected)
- {
- if (drawData.loopRects != null && drawData.loopRects.Any())
- {
- DrawLoops(drawData);
-
- var l = drawData.loopRects[0];
- labelRect.xMax = Math.Min(labelRect.xMax, l.x - drawData.unclippedRect.x);
- }
- }
- }
-
- labelRect.xMin += k_ClipLabelPadding;
- labelRect.xMax -= k_ClipLabelPadding;
-
- if (labelRect.width > k_ClipLabelMinWidth)
- {
- DrawClipLabel(drawData, labelRect, Color.white);
- }
-
- DrawClipSwatch(drawData.targetRect, drawData.ClipDrawOptions.highlightColor);
- DrawClipBorder(drawData);
- }
-
- static void DrawClipEditorBackground(ClipDrawData drawData)
- {
- var isRepaint = (Event.current.type == EventType.Repaint);
- if (isRepaint && drawData.clipEditor != null)
- {
- var customBodyRect = drawData.clippedRect;
- customBodyRect.yMin += k_ClipInlineWidth;
- customBodyRect.yMax -= k_ClipSwatchLineThickness;
- var region = new ClipBackgroundRegion(customBodyRect, drawData.localVisibleStartTime, drawData.localVisibleEndTime);
- try
- {
- drawData.clipEditor.DrawBackground(drawData.clip, region);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
- }
- }
-
- public static void DrawAnimationRecordBorder(ClipDrawData drawData)
- {
- if (!drawData.clip.parentTrack.IsRecordingToClip(drawData.clip))
- return;
-
- var time = new DiscreteTime(TimelineWindow.instance.state.editSequence.time);
- var start = new DiscreteTime(drawData.clip.start + drawData.clip.mixInDuration);
- var end = new DiscreteTime(drawData.clip.end - drawData.clip.mixOutDuration);
-
- if (time < start || time >= end)
- return;
-
- DrawClipSelectionBorder(drawData.clipCenterSection, ClipBorder.Recording(), ClipBlends.kNone);
- }
-
- public static void DrawRecordProhibited(ClipDrawData drawData)
- {
- DrawRecordInvalidClip(drawData);
- DrawRecordOnBlend(drawData);
- }
-
- public static void DrawRecordOnBlend(ClipDrawData drawData)
- {
- double time = TimelineWindow.instance.state.editSequence.time;
- if (time >= drawData.clip.start && time < drawData.clip.start + drawData.clip.mixInDuration)
- {
- Rect r = Rect.MinMaxRect(drawData.clippedRect.xMin, drawData.clippedRect.yMin, drawData.clipCenterSection.xMin, drawData.clippedRect.yMax);
- DrawInvalidRecordIcon(r, Styles.s_ClipNoRecordInBlend);
- }
-
- if (time <= drawData.clip.end && time > drawData.clip.end - drawData.clip.mixOutDuration)
- {
- Rect r = Rect.MinMaxRect(drawData.clipCenterSection.xMax, drawData.clippedRect.yMin, drawData.clippedRect.xMax, drawData.clippedRect.yMax);
- DrawInvalidRecordIcon(r, Styles.s_ClipNoRecordInBlend);
- }
- }
-
- public static void DrawRecordInvalidClip(ClipDrawData drawData)
- {
- if (drawData.clip.recordable)
- return;
-
- double time = TimelineWindow.instance.state.editSequence.time;
- if (time < drawData.clip.start + drawData.clip.mixInDuration || time > drawData.clip.end - drawData.clip.mixOutDuration)
- return;
-
- DrawInvalidRecordIcon(drawData.clipCenterSection, Styles.s_ClipNotRecorable);
- }
-
- public static void DrawInvalidRecordIcon(Rect rect, GUIContent helpText)
- {
- EditorGUI.DrawRect(rect, new Color(0, 0, 0, 0.30f));
-
- var icon = Styles.s_IconNoRecord;
- if (rect.width < icon.width || rect.height < icon.height)
- return;
-
- float x = rect.x + (rect.width - icon.width) * 0.5f;
- float y = rect.y + (rect.height - icon.height) * 0.5f;
- Rect r = new Rect(x, y, icon.width, icon.height);
- GUI.Label(r, helpText);
- GUI.DrawTexture(r, icon, ScaleMode.ScaleAndCrop, true, 0, Color.white, 0, 0);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/ClipDrawer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/ClipDrawer.cs.meta
deleted file mode 100644
index e1493e6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/ClipDrawer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 63118a0c9ee42ac46b7f30e793177a76
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/InfiniteTrackDrawer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/InfiniteTrackDrawer.cs
deleted file mode 100644
index b2c5d7f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/InfiniteTrackDrawer.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class InfiniteTrackDrawer : TrackDrawer
- {
- readonly IPropertyKeyDataSource m_DataSource;
- Rect m_TrackRect;
-
- public InfiniteTrackDrawer(IPropertyKeyDataSource dataSource)
- {
- m_DataSource = dataSource;
- }
-
- public bool CanDraw(TrackAsset track, WindowState state)
- {
- var keys = m_DataSource.GetKeys();
- var isTrackEmpty = track.clips.Length == 0;
-
- return keys != null || (state.IsArmedForRecord(track) && isTrackEmpty);
- }
-
- static void DrawRecordBackground(Rect trackRect)
- {
- var styles = DirectorStyles.Instance;
-
- EditorGUI.DrawRect(trackRect, styles.customSkin.colorInfiniteTrackBackgroundRecording);
-
- Graphics.ShadowLabel(trackRect,
- DirectorStyles.Elipsify(DirectorStyles.recordingLabel.text, trackRect, styles.fontClip),
- styles.fontClip, Color.white, Color.black);
- }
-
- public override bool DrawTrack(Rect trackRect, TrackAsset trackAsset, Vector2 visibleTime, WindowState state)
- {
- m_TrackRect = trackRect;
-
- if (!CanDraw(trackAsset, state))
- return true;
-
- if (state.recording && state.IsArmedForRecord(trackAsset))
- DrawRecordBackground(trackRect);
-
- GUI.Box(trackRect, GUIContent.none, DirectorStyles.Instance.infiniteTrack);
-
- var shadowRect = trackRect;
- shadowRect.yMin = shadowRect.yMax;
- shadowRect.height = 15.0f;
- if (Event.current.type == EventType.Repaint)
- DirectorStyles.Instance.bottomShadow.Draw(shadowRect, false, false, false, false);
-
- var keys = m_DataSource.GetKeys();
- if (keys != null && keys.Length > 0)
- {
- foreach (var k in keys)
- DrawKeyFrame(k, state);
- }
-
- return true;
- }
-
- void DrawKeyFrame(float key, WindowState state)
- {
- var x = state.TimeToPixel(key);
- var bounds = new Rect(x, m_TrackRect.yMin + 3.0f, 1.0f, m_TrackRect.height - 6.0f);
-
- if (!m_TrackRect.Overlaps(bounds))
- return;
-
- var iconWidth = DirectorStyles.Instance.keyframe.fixedWidth;
- var iconHeight = DirectorStyles.Instance.keyframe.fixedHeight;
-
- var keyframeRect = bounds;
- keyframeRect.width = iconWidth;
- keyframeRect.height = iconHeight;
- keyframeRect.xMin -= iconWidth / 2.0f;
- keyframeRect.yMin = m_TrackRect.yMin + ((m_TrackRect.height - iconHeight) / 2.0f);
-
- // case 890650 : Make sure to use GUI.Label and not GUI.Box since the number of key frames can vary while dragging keys in the inline curves causing hotControls to be desynchronized
- GUI.Label(keyframeRect, GUIContent.none, DirectorStyles.Instance.keyframe);
-
- EditorGUI.DrawRect(bounds, DirectorStyles.Instance.customSkin.colorInfiniteClipLine);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/InfiniteTrackDrawer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/InfiniteTrackDrawer.cs.meta
deleted file mode 100644
index fd7c0b5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/InfiniteTrackDrawer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5ea6a8a826704f743b3b0ce3e9d3c9a9
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers.meta
deleted file mode 100644
index 920cf3a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 16388ae022a89264b84107f0c1b44680
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ClipsLayer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ClipsLayer.cs
deleted file mode 100644
index 910123e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ClipsLayer.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class ClipsLayer : ItemsLayer
- {
- static readonly GUIStyle k_ConnectorIcon = DirectorStyles.Instance.connector;
-
- public ClipsLayer(Layer layerOrder, IRowGUI parent) : base(layerOrder)
- {
- var track = parent.asset;
- track.SortClips();
- TimelineClipGUI previousClipGUI = null;
-
- foreach (var clip in track.clips)
- {
- var oldClipGUI = ItemToItemGui.GetGuiForClip(clip);
- var isInvalid = oldClipGUI != null && oldClipGUI.isInvalid; // HACK Make sure to carry invalidy state when refereshing the cache.
-
- var currentClipGUI = new TimelineClipGUI(clip, parent, this) {isInvalid = isInvalid};
- if (previousClipGUI != null) previousClipGUI.nextClip = currentClipGUI;
- currentClipGUI.previousClip = previousClipGUI;
- AddItem(currentClipGUI);
- previousClipGUI = currentClipGUI;
- }
- }
-
- public override void Draw(Rect rect, WindowState state)
- {
- base.Draw(rect, state); //draw clips
- DrawConnector(items.OfType<TimelineClipGUI>());
- }
-
- static void DrawConnector(IEnumerable<TimelineClipGUI> clips)
- {
- if (Event.current.type != EventType.Repaint)
- return;
-
- foreach (var clip in clips)
- {
- if (clip.previousClip != null && clip.visible && clip.treeViewRect.width > 14 &&
- (DiscreteTime)clip.start == (DiscreteTime)clip.previousClip.end)
- {
- // draw little connector widget
- var localRect = clip.treeViewRect;
- localRect.x -= Mathf.Floor(k_ConnectorIcon.fixedWidth / 2.0f);
- localRect.width = k_ConnectorIcon.fixedWidth;
- localRect.height = k_ConnectorIcon.fixedHeight;
- GUI.Label(localRect, GUIContent.none, k_ConnectorIcon);
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ClipsLayer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ClipsLayer.cs.meta
deleted file mode 100644
index 58ef809..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ClipsLayer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a809a4b50addbf44b9023b5e7f9fd4d2
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ItemsLayer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ItemsLayer.cs
deleted file mode 100644
index 7446d59..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ItemsLayer.cs
+++ /dev/null
@@ -1,134 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- enum Layer : byte
- {
- Clips,
- ClipHandles,
- Markers,
- MarkerHeaderTrack,
- MarkersOnHeader
- }
-
- struct LayerZOrder : IComparable<LayerZOrder>
- {
- Layer m_Layer;
- int m_ZOrder;
-
- public LayerZOrder(Layer layer, int zOrder)
- {
- m_Layer = layer;
- m_ZOrder = zOrder;
- }
-
- public int CompareTo(LayerZOrder other)
- {
- if (m_Layer == other.m_Layer)
- return m_ZOrder.CompareTo(other.m_ZOrder);
- return m_Layer.CompareTo(other.m_Layer);
- }
-
- public static LayerZOrder operator++(LayerZOrder x)
- {
- return new LayerZOrder(x.m_Layer, x.m_ZOrder + 1);
- }
-
- public LayerZOrder ChangeLayer(Layer layer)
- {
- return new LayerZOrder(layer, m_ZOrder);
- }
- }
-
- interface ILayerable
- {
- LayerZOrder zOrder { get; }
- }
-
- interface IZOrderProvider
- {
- LayerZOrder Next();
- }
-
- abstract class ItemsLayer : IZOrderProvider
- {
- // provide a buffer for time-based culling to allow for UI that extends slightly beyong the time (e.g. markers)
- // prevents popping of marker visibility.
- private const int kVisibilityBufferInPixels = 10;
-
- int m_PreviousLayerStateHash = -1;
- LayerZOrder m_LastZOrder;
-
- public LayerZOrder Next()
- {
- return m_LastZOrder++;
- }
-
- readonly List<TimelineItemGUI> m_Items = new List<TimelineItemGUI>();
- bool m_NeedSort = true;
-
- public virtual void Draw(Rect rect, WindowState state)
- {
- if (!m_Items.Any()) return;
-
- Sort();
-
- // buffer to prevent flickering of markers at boundaries
- var onePixelTime = state.PixelDeltaToDeltaTime(kVisibilityBufferInPixels);
- var visibleTime = state.timeAreaShownRange + new Vector2(-onePixelTime, onePixelTime);
- var layerViewStateHasChanged = GetLayerViewStateChanged(rect, state);
-
- foreach (var item in m_Items)
- {
- item.visible = item.end > visibleTime.x && item.start < visibleTime.y;
- if (!item.visible)
- continue;
-
- item.Draw(rect, layerViewStateHasChanged, state);
- }
- }
-
- public IEnumerable<TimelineItemGUI> items
- {
- get
- {
- return m_Items;
- }
- }
-
- protected void AddItem(TimelineItemGUI item)
- {
- m_Items.Add(item);
- m_NeedSort = true;
- }
-
- protected ItemsLayer(Layer layerOrder)
- {
- m_LastZOrder = new LayerZOrder(layerOrder, 0);
- }
-
- void Sort()
- {
- if (!m_NeedSort)
- return;
-
- m_Items.Sort((a, b) => a.zOrder.CompareTo(b.zOrder));
- m_NeedSort = false;
- }
-
- bool GetLayerViewStateChanged(Rect rect, WindowState state)
- {
- var layerStateHash = rect.GetHashCode().CombineHash(state.viewStateHash);
- var layerViewStateHasChanged = layerStateHash != m_PreviousLayerStateHash;
-
- if (Event.current.type == EventType.Layout && layerViewStateHasChanged)
- m_PreviousLayerStateHash = layerStateHash;
-
- return layerViewStateHasChanged;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ItemsLayer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ItemsLayer.cs.meta
deleted file mode 100644
index 5ebff18..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/ItemsLayer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ef97f39912c138b4cabdccedfb24093b
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/MarkersLayer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/MarkersLayer.cs
deleted file mode 100644
index 50d1432..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/MarkersLayer.cs
+++ /dev/null
@@ -1,80 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class MarkersLayer : ItemsLayer
- {
- public MarkersLayer(Layer layerOrder, IRowGUI parent) : base(layerOrder)
- {
- CreateLists(parent);
- }
-
- void CreateLists(IRowGUI parent)
- {
- var markerCount = parent.asset.GetMarkerCount();
- if (markerCount == 0) return;
-
- var accumulator = new List<IMarker>();
- var sortedMarkers = new List<IMarker>(parent.asset.GetMarkers());
- var vm = TimelineWindowViewPrefs.GetTrackViewModelData(parent.asset);
-
- sortedMarkers.Sort((lhs, rhs) =>
- {
- // Sort by time first
- var timeComparison = lhs.time.CompareTo(rhs.time);
- if (timeComparison != 0)
- return timeComparison;
-
- // If there's a collision, sort by edit timestamp
- var lhsObject = lhs as object;
- var rhsObject = rhs as object;
-
- if (lhsObject.Equals(null) || rhsObject.Equals(null))
- return 0;
-
- var lhsHash = lhsObject.GetHashCode();
- var rhsHash = rhsObject.GetHashCode();
-
- if (vm.markerTimeStamps.ContainsKey(lhsHash) && vm.markerTimeStamps.ContainsKey(rhsHash))
- return vm.markerTimeStamps[lhsHash].CompareTo(vm.markerTimeStamps[rhsHash]);
-
- return 0;
- });
-
- foreach (var current in sortedMarkers)
- {
- // TODO: Take zoom factor into account?
- if (accumulator.Count > 0 && Math.Abs(current.time - accumulator[accumulator.Count - 1].time) > TimeUtility.kTimeEpsilon)
- ProcessAccumulator(accumulator, parent);
-
- accumulator.Add(current);
- }
-
- ProcessAccumulator(accumulator, parent);
- }
-
- void ProcessAccumulator(List<IMarker> accumulator, IRowGUI parent)
- {
- if (accumulator.Count == 0) return;
-
- if (accumulator.Count == 1)
- {
- AddItem(new TimelineMarkerGUI(accumulator[0], parent, this));
- }
- else
- {
- // Ensure that the cluster is always considered *below* the markers it contains.
- var clusterZOrder = Next();
- AddItem(
- new TimelineMarkerClusterGUI(
- accumulator.Select(m => new TimelineMarkerGUI(m, parent, this)).ToList(),
- parent, this, clusterZOrder));
- }
-
- accumulator.Clear();
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/MarkersLayer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/MarkersLayer.cs.meta
deleted file mode 100644
index 32b0787..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/Layers/MarkersLayer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: bea62e1faac8f9a48a4cb919ea05cb6a
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackDrawer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackDrawer.cs
deleted file mode 100644
index a29fefa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackDrawer.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-namespace UnityEditor.Timeline
-{
- class TrackDrawer : GUIDrawer
- {
- internal WindowState sequencerState { get; set; }
-
-
- public static TrackDrawer CreateInstance(TrackAsset trackAsset)
- {
- if (trackAsset == null)
- return Activator.CreateInstance<TrackDrawer>();
-
- TrackDrawer drawer;
-
- try
- {
- drawer = (TrackDrawer)Activator.CreateInstance(TimelineHelpers.GetCustomDrawer(trackAsset.GetType()));
- }
- catch (Exception)
- {
- drawer = Activator.CreateInstance<TrackDrawer>();
- }
-
- drawer.track = trackAsset;
- return drawer;
- }
-
- protected TrackAsset track { get; private set; }
-
- public virtual bool DrawTrackHeaderButton(Rect rect, TrackAsset track, WindowState state)
- {
- return false;
- }
-
- public virtual bool DrawTrack(Rect trackRect, TrackAsset trackAsset, Vector2 visibleTime, WindowState state)
- {
- return false;
- }
-
- public virtual void DrawRecordingBackground(Rect trackRect, TrackAsset trackAsset, Vector2 visibleTime, WindowState state)
- {
- EditorGUI.DrawRect(trackRect, DirectorStyles.Instance.customSkin.colorTrackBackgroundRecording);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackDrawer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackDrawer.cs.meta
deleted file mode 100644
index 9588043..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackDrawer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9a0f991b6c2f45b44b92e163f9969e8e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackItemsDrawer.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackItemsDrawer.cs
deleted file mode 100644
index 677c2fe..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackItemsDrawer.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- struct TrackItemsDrawer
- {
- List<ItemsLayer> m_Layers;
- ClipsLayer m_ClipsLayer;
-
- public IEnumerable<TimelineClipGUI> clips
- {
- get { return m_ClipsLayer.items.Cast<TimelineClipGUI>(); }
- }
-
- public TrackItemsDrawer(IRowGUI parent)
- {
- m_Layers = null;
- m_ClipsLayer = null;
- BuildGUICache(parent);
- }
-
- void BuildGUICache(IRowGUI parent)
- {
- m_ClipsLayer = new ClipsLayer(Layer.Clips, parent);
- m_Layers = new List<ItemsLayer>
- {
- m_ClipsLayer,
- new MarkersLayer(Layer.Markers, parent)
- };
- }
-
- public void Draw(Rect rect, WindowState state)
- {
- foreach (var layer in m_Layers)
- {
- layer.Draw(rect, state);
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackItemsDrawer.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackItemsDrawer.cs.meta
deleted file mode 100644
index d41923c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Drawers/TrackItemsDrawer.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: c7137daaeb11e8647bf1ade9b7e9aa97
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IPropertyKeyDataSource.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IPropertyKeyDataSource.cs
deleted file mode 100644
index a26deb6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IPropertyKeyDataSource.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using UnityEditorInternal;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- interface IPropertyKeyDataSource
- {
- float[] GetKeys(); // Get the keys
- Dictionary<float, string> GetDescriptions(); // Caches for descriptions
- }
-
- abstract class BasePropertyKeyDataSource : IPropertyKeyDataSource
- {
- static readonly StringBuilder k_StringBuilder = new StringBuilder();
-
- protected abstract AnimationClip animationClip { get; }
-
- public virtual float[] GetKeys()
- {
- if (animationClip == null)
- return null;
-
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(animationClip);
- return info.keyTimes.Select(TransformKeyTime).ToArray();
- }
-
- public virtual Dictionary<float, string> GetDescriptions()
- {
- var map = new Dictionary<float, string>();
- var info = AnimationClipCurveCache.Instance.GetCurveInfo(animationClip);
- var processed = new HashSet<string>();
-
- foreach (var b in info.bindings)
- {
- var groupID = b.GetGroupID();
- if (processed.Contains(groupID))
- continue;
-
- var group = info.GetGroupBinding(groupID);
- var prefix = AnimationWindowUtility.GetNicePropertyGroupDisplayName(b.type, b.propertyName);
-
- foreach (var t in info.keyTimes)
- {
- k_StringBuilder.Length = 0;
-
- var key = TransformKeyTime(t);
- if (map.ContainsKey(key))
- k_StringBuilder.Append(map[key])
- .Append('\n');
-
- k_StringBuilder.Append(prefix)
- .Append(" : ")
- .Append(group.GetDescription(key));
-
- map[key] = k_StringBuilder.ToString();
- }
- processed.Add(groupID);
- }
-
- return map;
- }
-
- protected virtual float TransformKeyTime(float keyTime)
- {
- return keyTime;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IPropertyKeyDataSource.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IPropertyKeyDataSource.cs.meta
deleted file mode 100644
index 4c8993c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IPropertyKeyDataSource.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ee83d5e1ad2ac4c9aa39e3a6f256062e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IRowGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IRowGUI.cs
deleted file mode 100644
index 0745c6a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IRowGUI.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- interface IRowGUI
- {
- TrackAsset asset { get; }
- Rect boundingRect { get; }
- bool locked { get; }
- bool showMarkers { get; }
- bool muted { get; }
-
- Rect ToWindowSpace(Rect treeViewRect);
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IRowGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IRowGUI.cs.meta
deleted file mode 100644
index 26dcaed..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/IRowGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5ecec8cdc3ff99e4a9c65635d7e6b043
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/InlineCurveEditor.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/InlineCurveEditor.cs
deleted file mode 100644
index 0bff23f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/InlineCurveEditor.cs
+++ /dev/null
@@ -1,299 +0,0 @@
-using System.Linq;
-using JetBrains.Annotations;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- interface IClipCurveEditorOwner
- {
- ClipCurveEditor clipCurveEditor { get; }
- bool inlineCurvesSelected { get; set; }
- bool showLoops { get; }
- TrackAsset owner { get; }
- }
-
- class InlineCurveResizeHandle : IBounds
- {
- public Rect boundingRect { get; private set; }
-
- public TimelineTrackGUI trackGUI { get; }
-
- public InlineCurveResizeHandle(TimelineTrackGUI trackGUI)
- {
- this.trackGUI = trackGUI;
- }
-
- public void Draw(Rect headerRect, Rect trackRect, WindowState state)
- {
- var rect = new Rect(headerRect.xMax + 4, headerRect.yMax - 5.0f, trackRect.width - 4, 5.0f);
-
- var handleColor = Handles.color;
- Handles.color = Color.black;
- Handles.DrawAAPolyLine(1.0f,
- new Vector3(rect.x, rect.yMax, 0.0f),
- new Vector3(rect.xMax, rect.yMax, 0.0f));
- Handles.color = handleColor;
-
- EditorGUIUtility.AddCursorRect(rect, MouseCursor.SplitResizeUpDown);
-
- boundingRect = trackGUI.ToWindowSpace(rect);
-
- if (Event.current.type == EventType.Repaint)
- {
- state.spacePartitioner.AddBounds(this);
-
- var dragStyle = new GUIStyle("RL DragHandle");
- dragStyle.Draw(rect, GUIContent.none, false, false, false, false);
- }
- }
- }
-
- class InlineCurveEditor : IBounds
- {
- Rect m_TrackRect;
- Rect m_HeaderRect;
- readonly TimelineTrackGUI m_TrackGUI;
- readonly InlineCurveResizeHandle m_ResizeHandle;
-
- bool m_LastSelectionWasClip;
- TimelineClipGUI m_LastSelectedClipGUI;
-
- Rect IBounds.boundingRect { get { return m_TrackGUI.ToWindowSpace(m_TrackRect); } }
-
- [UsedImplicitly] // Used in tests
- public TimelineClipGUI currentClipGui
- {
- get { return m_LastSelectedClipGUI; }
- }
-
- public IClipCurveEditorOwner currentCurveEditor
- {
- get { return m_LastSelectionWasClip ? (IClipCurveEditorOwner)m_LastSelectedClipGUI : (IClipCurveEditorOwner)m_TrackGUI; }
- }
-
- public InlineCurveEditor(TimelineTrackGUI trackGUI)
- {
- m_TrackGUI = trackGUI;
- m_ResizeHandle = new InlineCurveResizeHandle(trackGUI);
- }
-
- static bool MouseOverTrackArea(Rect curveRect, Rect trackRect)
- {
- curveRect.y = trackRect.y;
- curveRect.height = trackRect.height;
-
- // clamp the curve editor to the track. this allows the menu to scroll properly
- curveRect.xMin = Mathf.Max(curveRect.xMin, trackRect.xMin);
- curveRect.xMax = trackRect.xMax;
-
- return curveRect.Contains(Event.current.mousePosition);
- }
-
- static bool MouseOverHeaderArea(Rect headerRect, Rect trackRect)
- {
- headerRect.y = trackRect.y;
- headerRect.height = trackRect.height;
-
- return headerRect.Contains(Event.current.mousePosition);
- }
-
- static void DrawCurveEditor(IClipCurveEditorOwner clipCurveEditorOwner, WindowState state, Rect headerRect, Rect trackRect, Vector2 activeRange, bool locked)
- {
- ClipCurveEditor clipCurveEditor = clipCurveEditorOwner.clipCurveEditor;
- CurveDataSource dataSource = clipCurveEditor.dataSource;
- Rect curveRect = dataSource.GetBackgroundRect(state);
-
- bool newlySelected = false;
-
- if (Event.current.type == EventType.MouseDown || Event.current.type == EventType.ContextClick)
- newlySelected = MouseOverTrackArea(curveRect, trackRect) || MouseOverHeaderArea(headerRect, trackRect);
-
- // make sure to not use any event before drawing the curve.
- bool prevEnabledState = GUI.enabled;
- GUI.enabled = true;
- clipCurveEditorOwner.clipCurveEditor.DrawHeader(headerRect);
- GUI.enabled = prevEnabledState;
-
- bool displayAsSelected = !locked && (clipCurveEditorOwner.inlineCurvesSelected || newlySelected);
-
- using (new EditorGUI.DisabledScope(locked))
- clipCurveEditor.DrawCurveEditor(trackRect, state, activeRange, clipCurveEditorOwner.showLoops, displayAsSelected);
-
- if (newlySelected && !locked)
- {
- clipCurveEditorOwner.inlineCurvesSelected = true;
- HandleCurrentEvent();
- }
- }
-
- public void Draw(Rect headerRect, Rect trackRect, WindowState state)
- {
- m_TrackRect = trackRect;
- m_TrackRect.height -= 5.0f;
-
- if (Event.current.type == EventType.Repaint)
- state.spacePartitioner.AddBounds(this);
-
- // Remove the indentation of this track to render it properly, otherwise every GUI elements will be offsetted.
- headerRect.x -= DirectorStyles.kBaseIndent;
- headerRect.width += DirectorStyles.kBaseIndent;
-
- // Remove the width of the color swatch.
- headerRect.x += 4.0f;
- headerRect.width -= 4.0f;
-
- m_HeaderRect = headerRect;
-
- EditorGUI.DrawRect(m_HeaderRect, DirectorStyles.Instance.customSkin.colorAnimEditorBinding);
-
- if (ShouldShowClipCurves(state))
- {
- DrawCurveEditorsForClipsOnTrack(m_HeaderRect, m_TrackRect, state);
- }
- else if (ShouldShowTrackCurves())
- {
- DrawCurveEditorForTrack(m_HeaderRect, m_TrackRect, state);
- }
- else
- {
- DrawCurvesEditorForNothingSelected(m_HeaderRect, m_TrackRect, state);
- }
-
- m_ResizeHandle.Draw(headerRect, trackRect, state);
-
- // If MouseDown or ContextClick are not consumed by the curves, use the event to prevent it from going deeper into the treeview.
- if (Event.current.type == EventType.ContextClick)
- {
- var r = Rect.MinMaxRect(m_HeaderRect.xMin, m_HeaderRect.yMin, m_TrackRect.xMax, m_TrackRect.yMax);
- if (r.Contains(Event.current.mousePosition))
- Event.current.Use();
- }
-
- UpdateViewModel();
- }
-
- public void Refresh()
- {
- if (m_LastSelectionWasClip)
- RefreshInlineCurves(m_LastSelectedClipGUI);
- else
- RefreshInlineCurves(m_TrackGUI);
- }
-
- static void RefreshInlineCurves(IClipCurveEditorOwner guiItem)
- {
- if (guiItem.clipCurveEditor != null && guiItem.clipCurveEditor.dataSource != null)
- guiItem.clipCurveEditor.dataSource.RebuildCurves();
- }
-
- void DrawCurveEditorForTrack(Rect headerRect, Rect trackRect, WindowState state)
- {
- if (m_TrackGUI.clipCurveEditor == null)
- return;
-
- var activeRange = new Vector2(state.TimeToPixel(0.0d), state.TimeToPixel(state.editSequence.duration));
- DrawCurveEditor(m_TrackGUI, state, headerRect, trackRect, activeRange, m_TrackGUI.locked);
- m_LastSelectionWasClip = false;
- }
-
- void DrawCurveEditorsForClipsOnTrack(Rect headerRect, Rect trackRect, WindowState state)
- {
- if (m_TrackGUI.clips.Count == 0)
- return;
-
- if (Event.current.type == EventType.Layout)
- {
- TimelineClipGUI selectedClip = SelectionManager.SelectedClipGUI().FirstOrDefault(x => x.parent == m_TrackGUI);
- if (selectedClip != null)
- {
- m_LastSelectedClipGUI = selectedClip;
- }
- else if (state.recording && state.IsArmedForRecord(m_TrackGUI.track))
- {
- if (m_LastSelectedClipGUI == null || !m_TrackGUI.track.IsRecordingToClip(m_LastSelectedClipGUI.clip))
- {
- var clip = m_TrackGUI.clips.FirstOrDefault(x => m_TrackGUI.track.IsRecordingToClip(x.clip));
- if (clip != null)
- m_LastSelectedClipGUI = clip;
- }
- }
-
- if (m_LastSelectedClipGUI == null)
- m_LastSelectedClipGUI = m_TrackGUI.clips[0];
- }
-
- if (m_LastSelectedClipGUI == null || m_LastSelectedClipGUI.clipCurveEditor == null || m_LastSelectedClipGUI.isInvalid)
- return;
-
- var activeRange = new Vector2(state.TimeToPixel(m_LastSelectedClipGUI.clip.start), state.TimeToPixel(m_LastSelectedClipGUI.clip.end));
- DrawCurveEditor(m_LastSelectedClipGUI, state, headerRect, trackRect, activeRange, m_TrackGUI.locked);
- m_LastSelectionWasClip = true;
- }
-
- void DrawCurvesEditorForNothingSelected(Rect headerRect, Rect trackRect, WindowState state)
- {
- if (m_LastSelectionWasClip || !TrackHasCurvesToShow() && m_TrackGUI.clips.Count > 0)
- {
- DrawCurveEditorsForClipsOnTrack(headerRect, trackRect, state);
- }
- else
- {
- DrawCurveEditorForTrack(headerRect, trackRect, state);
- }
- }
-
- bool ShouldShowClipCurves(WindowState state)
- {
- if (m_TrackGUI.clips.Count == 0)
- return false;
-
- // Is a clip selected or being recorded to?
- return SelectionManager.SelectedClipGUI().FirstOrDefault(x => x.parent == m_TrackGUI) != null ||
- state.recording && state.IsArmedForRecord(m_TrackGUI.track) && m_TrackGUI.clips.FirstOrDefault(x => m_TrackGUI.track.IsRecordingToClip(x.clip)) != null;
- }
-
- bool ShouldShowTrackCurves()
- {
- if (m_TrackGUI == null)
- return false;
-
- var isTrackSelected = SelectionManager.SelectedTrackGUI().FirstOrDefault(x => x == m_TrackGUI) != null;
-
- if (!isTrackSelected)
- return false;
-
- return TrackHasCurvesToShow();
- }
-
- bool TrackHasCurvesToShow()
- {
- var animTrack = m_TrackGUI.track as AnimationTrack;
- if (animTrack != null && !animTrack.inClipMode)
- return true;
-
- return m_TrackGUI.track.HasAnyAnimatableParameters();
- }
-
- void UpdateViewModel()
- {
- var curveEditor = currentCurveEditor.clipCurveEditor;
- if (curveEditor == null || curveEditor.bindingHierarchy.treeViewController == null)
- return;
-
- var vm = TimelineWindowViewPrefs.GetTrackViewModelData(m_TrackGUI.track);
- vm.inlineCurvesState = curveEditor.bindingHierarchy.treeViewController.state;
- vm.inlineCurvesShownAreaInsideMargins = curveEditor.shownAreaInsideMargins;
- vm.lastInlineCurveDataID = curveEditor.dataSource.id;
- }
-
- static void HandleCurrentEvent()
- {
-#if UNITY_EDITOR_OSX
- Event.current.type = EventType.Ignore;
-#else
- Event.current.Use();
-#endif
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/InlineCurveEditor.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/InlineCurveEditor.cs.meta
deleted file mode 100644
index cbc0b18..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/InlineCurveEditor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e1f640f1769d6274194cf97b0e24602c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui.meta
deleted file mode 100644
index f19c2d2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 9d816a6ab06c6834480f5f45f440e287
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/ISelectable.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/ISelectable.cs
deleted file mode 100644
index 5f312c1..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/ISelectable.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System;
-
-namespace UnityEditor.Timeline
-{
- interface ISelectable : ILayerable
- {
- void Select();
- bool IsSelected();
- void Deselect();
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/ISelectable.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/ISelectable.cs.meta
deleted file mode 100644
index 970ecaa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/ISelectable.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 4acbfc0398bab674f922f693e58f4afc
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineClipGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineClipGUI.cs
deleted file mode 100644
index 7d00228..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineClipGUI.cs
+++ /dev/null
@@ -1,760 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TimelineClipGUI : TimelineItemGUI, IClipCurveEditorOwner, ISnappable, IAttractable
- {
- EditorClip m_EditorItem;
-
- Rect m_ClipCenterSection;
- readonly List<Rect> m_LoopRects = new List<Rect>();
-
- ClipDrawData m_ClipDrawData;
- Rect m_MixOutRect = new Rect();
- Rect m_MixInRect = new Rect();
- int m_MinLoopIndex = 1;
-
- // clip dirty detection
- int m_LastDirtyIndex = Int32.MinValue;
- bool m_ClipViewDirty = true;
-
- bool supportResize { get; }
- public ClipCurveEditor clipCurveEditor { get; set; }
- public TimelineClipGUI previousClip { get; set; }
- public TimelineClipGUI nextClip { get; set; }
-
- static readonly float k_MinMixWidth = 2;
- static readonly float k_MaxHandleWidth = 10f;
- static readonly float k_MinHandleWidth = 1f;
-
- bool? m_ShowDrillIcon;
- ClipEditor m_ClipEditor;
-
- static List<PlayableDirector> s_TempSubDirectors = new List<PlayableDirector>();
-
- static readonly IconData k_DiggableClipIcon = new IconData(DirectorStyles.LoadIcon("TimelineDigIn"));
-
- string name
- {
- get
- {
- if (string.IsNullOrEmpty(clip.displayName))
- return "(Empty)";
-
- return clip.displayName;
- }
- }
-
- public bool inlineCurvesSelected
- {
- get { return SelectionManager.IsCurveEditorFocused(this); }
- set
- {
- if (!value && SelectionManager.IsCurveEditorFocused(this))
- SelectionManager.SelectInlineCurveEditor(null);
- else
- SelectionManager.SelectInlineCurveEditor(this);
- }
- }
-
- public Rect mixOutRect
- {
- get
- {
- var percent = clip.mixOutPercentage;
- var x = Mathf.Round(treeViewRect.width * (1 - percent));
- var width = Mathf.Round(treeViewRect.width * percent);
- m_MixOutRect.Set(x, 0.0f, width, treeViewRect.height);
- return m_MixOutRect;
- }
- }
-
- public Rect mixInRect
- {
- get
- {
- var width = Mathf.Round(treeViewRect.width * clip.mixInPercentage);
- m_MixInRect.Set(0.0f, 0.0f, width, treeViewRect.height);
- return m_MixInRect;
- }
- }
-
- public ClipBlends GetClipBlends()
- {
- var _mixInRect = mixInRect;
- var _mixOutRect = mixOutRect;
-
- var blendInKind = BlendKind.None;
- if (_mixInRect.width > k_MinMixWidth && clip.hasBlendIn)
- blendInKind = BlendKind.Mix;
- else if (_mixInRect.width > k_MinMixWidth)
- blendInKind = BlendKind.Ease;
-
- var blendOutKind = BlendKind.None;
- if (_mixOutRect.width > k_MinMixWidth && clip.hasBlendOut)
- blendOutKind = BlendKind.Mix;
- else if (_mixOutRect.width > k_MinMixWidth)
- blendOutKind = BlendKind.Ease;
-
- return new ClipBlends(blendInKind, _mixInRect, blendOutKind, _mixOutRect);
- }
-
- public override double start
- {
- get { return clip.start; }
- }
-
- public override double end
- {
- get { return clip.end; }
- }
-
- public bool supportsLooping
- {
- get { return clip.SupportsLooping(); }
- }
-
- // for the inline curve editor, only show loops if we recorded the asset
- bool IClipCurveEditorOwner.showLoops
- {
- get { return clip.SupportsLooping() && (clip.asset is AnimationPlayableAsset); }
- }
-
- TrackAsset IClipCurveEditorOwner.owner
- {
- get { return clip.parentTrack; }
- }
-
- public bool supportsSubTimelines
- {
- get { return m_ClipEditor.supportsSubTimelines; }
- }
-
-
- public int minLoopIndex
- {
- get { return m_MinLoopIndex; }
- }
-
- public TrackDrawer drawer
- {
- get { return ((TimelineTrackGUI)parent).drawer; }
- }
-
- public Rect clippedRect { get; private set; }
-
- public override void Select()
- {
- zOrder = zOrderProvider.Next();
- SelectionManager.Add(clip);
- }
-
- public override bool IsSelected()
- {
- return SelectionManager.Contains(clip);
- }
-
- public override void Deselect()
- {
- SelectionManager.Remove(clip);
- }
-
- public override ITimelineItem item
- {
- get { return ItemsUtils.ToItem(clip); }
- }
-
- IZOrderProvider zOrderProvider { get; }
-
- public TimelineClipHandle leftHandle { get; }
- public TimelineClipHandle rightHandle { get; }
-
- public TimelineClipGUI(TimelineClip clip, IRowGUI parent, IZOrderProvider provider) : base(parent)
- {
- zOrderProvider = provider;
- zOrder = provider.Next();
-
- m_EditorItem = EditorClipFactory.GetEditorClip(clip);
- m_ClipEditor = CustomTimelineEditorCache.GetClipEditor(clip);
-
- supportResize = true;
-
- leftHandle = new TimelineClipHandle(this, TrimEdge.Start);
- rightHandle = new TimelineClipHandle(this, TrimEdge.End);
-
- ItemToItemGui.Add(clip, this);
- }
-
- void CreateInlineCurveEditor(WindowState state)
- {
- if (clipCurveEditor != null)
- return;
-
- var animationClip = clip.animationClip;
-
- if (animationClip != null && animationClip.empty)
- animationClip = null;
-
- // prune out clips coming from FBX
- if (animationClip != null && !clip.recordable)
- return; // don't show, even if there are curves
-
- if (animationClip == null && !clip.HasAnyAnimatableParameters())
- return; // nothing to show
-
- state.AddEndFrameDelegate((istate, currentEvent) =>
- {
- clipCurveEditor = new ClipCurveEditor(CurveDataSource.Create(this), TimelineWindow.instance, clip.parentTrack);
- return true;
- });
- }
-
- public TimelineClip clip
- {
- get { return m_EditorItem.clip; }
- }
-
- // Draw the actual clip. Defers to the track drawer for customization
- void UpdateDrawData(WindowState state, Rect drawRect, string title, bool selected, bool previousClipSelected, float rectXOffset)
- {
- m_ClipDrawData.clip = clip;
- m_ClipDrawData.targetRect = drawRect;
- m_ClipDrawData.clipCenterSection = m_ClipCenterSection;
- m_ClipDrawData.unclippedRect = treeViewRect;
- m_ClipDrawData.title = title;
- m_ClipDrawData.selected = selected;
- m_ClipDrawData.inlineCurvesSelected = inlineCurvesSelected;
- m_ClipDrawData.previousClip = previousClip != null ? previousClip.clip : null;
- m_ClipDrawData.previousClipSelected = previousClipSelected;
-
- Vector3 shownAreaTime = state.timeAreaShownRange;
- m_ClipDrawData.localVisibleStartTime = clip.ToLocalTimeUnbound(Math.Max(clip.start, shownAreaTime.x));
- m_ClipDrawData.localVisibleEndTime = clip.ToLocalTimeUnbound(Math.Min(clip.end, shownAreaTime.y));
-
- m_ClipDrawData.clippedRect = new Rect(clippedRect.x - rectXOffset, 0.0f, clippedRect.width, clippedRect.height);
-
- m_ClipDrawData.minLoopIndex = minLoopIndex;
- m_ClipDrawData.loopRects = m_LoopRects;
- m_ClipDrawData.supportsLooping = supportsLooping;
- m_ClipDrawData.clipBlends = GetClipBlends();
- m_ClipDrawData.clipEditor = m_ClipEditor;
- m_ClipDrawData.ClipDrawOptions = UpdateClipDrawOptions(m_ClipEditor, clip);
-
- UpdateClipIcons(state);
- }
-
- void UpdateClipIcons(WindowState state)
- {
- // Pass 1 - gather size
- int required = 0;
- bool requiresDigIn = ShowDrillIcon(state.editSequence.director);
- if (requiresDigIn)
- required++;
-
- var icons = m_ClipDrawData.ClipDrawOptions.icons;
- foreach (var icon in icons)
- {
- if (icon != null)
- required++;
- }
-
- // Pass 2 - copy icon data
- if (required == 0)
- {
- m_ClipDrawData.rightIcons = null;
- return;
- }
-
- if (m_ClipDrawData.rightIcons == null || m_ClipDrawData.rightIcons.Length != required)
- m_ClipDrawData.rightIcons = new IconData[required];
-
- int index = 0;
- if (requiresDigIn)
- m_ClipDrawData.rightIcons[index++] = k_DiggableClipIcon;
-
- foreach (var icon in icons)
- {
- if (icon != null)
- m_ClipDrawData.rightIcons[index++] = new IconData(icon);
- }
- }
-
- static ClipDrawOptions UpdateClipDrawOptions(ClipEditor clipEditor, TimelineClip clip)
- {
- try
- {
- return clipEditor.GetClipOptions(clip);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
-
- return CustomTimelineEditorCache.GetDefaultClipEditor().GetClipOptions(clip);
- }
-
- static void DrawClip(ClipDrawData drawData)
- {
- ClipDrawer.DrawDefaultClip(drawData);
-
- if (drawData.clip.asset is AnimationPlayableAsset)
- {
- var state = TimelineWindow.instance.state;
- if (state.recording && state.IsArmedForRecord(drawData.clip.parentTrack))
- {
- ClipDrawer.DrawAnimationRecordBorder(drawData);
- ClipDrawer.DrawRecordProhibited(drawData);
- }
- }
- }
-
- public void DrawGhostClip(Rect targetRect)
- {
- DrawSimpleClip(targetRect, ClipBorder.Selection(), new Color(1.0f, 1.0f, 1.0f, 0.5f));
- }
-
- public void DrawInvalidClip(Rect targetRect)
- {
- DrawSimpleClip(targetRect, ClipBorder.Selection(), DirectorStyles.Instance.customSkin.colorInvalidClipOverlay);
- }
-
- void DrawSimpleClip(Rect targetRect, ClipBorder border, Color overlay)
- {
- var drawOptions = UpdateClipDrawOptions(CustomTimelineEditorCache.GetClipEditor(clip), clip);
- ClipDrawer.DrawSimpleClip(clip, targetRect, border, overlay, drawOptions);
- }
-
- void DrawInto(Rect drawRect, WindowState state)
- {
- if (Event.current.type != EventType.Repaint)
- return;
-
- // create the inline curve editor if not already created
- CreateInlineCurveEditor(state);
-
- // @todo optimization, most of the calculations (rect, offsets, colors, etc.) could be cached
- // and rebuilt when the hash of the clip changes.
-
- if (isInvalid)
- {
- DrawInvalidClip(treeViewRect);
- return;
- }
-
- GUI.BeginClip(drawRect);
-
- var originRect = new Rect(0.0f, 0.0f, drawRect.width, drawRect.height);
- string clipLabel = name;
- var selected = SelectionManager.Contains(clip);
- var previousClipSelected = previousClip != null && SelectionManager.Contains(previousClip.clip);
-
- if (selected && 1.0 != clip.timeScale)
- clipLabel += " " + clip.timeScale.ToString("F2") + "x";
-
- UpdateDrawData(state, originRect, clipLabel, selected, previousClipSelected, drawRect.x);
- DrawClip(m_ClipDrawData);
-
- GUI.EndClip();
-
- if (clip.parentTrack != null && !clip.parentTrack.lockedInHierarchy)
- {
- if (selected && supportResize)
- {
- var cursorRect = rect;
- cursorRect.xMin += leftHandle.boundingRect.width;
- cursorRect.xMax -= rightHandle.boundingRect.width;
- EditorGUIUtility.AddCursorRect(cursorRect, MouseCursor.MoveArrow);
- }
-
- if (supportResize)
- {
- var handleWidth = Mathf.Clamp(drawRect.width * 0.3f, k_MinHandleWidth, k_MaxHandleWidth);
-
- leftHandle.Draw(drawRect, handleWidth, state);
- rightHandle.Draw(drawRect, handleWidth, state);
- }
- }
- }
-
- void CalculateClipRectangle(Rect trackRect, WindowState state)
- {
- if (m_ClipViewDirty)
- {
- var clipRect = RectToTimeline(trackRect, state);
- treeViewRect = clipRect;
-
- // calculate clipped rect
- clipRect.xMin = Mathf.Max(clipRect.xMin, trackRect.xMin);
- clipRect.xMax = Mathf.Min(clipRect.xMax, trackRect.xMax);
-
- if (clipRect.width > 0 && clipRect.width < 2)
- {
- clipRect.width = 5.0f;
- }
-
- clippedRect = clipRect;
- }
- }
-
- void AddToSpacePartitioner(WindowState state)
- {
- if (Event.current.type == EventType.Repaint && !parent.locked)
- state.spacePartitioner.AddBounds(this, rect);
- }
-
- void CalculateBlendRect()
- {
- m_ClipCenterSection = treeViewRect;
- m_ClipCenterSection.x = 0;
- m_ClipCenterSection.y = 0;
-
- m_ClipCenterSection.xMin = Mathf.Round(treeViewRect.width * clip.mixInPercentage);
- m_ClipCenterSection.width = Mathf.Round(treeViewRect.width);
- m_ClipCenterSection.xMax -= Mathf.Round(mixOutRect.width + treeViewRect.width * clip.mixInPercentage);
- }
-
- // Entry point to the Clip Drawing...
- public override void Draw(Rect trackRect, bool trackRectChanged, WindowState state)
- {
- // if the clip has changed, fire the appropriate callback
- DetectClipChanged(trackRectChanged);
-
- // update the clip projected rectangle on the timeline
- CalculateClipRectangle(trackRect, state);
-
- AddToSpacePartitioner(state);
-
- // update the blend rects (when clip overlaps with others)
- CalculateBlendRect();
-
- // update the loop rects (when clip loops)
- CalculateLoopRects(trackRect, state);
-
- DrawExtrapolation(trackRect, treeViewRect);
-
- DrawInto(treeViewRect, state);
-
- ResetClipChanged();
- }
-
- void DetectClipChanged(bool trackRectChanged)
- {
- if (Event.current.type == EventType.Layout)
- {
- if (clip.DirtyIndex != m_LastDirtyIndex)
- {
- m_ClipViewDirty = true;
-
- try
- {
- m_ClipEditor.OnClipChanged(clip);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
-
- m_LastDirtyIndex = clip.DirtyIndex;
- }
- m_ClipViewDirty |= trackRectChanged;
- }
- }
-
- void ResetClipChanged()
- {
- if (Event.current.type == EventType.Repaint)
- m_ClipViewDirty = false;
- }
-
- GUIStyle GetExtrapolationIcon(TimelineClip.ClipExtrapolation mode)
- {
- GUIStyle extrapolationIcon = null;
-
- switch (mode)
- {
- case TimelineClip.ClipExtrapolation.None: return null;
- case TimelineClip.ClipExtrapolation.Hold: extrapolationIcon = m_Styles.extrapolationHold; break;
- case TimelineClip.ClipExtrapolation.Loop: extrapolationIcon = m_Styles.extrapolationLoop; break;
- case TimelineClip.ClipExtrapolation.PingPong: extrapolationIcon = m_Styles.extrapolationPingPong; break;
- case TimelineClip.ClipExtrapolation.Continue: extrapolationIcon = m_Styles.extrapolationContinue; break;
- }
-
- return extrapolationIcon;
- }
-
- Rect GetPreExtrapolationBounds(Rect trackRect, Rect clipRect, GUIStyle icon)
- {
- float x = clipRect.xMin - (icon.fixedWidth + 10.0f);
- float y = trackRect.yMin + (trackRect.height - icon.fixedHeight) / 2.0f;
-
- if (previousClip != null)
- {
- float distance = Mathf.Abs(treeViewRect.xMin - previousClip.treeViewRect.xMax);
-
- if (distance < icon.fixedWidth)
- return new Rect(0.0f, 0.0f, 0.0f, 0.0f);
-
- if (distance < icon.fixedWidth + 20.0f)
- {
- float delta = (distance - icon.fixedWidth) / 2.0f;
- x = clipRect.xMin - (icon.fixedWidth + delta);
- }
- }
-
- return new Rect(x, y, icon.fixedWidth, icon.fixedHeight);
- }
-
- Rect GetPostExtrapolationBounds(Rect trackRect, Rect clipRect, GUIStyle icon)
- {
- float x = clipRect.xMax + 10.0f;
- float y = trackRect.yMin + (trackRect.height - icon.fixedHeight) / 2.0f;
-
- if (nextClip != null)
- {
- float distance = Mathf.Abs(nextClip.treeViewRect.xMin - treeViewRect.xMax);
-
- if (distance < icon.fixedWidth)
- return new Rect(0.0f, 0.0f, 0.0f, 0.0f);
-
- if (distance < icon.fixedWidth + 20.0f)
- {
- float delta = (distance - icon.fixedWidth) / 2.0f;
- x = clipRect.xMax + delta;
- }
- }
-
- return new Rect(x, y, icon.fixedWidth, icon.fixedHeight);
- }
-
- static void DrawExtrapolationIcon(Rect rect, GUIStyle icon)
- {
- GUI.Label(rect, GUIContent.none, icon);
- }
-
- void DrawExtrapolation(Rect trackRect, Rect clipRect)
- {
- if (clip.hasPreExtrapolation)
- {
- GUIStyle icon = GetExtrapolationIcon(clip.preExtrapolationMode);
-
- if (icon != null)
- {
- Rect iconBounds = GetPreExtrapolationBounds(trackRect, clipRect, icon);
-
- if (iconBounds.width > 1 && iconBounds.height > 1)
- DrawExtrapolationIcon(iconBounds, icon);
- }
- }
-
- if (clip.hasPostExtrapolation)
- {
- GUIStyle icon = GetExtrapolationIcon(clip.postExtrapolationMode);
-
- if (icon != null)
- {
- Rect iconBounds = GetPostExtrapolationBounds(trackRect, clipRect, icon);
-
- if (iconBounds.width > 1 && iconBounds.height > 1)
- DrawExtrapolationIcon(iconBounds, icon);
- }
- }
- }
-
- static Rect ProjectRectOnTimeline(Rect rect, Rect trackRect, WindowState state)
- {
- Rect newRect = rect;
- // transform clipRect into pixel-space
- newRect.x *= state.timeAreaScale.x;
- newRect.width *= state.timeAreaScale.x;
-
- newRect.x += state.timeAreaTranslation.x + trackRect.xMin;
-
- // adjust clipRect height and vertical centering
- const int clipPadding = 2;
- newRect.y = trackRect.y + clipPadding;
- newRect.height = trackRect.height - (2 * clipPadding);
- return newRect;
- }
-
- void CalculateLoopRects(Rect trackRect, WindowState state)
- {
- if (!m_ClipViewDirty)
- return;
-
- m_LoopRects.Clear();
- if (clip.duration < WindowState.kTimeEpsilon)
- return;
-
- var times = TimelineHelpers.GetLoopTimes(clip);
- var loopDuration = TimelineHelpers.GetLoopDuration(clip);
- m_MinLoopIndex = -1;
-
- // we have a hold, no need to compute all loops
- if (!supportsLooping)
- {
- if (times.Length > 1)
- {
- var t = times[1];
- float loopTime = (float)(clip.duration - t);
- m_LoopRects.Add(ProjectRectOnTimeline(new Rect((float)(t + clip.start), 0, loopTime, 0), trackRect, state));
- }
- return;
- }
-
- var range = state.timeAreaShownRange;
- var visibleStartTime = range.x - clip.start;
- var visibleEndTime = range.y - clip.start;
-
- for (int i = 1; i < times.Length; i++)
- {
- var t = times[i];
-
- // don't draw off screen loops
- if (t > visibleEndTime)
- break;
-
- float loopTime = Mathf.Min((float)(clip.duration - t), (float)loopDuration);
- var loopEnd = t + loopTime;
-
- if (loopEnd < visibleStartTime)
- continue;
-
- m_LoopRects.Add(ProjectRectOnTimeline(new Rect((float)(t + clip.start), 0, loopTime, 0), trackRect, state));
-
- if (m_MinLoopIndex == -1)
- m_MinLoopIndex = i;
- }
- }
-
- public override Rect RectToTimeline(Rect trackRect, WindowState state)
- {
- var offsetFromTimeSpaceToPixelSpace = state.timeAreaTranslation.x + trackRect.xMin;
-
- var start = (float)(DiscreteTime)clip.start;
- var end = (float)(DiscreteTime)clip.end;
-
- return Rect.MinMaxRect(
- Mathf.Round(start * state.timeAreaScale.x + offsetFromTimeSpaceToPixelSpace), Mathf.Round(trackRect.yMin),
- Mathf.Round(end * state.timeAreaScale.x + offsetFromTimeSpaceToPixelSpace), Mathf.Round(trackRect.yMax)
- );
- }
-
- public IEnumerable<Edge> SnappableEdgesFor(IAttractable attractable, ManipulateEdges manipulateEdges)
- {
- var edges = new List<Edge>();
-
- bool canAddEdges = !parent.muted;
-
- if (canAddEdges)
- {
- // Hack: Trim Start in Ripple mode should not have any snap point added
- if (EditMode.editType == EditMode.EditType.Ripple && manipulateEdges == ManipulateEdges.Left)
- return edges;
-
- if (attractable != this)
- {
- if (EditMode.editType == EditMode.EditType.Ripple)
- {
- bool skip = false;
-
- // Hack: Since Trim End and Move in Ripple mode causes other snap point to move on the same track (which is not supported), disable snapping for this special cases...
- // TODO Find a proper way to have different snap edges for each edit mode.
- if (manipulateEdges == ManipulateEdges.Right)
- {
- var otherClipGUI = attractable as TimelineClipGUI;
- skip = otherClipGUI != null && otherClipGUI.parent == parent;
- }
- else if (manipulateEdges == ManipulateEdges.Both)
- {
- var moveHandler = attractable as MoveItemHandler;
- skip = moveHandler != null && moveHandler.movingItems.Any(clips => clips.targetTrack == clip.parentTrack && clip.start >= clips.start);
- }
-
- if (skip)
- return edges;
- }
-
- AddEdge(edges, clip.start);
- AddEdge(edges, clip.end);
- }
- else
- {
- if (manipulateEdges == ManipulateEdges.Right)
- {
- var d = TimelineHelpers.GetClipAssetEndTime(clip);
-
- if (d < double.MaxValue)
- {
- if (clip.SupportsLooping())
- {
- var l = TimelineHelpers.GetLoopDuration(clip);
-
- var shownTime = TimelineWindow.instance.state.timeAreaShownRange;
- do
- {
- AddEdge(edges, d, false);
- d += l;
- }
- while (d < shownTime.y);
- }
- else
- {
- AddEdge(edges, d, false);
- }
- }
- }
-
- if (manipulateEdges == ManipulateEdges.Left)
- {
- var clipInfo = AnimationClipCurveCache.Instance.GetCurveInfo(clip.animationClip);
- if (clipInfo != null && clipInfo.keyTimes.Any())
- AddEdge(edges, clip.FromLocalTimeUnbound(clipInfo.keyTimes.Min()), false);
- }
- }
- }
- return edges;
- }
-
- public bool ShouldSnapTo(ISnappable snappable)
- {
- return true;
- }
-
- bool ShowDrillIcon(PlayableDirector resolver)
- {
- if (!m_ShowDrillIcon.HasValue || TimelineWindow.instance.hierarchyChangedThisFrame)
- {
- var nestable = m_ClipEditor.supportsSubTimelines;
- m_ShowDrillIcon = nestable && resolver != null;
- if (m_ShowDrillIcon.Value)
- {
- s_TempSubDirectors.Clear();
- try
- {
- m_ClipEditor.GetSubTimelines(clip, resolver, s_TempSubDirectors);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
-
- m_ShowDrillIcon &= s_TempSubDirectors.Count > 0;
- }
- }
-
- return m_ShowDrillIcon.Value;
- }
-
- static void AddEdge(List<Edge> edges, double time, bool showEdgeHint = true)
- {
- var shownTime = TimelineWindow.instance.state.timeAreaShownRange;
- if (time >= shownTime.x && time <= shownTime.y)
- edges.Add(new Edge(time, showEdgeHint));
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineClipGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineClipGUI.cs.meta
deleted file mode 100644
index 4e94156..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineClipGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3c01b61b3a6887c49a15276fd38be918
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineItemGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineItemGUI.cs
deleted file mode 100644
index 522b35e..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineItemGUI.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEngine.Timeline;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- static class ItemToItemGui
- {
- static Dictionary<object, TimelineItemGUI> s_ItemToItemGUI =
- new Dictionary<object, TimelineItemGUI>();
-
- public static void Add(TimelineClip clip, TimelineItemGUI gui)
- {
- s_ItemToItemGUI[clip] = gui;
- }
-
- public static void Add(IMarker marker, TimelineItemGUI gui)
- {
- s_ItemToItemGUI[marker] = gui;
- }
-
- public static TimelineClipGUI GetGuiForClip(TimelineClip clip)
- {
- return GetGuiForItem(clip) as TimelineClipGUI;
- }
-
- public static TimelineMarkerGUI GetGuiForMarker(IMarker marker)
- {
- return GetGuiForItem(marker) as TimelineMarkerGUI;
- }
-
- static TimelineItemGUI GetGuiForItem(object item)
- {
- if (item == null)
- return null;
-
- TimelineItemGUI gui;
- s_ItemToItemGUI.TryGetValue(item, out gui);
- return gui;
- }
- }
-
- abstract class TimelineItemGUI : ISelectable
- {
- protected readonly DirectorStyles m_Styles;
-
- public abstract ITimelineItem item { get; }
- public abstract double start { get; }
- public abstract double end { get; }
- public abstract void Draw(Rect rect, bool rectChanged, WindowState state);
- public abstract Rect RectToTimeline(Rect trackRect, WindowState state);
-
- public virtual void Select() {}
- public virtual bool IsSelected() { return false; }
- public virtual void Deselect() {}
-
- public virtual void StartDrag() {}
- public virtual void StopDrag() {}
-
- public LayerZOrder zOrder { get; set; }
-
- public bool visible { get; set; }
- public bool isInvalid { get; set; }
-
- public IRowGUI parent { get; }
-
- public Rect rect
- {
- get { return parent.ToWindowSpace(treeViewRect); }
- }
-
- public Rect treeViewRect
- {
- get { return m_TreeViewRect; }
- protected set
- {
- m_TreeViewRect = value;
- if (value.width < 0.0f)
- m_TreeViewRect.width = 1.0f;
- }
- }
-
- Rect m_TreeViewRect;
-
- protected TimelineItemGUI(IRowGUI parent)
- {
- this.parent = parent;
- m_Styles = DirectorStyles.Instance;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineItemGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineItemGUI.cs.meta
deleted file mode 100644
index a38143d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineItemGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6f515f8ecd3b6a546b90abaae2553f99
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerClusterGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerClusterGUI.cs
deleted file mode 100644
index b0ffeac..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerClusterGUI.cs
+++ /dev/null
@@ -1,150 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-
-using UnityObject = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class TimelineMarkerClusterGUI : TimelineItemGUI
- {
- readonly List<TimelineMarkerGUI> m_MarkerGUIs;
- readonly IZOrderProvider m_ZOrderProvider;
-
- public TimelineMarkerGUI topMarker
- {
- get { return m_MarkerGUIs.LastOrDefault(); }
- }
-
- TimelineMarkerGUI m_ManipulatedMarker;
-
- public TimelineMarkerClusterGUI(List<TimelineMarkerGUI> guis, IRowGUI parent,
- IZOrderProvider zOrderProvider, LayerZOrder layerZOrder)
- : base(parent)
- {
- m_MarkerGUIs = guis;
- m_ZOrderProvider = zOrderProvider;
- zOrder = layerZOrder;
- SortMarkers();
- topMarker.onStartDrag += OnDragTopMarker;
- }
-
- public override double start
- {
- get { return topMarker.start; }
- }
-
- public override double end
- {
- get { return topMarker.end; }
- }
-
- public override ITimelineItem item
- {
- get { return topMarker.item; }
- }
-
- public override void Select()
- {
- foreach (var marker in m_MarkerGUIs)
- {
- if (!marker.IsSelected())
- marker.Select();
- }
- }
-
- public override void Deselect()
- {
- foreach (var marker in m_MarkerGUIs)
- {
- if (marker.IsSelected())
- marker.Deselect();
- }
- }
-
- public override void Draw(Rect trackRect, bool trackRectChanged, WindowState state)
- {
- RegisterRect(state);
-
- topMarker.Draw(trackRect, trackRectChanged, state);
-
- if (m_MarkerGUIs.Count > 1)
- GUI.Box(treeViewRect, String.Empty, DirectorStyles.Instance.markerMultiOverlay);
-
- if (m_ManipulatedMarker != null)
- m_ManipulatedMarker.Draw(trackRect, trackRectChanged, state);
- }
-
- public override Rect RectToTimeline(Rect trackRect, WindowState state)
- {
- return topMarker.RectToTimeline(trackRect, state);
- }
-
- public void CycleTop()
- {
- if (m_MarkerGUIs.Count < 2)
- return;
-
- topMarker.onStartDrag -= OnDragTopMarker;
-
- var last = topMarker;
- for (int i = 0; i < m_MarkerGUIs.Count; ++i)
- {
- var next = m_MarkerGUIs[i];
- m_MarkerGUIs[i] = last;
- last = next;
- }
-
- topMarker.zOrder = m_ZOrderProvider.Next();
-
- topMarker.onStartDrag += OnDragTopMarker;
- }
-
- void OnDragTopMarker()
- {
- m_ManipulatedMarker = topMarker;
- m_ManipulatedMarker.onStartDrag -= OnDragTopMarker;
- m_MarkerGUIs.RemoveAt(m_MarkerGUIs.Count - 1);
- }
-
- void SortMarkers()
- {
- m_MarkerGUIs.Sort((lhs, rhs) => lhs.zOrder.CompareTo(rhs.zOrder));
- }
-
- void RegisterRect(WindowState state)
- {
- treeViewRect = topMarker.treeViewRect;
-
- if (Event.current.type == EventType.Repaint && !parent.locked)
- state.spacePartitioner.AddBounds(this, rect);
- }
-
- public static bool CanCycleMarkers()
- {
- if (!SelectionManager.SelectedMarkers().Any())
- return false;
-
- var cluster = PickerUtils.PickedLayerableOfType<TimelineMarkerClusterGUI>();
-
- if (cluster == null)
- return false;
-
- // Only cycle if the marker is selected and nothing else is selected
- return cluster.topMarker.IsSelected() && SelectionManager.Count() == 1;
- }
-
- public static void CycleMarkers()
- {
- var cluster = PickerUtils.PickedLayerableOfType<TimelineMarkerClusterGUI>();
-
- if (cluster == null)
- return;
-
- cluster.topMarker.Deselect();
- cluster.CycleTop();
- cluster.topMarker.Select();
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerClusterGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerClusterGUI.cs.meta
deleted file mode 100644
index 692661f..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerClusterGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 2c03ae9aa36a4fd44a983831f44654be
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerGUI.cs
deleted file mode 100644
index 5f054f7..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerGUI.cs
+++ /dev/null
@@ -1,193 +0,0 @@
-using System;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityObject = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class TimelineMarkerGUI : TimelineItemGUI, ISnappable, IAttractable
- {
- public event Action onStartDrag;
-
- int m_ProjectedClipHash;
- int m_MarkerHash;
- bool m_Selectable;
-
- MarkerDrawOptions m_MarkerDrawOptions;
- MarkerEditor m_Editor;
-
- IMarker marker { get; }
-
- bool selectable
- {
- get { return m_Selectable; }
- }
-
- public double time
- {
- get { return marker.time; }
- }
-
- public override double start
- {
- get { return time; }
- }
-
- public override double end
- {
- get { return time; }
- }
-
- public override void Select()
- {
- zOrder = zOrderProvider.Next();
- SelectionManager.Add(marker);
- TimelineWindowViewPrefs.GetTrackViewModelData(parent.asset).markerTimeStamps[m_MarkerHash] = DateTime.UtcNow.Ticks;
- }
-
- public override bool IsSelected()
- {
- return SelectionManager.Contains(marker);
- }
-
- public override void Deselect()
- {
- SelectionManager.Remove(marker);
- }
-
- public override ITimelineItem item
- {
- get { return ItemsUtils.ToItem(marker); }
- }
-
- IZOrderProvider zOrderProvider { get; }
-
- public TimelineMarkerGUI(IMarker theMarker, IRowGUI parent, IZOrderProvider provider) : base(parent)
- {
- marker = theMarker;
- m_Selectable = marker.GetType().IsSubclassOf(typeof(UnityObject));
-
- m_MarkerHash = 0;
- var o = marker as object;
- if (!o.Equals(null))
- m_MarkerHash = o.GetHashCode();
-
- zOrderProvider = provider;
- zOrder = zOrderProvider.Next();
- ItemToItemGui.Add(marker, this);
- m_Editor = CustomTimelineEditorCache.GetMarkerEditor(theMarker);
- }
-
- int ComputeDirtyHash()
- {
- return time.GetHashCode();
- }
-
- static void DrawMarker(Rect drawRect, Type type, bool isSelected, bool isCollapsed, MarkerDrawOptions options)
- {
- if (Event.current.type == EventType.Repaint)
- {
- bool hasError = !string.IsNullOrEmpty(options.errorText);
-
- var style = StyleManager.UssStyleForType(type);
- style.Draw(drawRect, GUIContent.none, false, false, !isCollapsed, isSelected);
-
- // case1141836: Use of GUI.Box instead of GUI.Label causes desync in UI controlID
- if (hasError)
- GUI.Label(drawRect, String.Empty, DirectorStyles.Instance.markerWarning);
-
- var tooltip = hasError ? options.errorText : options.tooltip;
- if (!string.IsNullOrEmpty(tooltip) && drawRect.Contains(Event.current.mousePosition))
- {
- GUIStyle.SetMouseTooltip(tooltip, drawRect);
- }
- }
- }
-
- void UpdateDrawData()
- {
- if (Event.current.type == EventType.Layout)
- {
- try
- {
- m_MarkerDrawOptions = m_Editor.GetMarkerOptions(marker);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- m_MarkerDrawOptions = CustomTimelineEditorCache.GetDefaultMarkerEditor().GetMarkerOptions(marker);
- }
- }
- }
-
- public override void Draw(Rect trackRect, bool trackRectChanged, WindowState state)
- {
- UpdateDrawData();
-
- // compute marker hash
- var currentMarkerHash = ComputeDirtyHash();
-
- // update the clip projected rectangle on the timeline
- CalculateClipRectangle(trackRect, state, currentMarkerHash, trackRectChanged);
-
- var isSelected = selectable && SelectionManager.Contains(marker);
- var showMarkers = parent.showMarkers;
-
- QueueOverlay(treeViewRect, isSelected, !showMarkers);
- DrawMarker(treeViewRect, marker.GetType(), isSelected, !showMarkers, m_MarkerDrawOptions);
-
- if (Event.current.type == EventType.Repaint && showMarkers && !parent.locked)
- state.spacePartitioner.AddBounds(this, rect);
- }
-
- public void QueueOverlay(Rect rect, bool isSelected, bool isCollapsed)
- {
- if (Event.current.type == EventType.Repaint && m_Editor.supportsDrawOverlay)
- {
- rect = GUIClip.Unclip(rect);
- TimelineWindow.instance.AddUserOverlay(marker, rect, m_Editor, isCollapsed, isSelected);
- }
- }
-
- public override void StartDrag()
- {
- if (onStartDrag != null)
- onStartDrag.Invoke();
- }
-
- void CalculateClipRectangle(Rect trackRect, WindowState state, int projectedClipHash, bool trackRectChanged)
- {
- if (m_ProjectedClipHash == projectedClipHash && !trackRectChanged)
- return;
-
- m_ProjectedClipHash = projectedClipHash;
- treeViewRect = RectToTimeline(trackRect, state);
- }
-
- public override Rect RectToTimeline(Rect trackRect, WindowState state)
- {
- var style = StyleManager.UssStyleForType(marker.GetType());
- var width = style.fixedWidth;
- var height = style.fixedHeight;
- var x = ((float)marker.time * state.timeAreaScale.x) + state.timeAreaTranslation.x + trackRect.xMin;
- x -= 0.5f * width;
- return new Rect(x, trackRect.y, width, height);
- }
-
- public IEnumerable<Edge> SnappableEdgesFor(IAttractable attractable, ManipulateEdges manipulateEdges)
- {
- var edges = new List<Edge>();
- var attractableGUI = attractable as TimelineMarkerGUI;
- var canAddEdges = !(attractableGUI != null && attractableGUI.parent == parent);
- if (canAddEdges)
- edges.Add(new Edge(time));
- return edges;
- }
-
- public bool ShouldSnapTo(ISnappable snappable)
- {
- return snappable != this;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerGUI.cs.meta
deleted file mode 100644
index ecfff45..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ItemGui/TimelineMarkerGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 8d34348f8b97a334291f5cf31adc5d67
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsClips.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsClips.cs
deleted file mode 100644
index 9a51bc6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsClips.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class ItemActionShortcutManipulator : Manipulator
- {
- protected override bool ExecuteCommand(Event evt, WindowState state)
- {
- if (state.IsEditingASubItem())
- return false;
-
- var consumed = false;
- var clips = SelectionManager.SelectedClips();
- foreach (var clip in clips)
- consumed |= ItemAction<TimelineClip>.HandleShortcut(state, evt, clip);
-
- var markers = SelectionManager.SelectedMarkers();
- foreach (var marker in markers)
- consumed |= ItemAction<IMarker>.HandleShortcut(state, evt, marker);
-
- return consumed;
- }
- }
-
- class DrillIntoClip : Manipulator
- {
- protected override bool DoubleClick(Event evt, WindowState state)
- {
- if (evt.button != 0)
- return false;
-
- var guiClip = PickerUtils.PickedLayerableOfType<TimelineClipGUI>();
-
- if (guiClip == null)
- return false;
-
- if (!TimelineWindow.instance.state.editSequence.isReadOnly && (guiClip.clip.curves != null || guiClip.clip.animationClip != null))
- ItemAction<TimelineClip>.Invoke<EditClipInAnimationWindow>(state, guiClip.clip);
-
- if (guiClip.supportsSubTimelines)
- ItemAction<TimelineClip>.Invoke<EditSubTimeline>(state, guiClip.clip);
-
- return true;
- }
- }
-
- class ContextMenuManipulator : Manipulator
- {
- protected override bool MouseDown(Event evt, WindowState state)
- {
- if (evt.button == 1)
- ItemSelection.HandleSingleSelection(evt);
-
- return false;
- }
-
- protected override bool ContextClick(Event evt, WindowState state)
- {
- if (evt.alt)
- return false;
-
- var selectable = PickerUtils.PickedLayerableOfType<ISelectable>();
-
- if (selectable != null && selectable.IsSelected())
- {
- SequencerContextMenu.ShowItemContextMenu(evt.mousePosition,
- SelectionManager.SelectedClips().ToArray(),
- SelectionManager.SelectedMarkers().ToArray());
- return true;
- }
-
- return false;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsClips.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsClips.cs.meta
deleted file mode 100644
index c230e78..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsClips.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: b222f61a1f7253e4d8e8cc82bfde9e42
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTimeline.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTimeline.cs
deleted file mode 100644
index a3fcac8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTimeline.cs
+++ /dev/null
@@ -1,287 +0,0 @@
-using System;
-using System.Linq;
-using UnityEditor.ShortcutManagement;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class TimelinePanManipulator : Manipulator
- {
- const float k_MaxPanSpeed = 50.0f;
- bool m_Active;
-
- protected override bool MouseDown(Event evt, WindowState state)
- {
- if ((evt.button == 2 && evt.modifiers == EventModifiers.None) ||
- (evt.button == 0 && evt.modifiers == EventModifiers.Alt))
- {
- TimelineCursors.SetCursor(TimelineCursors.CursorType.Pan);
-
- m_Active = true;
- return true;
- }
-
- return false;
- }
-
- protected override bool MouseUp(Event evt, WindowState state)
- {
- if (m_Active)
- {
- TimelineCursors.ClearCursor();
- state.editorWindow.Repaint();
- }
-
- return false;
- }
-
- protected override bool MouseDrag(Event evt, WindowState state)
- {
- // Note: Do not rely on evt.button here as some 3rd party automation
- // software does not properly set the button data during drag.
-
- if (!m_Active)
- return false;
-
- return Pan(evt, state);
- }
-
- protected override bool MouseWheel(Event evt, WindowState state)
- {
- if (Math.Abs(evt.delta.x) < 1e-5 || Math.Abs(evt.delta.x) <= Math.Abs(evt.delta.y))
- return false;
-
- TimelineZoomManipulator.InvalidateWheelZoom();
-
- var panEvent = new Event(evt);
- panEvent.delta = new Vector2(panEvent.delta.x * k_MaxPanSpeed * -1.0f, 0.0f);
-
- return Pan(panEvent, state);
- }
-
- static bool Pan(Event evt, WindowState state)
- {
- var cursorRect = TimelineWindow.instance.sequenceContentRect;
- cursorRect.xMax = TimelineWindow.instance.position.xMax;
- cursorRect.yMax = TimelineWindow.instance.position.yMax;
-
- if (state.GetWindow() != null && state.GetWindow().treeView != null)
- {
- var scroll = state.GetWindow().treeView.scrollPosition;
- scroll.y -= evt.delta.y;
- state.GetWindow().treeView.scrollPosition = scroll;
- state.OffsetTimeArea((int)evt.delta.x);
- return true;
- }
-
- return false;
- }
- }
-
-
- class TimelineZoomManipulator : Manipulator
- {
- Vector2 m_MouseDownPos = Vector2.zero;
- Vector2 m_InitialShownRange = Vector2.zero;
- float m_FocalTime;
- float m_LastMouseMoveX = -1;
- float m_ZoomFactor = 1;
- bool m_WheelUsedLast;
-
- TimelineZoomManipulator() {}
-
- public static readonly TimelineZoomManipulator Instance = new TimelineZoomManipulator();
-
- internal void DoZoom(float zoomFactor, WindowState state)
- {
- var refRange = state.timeAreaShownRange;
- DoZoom(zoomFactor, state, refRange, (refRange.x + refRange.y) / 2);
- // Force resetting the reference zoom after a Framing operation
- InvalidateWheelZoom();
- }
-
- static void DoZoom(float zoomFactor, WindowState state, Vector2 refRange, float focalTime)
- {
- const float kMinRange = 0.05f; // matches zoomable area.
-
- var s = zoomFactor;
- if (s <= 0) return;
-
- var t = Mathf.Max(focalTime, refRange.x);
- var x = (refRange.x + t * (s - 1)) / s;
- var y = (refRange.y + t * (s - 1)) / s;
-
- // don't set it if we reach the limit or panning happens
- if (Math.Abs(x - y) > kMinRange)
- {
- // Zoomable area does not protect 100% against crazy values
- state.SetTimeAreaShownRange(
- Math.Max(x, -WindowConstants.timeAreaShownRangePadding),
- Math.Min(y, WindowState.kMaxShownTime));
- }
- }
-
- internal static void InvalidateWheelZoom()
- {
- Instance.m_WheelUsedLast = false;
- }
-
- protected override bool MouseDown(Event evt, WindowState state)
- {
- m_MouseDownPos = evt.mousePosition;
- m_FocalTime = state.PixelToTime(m_MouseDownPos.x);
- m_InitialShownRange = state.timeAreaShownRange;
- return false;
- }
-
- protected override bool MouseWheel(Event evt, WindowState state)
- {
- if (Math.Abs(evt.delta.y) < 1e-5)
- return false;
-
- var zoomRect = TimelineWindow.instance.sequenceContentRect;
- zoomRect.yMax += TimelineWindow.instance.horizontalScrollbarHeight;
-
- if (!zoomRect.Contains(evt.mousePosition))
- return false;
-
- if (!m_WheelUsedLast || Mathf.Abs(m_LastMouseMoveX - evt.mousePosition.x) > 1.0f)
- {
- m_LastMouseMoveX = evt.mousePosition.x;
- m_FocalTime = state.PixelToTime(m_LastMouseMoveX);
- m_InitialShownRange = state.timeAreaShownRange;
- m_ZoomFactor = 1;
- }
-
- var newZoom = m_ZoomFactor * (-evt.delta.y * 0.02f + 1);
- newZoom = Mathf.Clamp(newZoom, 1e-7f, 1e7f);
-
- var lastRange = state.timeAreaShownRange;
- DoZoom(newZoom, state, m_InitialShownRange, m_FocalTime);
-
- // if we hit a limit, don't change the zoom
- // this prevents accumulating when zoom doesn't change
- if (lastRange != state.timeAreaShownRange)
- m_ZoomFactor = newZoom;
-
- m_WheelUsedLast = true;
- return true;
- }
-
- protected override bool MouseDrag(Event evt, WindowState state)
- {
- // Fast zoom...
- if (evt.modifiers != EventModifiers.Alt || evt.button != 1) return false;
-
- var mouseMoveLength = Event.current.mousePosition - m_MouseDownPos;
- var delta = Math.Abs(mouseMoveLength.x) > Math.Abs(mouseMoveLength.y)
- ? mouseMoveLength.x
- : -mouseMoveLength.y;
- m_ZoomFactor = PixelToZoom(delta);
- DoZoom(m_ZoomFactor, state, m_InitialShownRange, m_FocalTime);
-
- m_WheelUsedLast = false;
- return true;
- }
-
- static float PixelToZoom(float x)
- {
- const float pixel2Zoom = 1 / 300.0f;
- x *= pixel2Zoom;
- if (x < -0.75)
- {
- // Rational function that behaves like 1+x on [-0.75,inf) and asymptotically reaches zero on (-inf,-0.75]
- // The coefficients were obtained by the following constraints:
- //1) f(-0.75) = 0.25
- //2) f'(-0.75) = 1 C1 continuity
- //3) f(-3) = 0.001 (asymptotically zero)
- return 1 / (98.6667f + 268.444f * x + 189.63f * x * x);
- }
- return 1 + x;
- }
- }
-
- class TimelineShortcutManipulator : Manipulator
- {
- protected override bool ValidateCommand(Event evt, WindowState state)
- {
- return evt.commandName == EventCommandNames.Copy ||
- evt.commandName == EventCommandNames.Paste ||
- evt.commandName == EventCommandNames.Duplicate ||
- evt.commandName == EventCommandNames.SelectAll ||
- evt.commandName == EventCommandNames.Delete ||
- evt.commandName == EventCommandNames.SoftDelete ||
- evt.commandName == EventCommandNames.FrameSelected;
- }
-
- protected override bool ExecuteCommand(Event evt, WindowState state)
- {
- if (state.IsCurrentEditingASequencerTextField())
- return false;
-
- if (evt.commandName == EventCommandNames.SelectAll)
- {
- TimelineAction.Invoke<SelectAllAction>(state);
- return true;
- }
-
- if (evt.commandName == EventCommandNames.SoftDelete)
- {
- TimelineAction.Invoke<DeleteAction>(state);
- return true;
- }
-
- if (evt.commandName == EventCommandNames.FrameSelected)
- {
- TimelineAction.Invoke<FrameSelectedAction>(state);
- return true;
- }
-
- return TimelineAction.HandleShortcut(state, evt);
- }
- }
-
- class InlineCurvesShortcutManipulator : Manipulator
- {
- protected override bool ExecuteCommand(Event evt, WindowState state)
- {
- if (state.IsCurrentEditingASequencerTextField())
- return false;
-
- var inlineCurveEditor = SelectionManager.GetCurrentInlineEditorCurve();
- if (inlineCurveEditor == null || !inlineCurveEditor.inlineCurvesSelected)
- return false;
-
- if (evt.commandName != EventCommandNames.FrameSelected)
- return false;
-
- TimelineAction.Invoke<FrameSelectedAction>(state);
- return true;
- }
-
- // CurveEditor uses an hardcoded shortcut to execute the FrameAll action, preventing the ShortcutManager from
- // ever picking it up. We have to hijack it to ensure our code is being run when framing inline curves.
- protected override bool KeyDown(Event evt, WindowState state)
- {
- var inlineCurveEditor = SelectionManager.GetCurrentInlineEditorCurve();
- if (inlineCurveEditor == null || !inlineCurveEditor.inlineCurvesSelected)
- return false;
-
- // Not conflicting with the hardcoded value
- if (evt.keyCode != KeyCode.A)
- return false;
-
- var combination = ShortcutManager.instance.GetShortcutBinding(Shortcuts.Timeline.frameAll)
- .keyCombinationSequence.ToList();
-
- var shortcutCombination = combination.First();
- var currentCombination = KeyCombination.FromKeyboardInput(evt);
-
- // User is not actually pressing the correct key combination for FrameAll
- if (combination.Count == 1 && shortcutCombination.Equals(currentCombination))
- TimelineAction.Invoke<FrameAllAction>(state);
-
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTimeline.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTimeline.cs.meta
deleted file mode 100644
index 5612ca4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTimeline.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: d029640460cf8ff47bbbfe69f49ddf29
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTracks.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTracks.cs
deleted file mode 100644
index 3bd2a1c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTracks.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class InlineCurveResize : Manipulator
- {
- bool m_Captured;
-
- float m_CapturedHeight;
- float m_CaptureMouseYPos;
-
- InlineCurveResizeHandle m_Target;
-
- protected override bool MouseDown(Event evt, WindowState state)
- {
- m_Target = PickerUtils.PickedInlineCurveResizer();
- if (m_Target == null)
- return false;
-
- m_Captured = true;
- m_CapturedHeight = TimelineWindowViewPrefs.GetInlineCurveHeight(m_Target.trackGUI.track);
- m_CaptureMouseYPos = GUIUtility.GUIToScreenPoint(Event.current.mousePosition).y;
- state.AddCaptured(this);
-
- return true;
- }
-
- protected override bool MouseDrag(Event evt, WindowState state)
- {
- if (!m_Captured || m_Target == null)
- return false;
-
- var trackGUI = m_Target.trackGUI;
-
- float inlineTrackHeight = m_CapturedHeight +
- (GUIUtility.GUIToScreenPoint(Event.current.mousePosition).y - m_CaptureMouseYPos);
-
- TimelineWindowViewPrefs.SetInlineCurveHeight(trackGUI.track, Mathf.Max(inlineTrackHeight, 60.0f));
-
- state.GetWindow().treeView.CalculateRowRects();
-
- return true;
- }
-
- protected override bool MouseUp(Event evt, WindowState state)
- {
- if (!m_Captured)
- return false;
-
- state.RemoveCaptured(this);
- m_Captured = false;
-
- return true;
- }
- }
-
- class TrackDoubleClick : Manipulator
- {
- protected override bool DoubleClick(Event evt, WindowState state)
- {
- if (evt.button != 0)
- return false;
-
- var trackGUI = PickerUtils.PickedTrackBaseGUI();
-
- if (trackGUI == null)
- return false;
-
- // Double-click is only available for AnimationTracks: it conflicts with selection mechanics on other tracks
- if ((trackGUI.track as AnimationTrack) == null)
- return false;
-
- return EditTrackInAnimationWindow.Do(state, trackGUI.track);
- }
- }
-
- class TrackShortcutManipulator : Manipulator
- {
- protected override bool ExecuteCommand(Event evt, WindowState state)
- {
- if (state.IsCurrentEditingASequencerTextField())
- return false;
-
- var tracks = SelectionManager.SelectedTracks().ToList();
-
- var itemGUIs = SelectionManager.SelectedClipGUI();
-
- foreach (var itemGUI in itemGUIs)
- {
- var trackGUI = itemGUI.parent == null ? null : itemGUI.parent as TimelineTrackBaseGUI;
- if (trackGUI == null)
- continue;
-
- if (!tracks.Contains(trackGUI.track))
- tracks.Add(trackGUI.track);
- }
-
- return TrackAction.HandleShortcut(state, evt, tracks.ToArray());
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTracks.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTracks.cs.meta
deleted file mode 100644
index cfbbb31..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/ManipulationsTracks.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5151708d47edd4344ba8e7bd469d966e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Manipulator.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Manipulator.cs
deleted file mode 100644
index d0aac15..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Manipulator.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- abstract class Manipulator
- {
- int m_Id;
-
- protected virtual bool MouseDown(Event evt, WindowState state) { return false; }
- protected virtual bool MouseDrag(Event evt, WindowState state) { return false; }
- protected virtual bool MouseWheel(Event evt, WindowState state) { return false; }
- protected virtual bool MouseUp(Event evt, WindowState state) { return false; }
- protected virtual bool DoubleClick(Event evt, WindowState state) { return false; }
- protected virtual bool KeyDown(Event evt, WindowState state) { return false; }
- protected virtual bool KeyUp(Event evt, WindowState state) { return false; }
- protected virtual bool ContextClick(Event evt, WindowState state) { return false; }
- protected virtual bool ValidateCommand(Event evt, WindowState state) { return false; }
- protected virtual bool ExecuteCommand(Event evt, WindowState state) { return false; }
-
- public virtual void Overlay(Event evt, WindowState state) {}
-
- public bool HandleEvent(WindowState state)
- {
- if (m_Id == 0)
- m_Id = GUIUtility.GetPermanentControlID();
-
- bool isHandled = false;
- var evt = Event.current;
-
- switch (evt.GetTypeForControl(m_Id))
- {
- case EventType.ScrollWheel:
- isHandled = MouseWheel(evt, state);
- break;
-
- case EventType.MouseUp:
- {
- if (GUIUtility.hotControl == m_Id)
- {
- isHandled = MouseUp(evt, state);
-
- GUIUtility.hotControl = 0;
- evt.Use();
- }
- }
- break;
-
- case EventType.MouseDown:
- {
- isHandled = evt.clickCount < 2 ? MouseDown(evt, state) : DoubleClick(evt, state);
-
- if (isHandled)
- GUIUtility.hotControl = m_Id;
- }
- break;
-
- case EventType.MouseDrag:
- {
- if (GUIUtility.hotControl == m_Id)
- isHandled = MouseDrag(evt, state);
- }
- break;
-
- case EventType.KeyDown:
- isHandled = KeyDown(evt, state);
- break;
-
- case EventType.KeyUp:
- isHandled = KeyUp(evt, state);
- break;
-
- case EventType.ContextClick:
- isHandled = ContextClick(evt, state);
- break;
-
- case EventType.ValidateCommand:
- isHandled = ValidateCommand(evt, state);
- break;
-
- case EventType.ExecuteCommand:
- isHandled = ExecuteCommand(evt, state);
- break;
- }
-
- if (isHandled)
- evt.Use();
-
- return isHandled;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Manipulator.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Manipulator.cs.meta
deleted file mode 100644
index 9676bc0..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Manipulator.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 2bf68308f6cdff141ab98cd34174e4f1
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/PickerUtils.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/PickerUtils.cs
deleted file mode 100644
index 50d0382..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/PickerUtils.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- static class PickerUtils
- {
- public static List<object> pickedElements { get; private set; }
-
- public static void DoPick(WindowState state, Vector2 mousePosition)
- {
- if (state.GetWindow().sequenceContentRect.Contains(mousePosition))
- {
- pickedElements = state.spacePartitioner.GetItemsAtPosition<object>(mousePosition).ToList();
- }
- else
- {
- if (pickedElements != null)
- pickedElements.Clear();
- else
- pickedElements = new List<object>();
- }
- }
-
- public static T PickedLayerableOfType<T>() where T : class, ILayerable
- {
- return pickedElements.OfType<ILayerable>().OrderBy(x => x.zOrder).LastOrDefault() as T;
- }
-
- public static InlineCurveResizeHandle PickedInlineCurveResizer()
- {
- return pickedElements.FirstOrDefault(e => e is InlineCurveResizeHandle) as InlineCurveResizeHandle;
- }
-
- public static TimelineTrackBaseGUI PickedTrackBaseGUI()
- {
- return pickedElements.FirstOrDefault(e => e is TimelineTrackBaseGUI) as TimelineTrackBaseGUI;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/PickerUtils.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/PickerUtils.cs.meta
deleted file mode 100644
index 829ef0a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/PickerUtils.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 16950289b516d6747868e0f7bf7b37a0
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping.meta
deleted file mode 100644
index bb822d5..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 06ae1baf5524b314fa65b173b9eca869
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/IAttractable.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/IAttractable.cs
deleted file mode 100644
index 772809d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/IAttractable.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-namespace UnityEditor.Timeline
-{
- enum AttractedEdge
- {
- None,
- Left,
- Right
- }
-
- interface IAttractable
- {
- bool ShouldSnapTo(ISnappable snappable);
- double start { get; }
- double end { get; }
- }
-
- interface IAttractionHandler
- {
- void OnAttractedEdge(IAttractable attractable, ManipulateEdges manipulateEdges, AttractedEdge edge, double time);
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/IAttractable.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/IAttractable.cs.meta
deleted file mode 100644
index 570a8b9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/IAttractable.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 6bfec54ce89b0b642a65d44def023b99
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/ISnappable.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/ISnappable.cs
deleted file mode 100644
index 52a17a6..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/ISnappable.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using System.Collections.Generic;
-
-namespace UnityEditor.Timeline
-{
- struct Edge
- {
- public double time { get; set; }
-
- public bool showSnapHint { get; set; }
-
- public Edge(double edgeTime, bool snapHint = true) : this()
- {
- time = edgeTime;
- showSnapHint = snapHint;
- }
- }
-
- interface ISnappable
- {
- IEnumerable<Edge> SnappableEdgesFor(IAttractable attractable, ManipulateEdges manipulateEdges);
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/ISnappable.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/ISnappable.cs.meta
deleted file mode 100644
index dccc3e2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/ISnappable.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3664a2ade19bb7848a4d2c96ac9148e3
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/SnapEngine.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/SnapEngine.cs
deleted file mode 100644
index 8aca3d4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/SnapEngine.cs
+++ /dev/null
@@ -1,288 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- enum ManipulateEdges
- {
- Left,
- Right,
- Both
- }
-
- class SnapEngine
- {
- static readonly float k_MagnetInfluenceInPixels = 10.0f;
-
- class SnapInfo
- {
- public double time { get; set; }
-
- public bool showSnapHint { get; set; }
-
- public bool IsInInfluenceZone(double currentTime, WindowState state)
- {
- var pos = state.TimeToPixel(currentTime);
- var magnetPos = state.TimeToPixel(time);
-
- return Math.Abs(pos - magnetPos) < k_MagnetInfluenceInPixels;
- }
- }
-
- struct TimeBoundaries
- {
- public TimeBoundaries(double l, double r)
- {
- left = l;
- right = r;
- }
-
- public readonly double left;
- public readonly double right;
-
- public TimeBoundaries Translate(double d)
- {
- return new TimeBoundaries(left + d, right + d);
- }
- }
-
- public static bool displayDebugLayout;
-
- readonly IAttractable m_Attractable;
- readonly IAttractionHandler m_AttractionHandler;
- readonly ManipulateEdges m_ManipulateEdges;
-
- readonly WindowState m_State;
-
- double m_GrabbedTime;
- TimeBoundaries m_GrabbedTimes;
-
- TimeBoundaries m_CurrentTimes;
-
- readonly List<SnapInfo> m_Magnets = new List<SnapInfo>();
-
- bool m_SnapEnabled;
-
- public SnapEngine(IAttractable attractable, IAttractionHandler attractionHandler, ManipulateEdges manipulateEdges, WindowState state,
- Vector2 mousePosition, IEnumerable<ISnappable> snappables = null)
- {
- m_Attractable = attractable;
- m_ManipulateEdges = manipulateEdges;
-
- m_AttractionHandler = attractionHandler;
- m_State = state;
-
- m_CurrentTimes = m_GrabbedTimes = new TimeBoundaries(m_Attractable.start, m_Attractable.end);
- m_GrabbedTime = m_State.PixelToTime(mousePosition.x);
-
- // Add Time zero as Magnet
- AddMagnet(0.0, true, state);
-
- // Add current Time as Magnet
- // case1157280 only add current time as magnet if visible
- if (TimelineWindow.instance.currentMode.ShouldShowTimeCursor(m_State))
- AddMagnet(state.editSequence.time, true, state);
-
- if (state.IsEditingASubTimeline())
- {
- // Add start and end of evaluable range as Magnets
- // This includes the case where the master timeline has a fixed length
- var range = state.editSequence.GetEvaluableRange();
- AddMagnet(range.start, true, state);
- AddMagnet(range.end, true, state);
- }
- else if (state.masterSequence.asset.durationMode == TimelineAsset.DurationMode.FixedLength)
- {
- // Add end sequence Time as Magnet
- AddMagnet(state.masterSequence.asset.duration, true, state);
- }
-
-
- if (snappables == null)
- snappables = GetVisibleSnappables(m_State);
-
- foreach (var snappable in snappables)
- {
- if (!attractable.ShouldSnapTo(snappable))
- continue;
-
- var edges = snappable.SnappableEdgesFor(attractable, manipulateEdges);
- foreach (var edge in edges)
- AddMagnet(edge.time, edge.showSnapHint, state);
- }
- }
-
- public static IEnumerable<ISnappable> GetVisibleSnappables(WindowState state)
- {
- Rect rect = TimelineWindow.instance.state.timeAreaRect;
- rect.height = float.MaxValue;
- return state.spacePartitioner.GetItemsInArea<ISnappable>(rect).ToArray();
- }
-
- void AddMagnet(double magnetTime, bool showSnapHint, WindowState state)
- {
- var magnet = m_Magnets.FirstOrDefault(m => m.time.Equals(magnetTime));
- if (magnet == null)
- {
- if (IsMagnetInShownArea(magnetTime, state))
- m_Magnets.Add(new SnapInfo { time = magnetTime, showSnapHint = showSnapHint });
- }
- else
- {
- magnet.showSnapHint |= showSnapHint;
- }
- }
-
- static bool IsMagnetInShownArea(double time, WindowState state)
- {
- var shownArea = state.timeAreaShownRange;
- return time >= shownArea.x && time <= shownArea.y;
- }
-
- SnapInfo GetMagnetAt(double time)
- {
- return m_Magnets.FirstOrDefault(m => m.time.Equals(time));
- }
-
- SnapInfo ClosestMagnet(double time)
- {
- SnapInfo candidate = null;
- var min = double.MaxValue;
- foreach (var magnetInfo in m_Magnets)
- {
- var m = Math.Abs(magnetInfo.time - time);
- if (m < min)
- {
- candidate = magnetInfo;
- min = m;
- }
- }
-
- if (candidate != null && candidate.IsInInfluenceZone(time, m_State))
- return candidate;
-
- return null;
- }
-
- public void Snap(Vector2 currentMousePosition, EventModifiers modifiers)
- {
- var d = m_State.PixelToTime(currentMousePosition.x) - m_GrabbedTime;
-
- m_CurrentTimes = m_GrabbedTimes.Translate(d);
-
- bool isLeft = m_ManipulateEdges == ManipulateEdges.Left || m_ManipulateEdges == ManipulateEdges.Both;
- bool isRight = m_ManipulateEdges == ManipulateEdges.Right || m_ManipulateEdges == ManipulateEdges.Both;
-
- bool attracted = false;
-
- m_SnapEnabled = modifiers == ManipulatorsUtils.actionModifier ? !m_State.edgeSnaps : m_State.edgeSnaps;
-
- if (m_SnapEnabled)
- {
- SnapInfo leftActiveMagnet = null;
- SnapInfo rightActiveMagnet = null;
-
- if (isLeft)
- leftActiveMagnet = ClosestMagnet(m_CurrentTimes.left);
-
- if (isRight)
- rightActiveMagnet = ClosestMagnet(m_CurrentTimes.right);
-
- if (leftActiveMagnet != null || rightActiveMagnet != null)
- {
- attracted = true;
-
- bool leftAttraction = false;
-
- if (rightActiveMagnet == null)
- {
- // Attracted by a left magnet only.
- leftAttraction = true;
- }
- else
- {
- if (leftActiveMagnet != null)
- {
- // Attracted by both magnets, choose the closest one.
- var leftDistance = Math.Abs(leftActiveMagnet.time - m_CurrentTimes.left);
- var rightDistance = Math.Abs(rightActiveMagnet.time - m_CurrentTimes.right);
-
- leftAttraction = leftDistance <= rightDistance;
- }
- // else, Attracted by right magnet only
- }
-
- if (leftAttraction)
- {
- m_AttractionHandler.OnAttractedEdge(m_Attractable, m_ManipulateEdges, AttractedEdge.Left, leftActiveMagnet.time);
- }
- else
- {
- m_AttractionHandler.OnAttractedEdge(m_Attractable, m_ManipulateEdges, AttractedEdge.Right, rightActiveMagnet.time);
- }
- }
- }
-
- if (!attracted)
- {
- var time = isLeft ? m_CurrentTimes.left : m_CurrentTimes.right;
-
- time = m_State.SnapToFrameIfRequired(time);
-
- m_AttractionHandler.OnAttractedEdge(m_Attractable, m_ManipulateEdges, AttractedEdge.None, time);
- }
- }
-
- public void OnGUI(bool showLeft = true, bool showRight = true)
- {
- if (displayDebugLayout)
- {
- // Display Magnet influence zone
- foreach (var m in m_Magnets)
- {
- var window = TimelineWindow.instance;
- var rect = new Rect(m_State.TimeToPixel(m.time) - k_MagnetInfluenceInPixels, window.state.timeAreaRect.yMax, 2f * k_MagnetInfluenceInPixels, m_State.windowHeight);
- EditorGUI.DrawRect(rect, new Color(1f, 0f, 0f, 0.4f));
- }
-
- // Display Cursor position
- var mousePos = Event.current.mousePosition;
- var time = m_State.PixelToTime(mousePos.x);
- var p = new Vector2(m_State.TimeToPixel(time), TimelineWindow.instance.state.timeAreaRect.yMax);
- var s = new Vector2(1f, m_State.windowHeight);
- EditorGUI.DrawRect(new Rect(p, s), Color.blue);
-
- p = new Vector2(m_State.TimeToPixel(m_GrabbedTime), TimelineWindow.instance.state.timeAreaRect.yMax);
- s = new Vector2(1f, m_State.windowHeight);
- EditorGUI.DrawRect(new Rect(p, s), Color.red);
-
- p = new Vector2(m_State.TimeToPixel(m_CurrentTimes.left), TimelineWindow.instance.state.timeAreaRect.yMax);
- s = new Vector2(1f, m_State.windowHeight);
- EditorGUI.DrawRect(new Rect(p, s), Color.yellow);
-
- p = new Vector2(m_State.TimeToPixel(m_CurrentTimes.right), TimelineWindow.instance.state.timeAreaRect.yMax);
- EditorGUI.DrawRect(new Rect(p, s), Color.yellow);
- }
-
- if (m_SnapEnabled)
- {
- if (showLeft)
- DrawMagnetLineAt(m_Attractable.start);
-
- if (showRight)
- DrawMagnetLineAt(m_Attractable.end);
- }
- }
-
- void DrawMagnetLineAt(double time)
- {
- var magnet = GetMagnetAt(time);
-
- if (magnet != null && magnet.showSnapHint)
- Graphics.DrawLineAtTime(m_State, magnet.time, Color.white);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/SnapEngine.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/SnapEngine.cs.meta
deleted file mode 100644
index a2ce57d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/Snapping/SnapEngine.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 48967a2d5427ac2489cc0ea61da5f1a0
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipHandle.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipHandle.cs
deleted file mode 100644
index 6bd2238..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipHandle.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class TimelineClipHandle : ILayerable
- {
- Rect m_Rect;
- readonly TimelineClipGUI m_ClipGUI;
- readonly TrimEdge m_TrimDirection;
- readonly LayerZOrder m_ZOrder;
-
- public Rect boundingRect
- {
- get { return m_ClipGUI.parent.ToWindowSpace(m_Rect); }
- }
-
- public TrimEdge trimDirection
- {
- get { return m_TrimDirection; }
- }
-
- public TimelineClipGUI clipGUI
- {
- get { return m_ClipGUI; }
- }
-
- public LayerZOrder zOrder
- {
- get { return m_ZOrder; }
- }
-
- public TimelineClipHandle(TimelineClipGUI theClipGUI, TrimEdge trimDirection)
- {
- m_TrimDirection = trimDirection;
- m_ClipGUI = theClipGUI;
- m_ZOrder = theClipGUI.zOrder.ChangeLayer(Layer.ClipHandles);
- }
-
- public void Draw(Rect clientRect, float width, WindowState state)
- {
- var handleRect = clientRect;
- handleRect.width = width;
-
- if (m_TrimDirection == TrimEdge.End)
- handleRect.x = clientRect.xMax - width;
-
- m_Rect = handleRect;
- if (!TimelineWindow.instance.state.editSequence.isReadOnly)
- EditorGUIUtility.AddCursorRect(handleRect, MouseCursor.SplitResizeLeftRight);
- state.spacePartitioner.AddBounds(this, boundingRect);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipHandle.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipHandle.cs.meta
deleted file mode 100644
index df0e041..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipHandle.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3e29cdd1646803545b8fb18908666ec4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipUnion.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipUnion.cs
deleted file mode 100644
index 4288992..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipUnion.cs
+++ /dev/null
@@ -1,126 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditorInternal;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class TimelineClipUnion
- {
- List<TimelineClipGUI> m_Members = new List<TimelineClipGUI>();
- Rect m_BoundingRect;
- Rect m_Union;
- double m_Start;
- double m_Duration;
- bool m_InitUnionRect = true;
-
- void Add(TimelineClipGUI clip)
- {
- m_Members.Add(clip);
- if (m_Members.Count == 1)
- {
- m_BoundingRect = clip.clippedRect;
- }
- else
- {
- m_BoundingRect = Encompass(m_BoundingRect, clip.rect);
- }
- }
-
- public void Draw(Rect parentRect, WindowState state)
- {
- if (m_InitUnionRect)
- {
- m_Start = m_Members.OrderBy(c => c.clip.start).First().clip.start;
- m_Duration = m_Members.Sum(c => c.clip.duration);
- m_InitUnionRect = false;
- }
-
- m_Union = new Rect((float)(m_Start) * state.timeAreaScale.x, 0, (float)m_Duration * state.timeAreaScale.x, 0);
-
- // transform clipRect into pixel-space
- m_Union.xMin += state.timeAreaTranslation.x + parentRect.x;
- m_Union.xMax += state.timeAreaTranslation.x + parentRect.x;
- m_Union.y = parentRect.y + 4.0f;
- m_Union.height = parentRect.height - 8.0f;
-
- // calculate clipped rect
- if (m_Union.x < parentRect.xMin)
- {
- var overflow = parentRect.xMin - m_Union.x;
- m_Union.x = parentRect.xMin;
- m_Union.width -= overflow;
- }
-
- // bail out if completely clipped
- if (m_Union.xMax < parentRect.xMin)
- return;
- if (m_Union.xMin > parentRect.xMax)
- return;
-
- EditorGUI.DrawRect(m_Union, DirectorStyles.Instance.customSkin.colorClipUnion);
- }
-
- public static List<TimelineClipUnion> Build(List<TimelineClipGUI> clips)
- {
- var unions = new List<TimelineClipUnion>();
- if (clips == null)
- return unions;
-
- TimelineClipUnion currentUnion = null;
- foreach (var c in clips)
- {
- if (currentUnion == null)
- {
- currentUnion = new TimelineClipUnion();
- currentUnion.Add(c);
- unions.Add(currentUnion);
- }
- else
- {
- Rect result;
- if (Intersection(c.rect, currentUnion.m_BoundingRect, out result))
- {
- currentUnion.Add(c);
- }
- else
- {
- currentUnion = new TimelineClipUnion();
- currentUnion.Add(c);
- unions.Add(currentUnion);
- }
- }
- }
-
- return unions;
- }
-
- public static Rect Encompass(Rect a, Rect b)
- {
- Rect newRect = a;
- newRect.xMin = Mathf.Min(a.xMin, b.xMin);
- newRect.yMin = Mathf.Min(a.yMin, b.yMin);
- newRect.xMax = Mathf.Max(a.xMax, b.xMax);
- newRect.yMax = Mathf.Max(a.yMax, b.yMax);
- return newRect;
- }
-
- public static bool Intersection(Rect r1, Rect r2, out Rect intersection)
- {
- if (!r1.Overlaps(r2) && !r2.Overlaps(r1))
- {
- intersection = new Rect(0, 0, 0, 0);
- return false;
- }
-
- float left = Mathf.Max(r1.xMin, r2.xMin);
- float top = Mathf.Max(r1.yMin, r2.yMin);
-
- float right = Mathf.Min(r1.xMax, r2.xMax);
- float bottom = Mathf.Min(r1.yMax, r2.yMax);
-
- intersection = new Rect(left, top, right - left, bottom - top);
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipUnion.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipUnion.cs.meta
deleted file mode 100644
index 86b5654..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineClipUnion.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: dc99dfeec967f2644b25dd6bace59b7e
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDataSource.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDataSource.cs
deleted file mode 100644
index 2337392..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDataSource.cs
+++ /dev/null
@@ -1,222 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine;
-using UnityEngine.Playables;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TimelineDataSource : TreeViewDataSource
- {
- readonly TimelineWindow m_TimelineWindow;
- readonly TimelineTreeViewGUI m_ParentGUI;
-
- public List<TimelineTrackBaseGUI> allTrackGuis { get; private set; }
-
- TreeViewItem treeroot
- {
- get { return m_RootItem; }
- }
-
- public TimelineDataSource(TimelineTreeViewGUI parentGUI, TreeViewController treeView, TimelineWindow sequencerWindow)
- : base(treeView)
- {
- m_TreeView.useExpansionAnimation = false;
- m_TimelineWindow = sequencerWindow;
- m_ParentGUI = parentGUI;
- FetchData();
- }
-
- public override bool IsExpanded(TreeViewItem item)
- {
- if (!IsExpandable(item))
- return true;
-
- return IsExpanded(item.id);
- }
-
- public override bool IsExpandable(TreeViewItem item)
- {
- var expandable = false;
-
- var track = item as TimelineTrackBaseGUI;
-
- if (track != null)
- expandable = track.expandable;
-
- return expandable && item.hasChildren;
- }
-
- public sealed override void FetchData()
- {
- // create root item
- m_RootItem = new TimelineGroupGUI(m_TreeView, m_ParentGUI, 1, 0, null, "root", null, true);
-
- var tree = new Dictionary<TrackAsset, TimelineTrackBaseGUI>();
-
- var filteredView = m_TimelineWindow.state.editSequence.asset.trackObjects;
- allTrackGuis = new List<TimelineTrackBaseGUI>(filteredView.Count());
-
- foreach (var t in filteredView)
- {
- CreateItem(t, ref tree, filteredView.OfType<TrackAsset>(), m_RootItem);
- }
-
- m_NeedRefreshRows = true;
-
- SetExpanded(m_RootItem, true);
- }
-
- TimelineTrackBaseGUI CreateItem(ScriptableObject scriptableObject, ref Dictionary<TrackAsset, TimelineTrackBaseGUI> tree, IEnumerable<TrackAsset> selectedRows, TreeViewItem parentTreeViewItem)
- {
- // if a script doesn't load correctly, the trackAsset will be NULL, but the scriptableObject __should_ be intact (but == null will be true)
- var trackAsset = scriptableObject as TrackAsset;
-
- if (tree == null)
- throw new ArgumentNullException("tree");
-
- if (selectedRows == null)
- throw new ArgumentNullException("selectedRows");
-
- if (trackAsset != null && tree.ContainsKey(trackAsset))
- return tree[trackAsset];
-
- TimelineTrackBaseGUI parentItem = parentTreeViewItem as TimelineTrackBaseGUI;
-
- // should we create the parent?
- TrackAsset parentTrack = trackAsset != null ? (trackAsset.parent as TrackAsset) : null;
- if (trackAsset != null && parentTrack != null && selectedRows.Contains(parentTrack))
- {
- parentItem = CreateItem(parentTrack, ref tree, selectedRows, parentTreeViewItem);
- }
-
- int theDepth = -1;
- if (parentItem != null)
- theDepth = parentItem.depth;
- theDepth++;
-
- TimelineTrackBaseGUI newItem;
- if (trackAsset == null)
- {
- PlayableAsset parent = m_TimelineWindow.state.editSequence.asset;
- if (parentItem != null && parentItem.track != null)
- parent = parentItem.track;
-
- newItem = new TimelineTrackErrorGUI(m_TreeView, m_ParentGUI, 0, theDepth, parentItem, "ERROR", scriptableObject, parent);
- }
- else if (trackAsset.GetType() != typeof(GroupTrack))
- {
- newItem = new TimelineTrackGUI(m_TreeView, m_ParentGUI, trackAsset.GetInstanceID(), theDepth, parentItem, trackAsset.name, trackAsset);
- }
- else
- {
- newItem = new TimelineGroupGUI(m_TreeView, m_ParentGUI, trackAsset.GetInstanceID(), theDepth, parentItem, trackAsset.name, trackAsset, false);
- }
-
- allTrackGuis.Add(newItem);
-
- if (parentItem != null)
- {
- if (parentItem.children == null)
- parentItem.children = new List<TreeViewItem>();
- parentItem.children.Add(newItem);
- }
- else
- {
- m_RootItem = newItem;
- SetExpanded(m_RootItem, true);
- }
-
- if (trackAsset != null)
- tree[trackAsset] = newItem;
-
- var actorAsAnimTrack = newItem.track as AnimationTrack;
- bool isEditableInfiniteClip = actorAsAnimTrack != null && actorAsAnimTrack.ShouldShowInfiniteClipEditor();
- if (isEditableInfiniteClip)
- {
- if (newItem.children == null)
- newItem.children = new List<TreeViewItem>();
- }
- else if (trackAsset != null)
- {
- // check if clips on this track have animation, if so we inline a animationEditorTrack
- bool clipHasAnimatableAnimationCurves = false;
-
- for (var i = 0; i != newItem.track.clips.Length; ++i)
- {
- var curveClip = newItem.track.clips[i].curves;
- var animationClip = newItem.track.clips[i].animationClip;
-
- // prune out clip with zero curves
- if (curveClip != null && curveClip.empty)
- curveClip = null;
-
- if (animationClip != null && animationClip.empty)
- animationClip = null;
-
- // prune out clips coming from FBX
- if (animationClip != null && ((animationClip.hideFlags & HideFlags.NotEditable) != 0))
- animationClip = null;
-
- if (!newItem.track.clips[i].recordable)
- animationClip = null;
-
- clipHasAnimatableAnimationCurves = (curveClip != null) || (animationClip != null);
- if (clipHasAnimatableAnimationCurves)
- break;
- }
-
- if (clipHasAnimatableAnimationCurves)
- {
- if (newItem.children == null)
- newItem.children = new List<TreeViewItem>();
- }
- }
-
- if (trackAsset != null)
- {
- // Here we are using the internal subTrackObject so we can properly handle tracks whose script
- // can't load (via ScriptableObject)
- foreach (var subTrack in trackAsset.subTracksObjects)
- {
- CreateItem(subTrack, ref tree, selectedRows, newItem);
- }
- }
- return newItem;
- }
-
- public override bool CanBeParent(TreeViewItem item)
- {
- // will prevent track becoming subtracks via dragging
- TimelineTrackGUI track = item as TimelineTrackGUI;
- if (track != null)
- return false;
-
- return true;
- }
-
- public void ExpandItems(TreeViewItem item)
- {
- if (treeroot == item)
- {
- SetExpanded(treeroot, true);
- }
-
- TimelineGroupGUI gui = item as TimelineGroupGUI;
- if (gui != null && gui.track != null)
- {
- SetExpanded(item, !gui.track.GetCollapsed());
- }
-
- if (item.children != null)
- {
- for (int c = 0; c < item.children.Count; c++)
- {
- ExpandItems(item.children[c]);
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDataSource.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDataSource.cs.meta
deleted file mode 100644
index 5d40d2d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDataSource.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e8c30efa89029e447b0dc0efc75b294c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDragging.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDragging.cs
deleted file mode 100644
index 8162c06..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDragging.cs
+++ /dev/null
@@ -1,683 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEditor.Timeline;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-using UnityObject = UnityEngine.Object;
-
-namespace UnityEditor
-{
- class TimelineDragging : TreeViewDragging
- {
- public delegate bool TypeResolver(IEnumerable<Type> types, Action<Type> onComplete, string format);
-
- private static readonly string k_SelectTrackWithBinding = LocalizationDatabase.GetLocalizedString("Add {0}");
- private static readonly string k_SelectTrackWithClip = LocalizationDatabase.GetLocalizedString("Add Clip With {0}");
- private static readonly string k_SelectClip = LocalizationDatabase.GetLocalizedString("Add {0}");
-
-
- const string k_GenericDragId = "TimelineDragging";
- readonly int kDragSensitivity = 2;
- readonly TimelineAsset m_Timeline;
- readonly TimelineWindow m_Window;
-
- class TimelineDragData
- {
- public TimelineDragData(List<TreeViewItem> draggedItems)
- {
- this.draggedItems = draggedItems;
- }
-
- public readonly List<TreeViewItem> draggedItems;
- }
-
- public TimelineDragging(TreeViewController treeView, TimelineWindow window, TimelineAsset data)
- : base(treeView)
- {
- m_Timeline = data;
- m_Window = window;
- }
-
- public override bool CanStartDrag(TreeViewItem targetItem, List<int> draggedItemIDs, Vector2 mouseDownPosition)
- {
- if (Event.current.modifiers != EventModifiers.None)
- return false;
-
- // Can only drag when starting in the track header area
- if (mouseDownPosition.x > m_Window.sequenceHeaderRect.xMax)
- return false;
-
- var trackBaseGUI = targetItem as TimelineTrackBaseGUI;
-
- if (trackBaseGUI == null || trackBaseGUI.track == null)
- return false;
-
- if (trackBaseGUI.track.lockedInHierarchy)
- return false;
-
- if (Event.current.type == EventType.MouseDrag && Mathf.Abs(Event.current.delta.y) < kDragSensitivity)
- return false;
-
- // Make sure dragged items are selected
- // TODO Use similar system than the SceneHierarchyWindow in order to handle selection between treeView and tracks.
- SelectionManager.Clear();
- var draggedTrackGUIs = m_Window.allTracks.Where(t => draggedItemIDs.Contains(t.id));
- foreach (var trackGUI in draggedTrackGUIs)
- SelectionManager.Add(trackGUI.track);
-
- return true;
- }
-
- public override void StartDrag(TreeViewItem draggedNode, List<int> draggedItemIDs)
- {
- DragAndDrop.PrepareStartDrag();
- var tvItems = SelectionManager.SelectedTrackGUI().Cast<TreeViewItem>().ToList();
- DragAndDrop.SetGenericData(k_GenericDragId, new TimelineDragData(tvItems));
- DragAndDrop.objectReferences = new UnityObject[] {}; // this IS required for dragging to work
-
- string title = draggedItemIDs.Count + (draggedItemIDs.Count > 1 ? "s" : ""); // title is only shown on OSX (at the cursor)
-
- TimelineGroupGUI groupGui = draggedNode as TimelineGroupGUI;
- if (groupGui != null)
- {
- title = groupGui.displayName;
- }
- DragAndDrop.StartDrag(title);
- }
-
- public static bool IsDraggingEvent()
- {
- return Event.current.type == EventType.DragUpdated ||
- Event.current.type == EventType.DragExited ||
- Event.current.type == EventType.DragPerform;
- }
-
- public static bool ResolveType(IEnumerable<System.Type> types, Action<Type> onComplete, string formatString)
- {
- if (!types.Any() || onComplete == null)
- return false;
-
- if (types.Count() == 1)
- {
- onComplete(types.First());
- return true;
- }
-
- var menu = new GenericMenu();
-
- var builtInTypes = types.Where(TypeUtility.IsBuiltIn).OrderBy(TypeUtility.GetDisplayName).ToArray();
- var customTypes = types.Where(x => !TypeUtility.IsBuiltIn(x)).OrderBy(TypeUtility.GetDisplayName).ToArray();
-
- foreach (var t in builtInTypes)
- {
- menu.AddItem(new GUIContent(string.Format(formatString, TypeUtility.GetDisplayName(t))), false, s => onComplete((System.Type)s), t);
- }
-
- if (builtInTypes.Length != 0 && customTypes.Length != 0)
- menu.AddSeparator(string.Empty);
-
- foreach (var t in customTypes)
- {
- menu.AddItem(new GUIContent(string.Format(formatString, TypeUtility.GetDisplayName(t))), false, s => onComplete((System.Type)s), t);
- }
-
- menu.ShowAsContext();
- return true;
- }
-
- public override bool DragElement(TreeViewItem targetItem, Rect targetItemRect, int row)
- {
- if (TimelineWindow.instance.state.editSequence.isReadOnly)
- return false;
- // the drop rect contains the row rect plus additional spacing. The base drag element overlaps 1/2 the height of the next track
- // which interferes with track bindings
- var targetTrack = targetItem as TimelineGroupGUI;
- if (row > 0 && targetTrack != null && !targetTrack.dropRect.Contains(Event.current.mousePosition))
- return false;
-
- return base.DragElement(targetItem, targetItemRect, row);
- }
-
- TreeViewItem GetNextItem(TreeViewItem item)
- {
- if (item == null)
- return null;
-
- if (item.parent == null)
- {
- int row = m_Window.treeView.data.GetRow(item.id);
- var items = m_Window.treeView.data.GetRows();
- if (items.Count > row + 1)
- return items[row + 1];
- return null;
- }
-
- var children = item.parent.children;
- if (children == null)
- return null;
-
- for (int i = 0; i < children.Count - 1; i++)
- {
- if (children[i] == item)
- return children[i + 1];
- }
- return null;
- }
-
- private static TrackAsset GetTrack(TreeViewItem item)
- {
- TimelineTrackBaseGUI baseGui = item as TimelineTrackBaseGUI;
- if (baseGui == null)
- return null;
- return baseGui.track;
- }
-
- // The drag and drop may be over an expanded group but might be between tracks
- private void HandleNestedItemGUI(ref TreeViewItem parentItem, ref TreeViewItem targetItem, ref TreeViewItem insertBefore)
- {
- const float kTopPad = 5;
- const float kBottomPad = 5;
-
- insertBefore = null;
-
- if (!ShouldUseHierarchyDragAndDrop())
- return;
-
- var targetTrack = targetItem as TimelineGroupGUI;
- if (targetTrack == null)
- return;
-
- var mousePosition = Event.current.mousePosition;
-
- var dropBefore = targetTrack.rowRect.yMin + kTopPad > mousePosition.y;
- var dropAfter = !(targetTrack.track is GroupTrack) && (targetTrack.rowRect.yMax - kBottomPad < mousePosition.y);
-
- targetTrack.drawInsertionMarkerBefore = dropBefore;
- targetTrack.drawInsertionMarkerAfter = dropAfter;
-
- if (dropBefore)
- {
- targetItem = parentItem;
- parentItem = targetItem != null ? targetItem.parent : null;
- insertBefore = targetTrack;
- }
- else if (dropAfter)
- {
- targetItem = parentItem;
- parentItem = targetItem != null ? targetItem.parent : null;
- insertBefore = GetNextItem(targetTrack);
- }
- else if (targetTrack.track is GroupTrack)
- {
- targetTrack.isDropTarget = true;
- }
- }
-
- public override DragAndDropVisualMode DoDrag(TreeViewItem parentItem, TreeViewItem targetItem, bool perform, DropPosition dropPos)
- {
- m_Window.isDragging = false;
-
- var retMode = DragAndDropVisualMode.None;
-
- var trackDragData = DragAndDrop.GetGenericData(k_GenericDragId) as TimelineDragData;
-
- if (trackDragData != null)
- {
- retMode = HandleTrackDrop(parentItem, targetItem, perform, dropPos);
- if (retMode == DragAndDropVisualMode.Copy && targetItem != null && Event.current.type == EventType.DragUpdated)
- {
- var targetActor = targetItem as TimelineGroupGUI;
- if (targetActor != null)
- targetActor.isDropTarget = true;
- }
- }
- else if (DragAndDrop.objectReferences.Any())
- {
- var objectsBeingDropped = DragAndDrop.objectReferences.OfType<UnityObject>();
- var director = m_Window.state.editSequence.director;
-
- if (ShouldUseHierarchyDragAndDrop())
- {
- // for object drawing
- var originalTarget = targetItem;
- TreeViewItem insertBeforeItem = null;
- HandleNestedItemGUI(ref parentItem, ref targetItem, ref insertBeforeItem);
- var track = GetTrack(targetItem);
- var parent = GetTrack(parentItem);
- var insertBefore = GetTrack(insertBeforeItem);
- retMode = HandleHierarchyPaneDragAndDrop(objectsBeingDropped, track, perform, m_Timeline, director, ResolveType, insertBefore);
-
- // fallback to old clip behaviour
- if (retMode == DragAndDropVisualMode.None)
- {
- retMode = HandleClipPaneObjectDragAndDrop(objectsBeingDropped, track, perform, m_Timeline, parent, director, m_Window.state.timeAreaShownRange.x, ResolveType, insertBefore);
- }
-
- // if we are rejected, clear any drop markers
- if (retMode == DragAndDropVisualMode.Rejected && targetItem != null)
- {
- ClearInsertionMarkers(originalTarget);
- ClearInsertionMarkers(targetItem);
- ClearInsertionMarkers(parentItem);
- ClearInsertionMarkers(insertBeforeItem);
- }
- }
- else
- {
- var candidateTime = TimelineHelpers.GetCandidateTime(m_Window.state, Event.current.mousePosition);
- retMode = HandleClipPaneObjectDragAndDrop(objectsBeingDropped, GetTrack(targetItem), perform, m_Timeline, GetTrack(parentItem), director, candidateTime, ResolveType);
- }
- }
-
- m_Window.isDragging = false;
-
- return retMode;
- }
-
- void ClearInsertionMarkers(TreeViewItem item)
- {
- var trackGUI = item as TimelineTrackBaseGUI;
- if (trackGUI != null)
- {
- trackGUI.drawInsertionMarkerAfter = false;
- trackGUI.drawInsertionMarkerBefore = false;
- trackGUI.isDropTarget = false;
- }
- }
-
- bool ShouldUseHierarchyDragAndDrop()
- {
- return m_Window.state.IsEditingAnEmptyTimeline() || m_Window.state.sequencerHeaderWidth > Event.current.mousePosition.x;
- }
-
- public static DragAndDropVisualMode HandleHierarchyPaneDragAndDrop(IEnumerable<UnityObject> objectsBeingDropped, TrackAsset targetTrack, bool perform, TimelineAsset timeline, PlayableDirector director, TypeResolver typeResolver, TrackAsset insertBefore = null)
- {
- if (timeline == null)
- return DragAndDropVisualMode.Rejected;
-
- // if we are over a target track, defer to track binding system (implemented in TrackGUIs), unless we are a groupTrack
- if (targetTrack != null && (targetTrack as GroupTrack) == null)
- return DragAndDropVisualMode.None;
-
- if (targetTrack != null && targetTrack.lockedInHierarchy)
- return DragAndDropVisualMode.Rejected;
-
- var tracksWithBinding = objectsBeingDropped.SelectMany(TypeUtility.GetTracksCreatableFromObject).Distinct();
- if (!tracksWithBinding.Any())
- return DragAndDropVisualMode.None;
-
- if (perform)
- {
- System.Action<Type> onResolve = trackType =>
- {
- foreach (var obj in objectsBeingDropped)
- {
- if (!obj.IsPrefab() && TypeUtility.IsTrackCreatableFromObject(obj, trackType))
- {
- var newTrack = TimelineHelpers.CreateTrack(timeline, trackType, targetTrack, string.Empty);
- if (insertBefore != null)
- {
- if (targetTrack != null)
- targetTrack.MoveLastTrackBefore(insertBefore);
- else
- timeline.MoveLastTrackBefore(insertBefore);
- }
-
- TimelineHelpers.Bind(newTrack, obj, director);
- }
- }
- TimelineEditor.Refresh(RefreshReason.ContentsAddedOrRemoved);
- };
- typeResolver(tracksWithBinding, onResolve, k_SelectTrackWithBinding);
- }
-
- return DragAndDropVisualMode.Copy;
- }
-
- public static DragAndDropVisualMode HandleClipPaneObjectDragAndDrop(IEnumerable<UnityObject> objectsBeingDropped, TrackAsset targetTrack, bool perform, TimelineAsset timeline, TrackAsset parent, PlayableDirector director, double candidateTime, TypeResolver typeResolver, TrackAsset insertBefore = null)
- {
- if (timeline == null)
- return DragAndDropVisualMode.Rejected;
-
- // locked tracks always reject
- if (targetTrack != null && targetTrack.lockedInHierarchy)
- return DragAndDropVisualMode.Rejected;
-
- // treat group tracks as having no track
- if (targetTrack is GroupTrack)
- {
- parent = targetTrack;
- targetTrack = null;
- }
-
- // Special case for monoscripts, since they describe the type
- if (objectsBeingDropped.Any(o => o is MonoScript))
- return HandleClipPaneMonoScriptDragAndDrop(objectsBeingDropped.OfType<MonoScript>(), targetTrack, perform, timeline, parent, director, candidateTime);
-
- // no unity objects, or explicit exceptions
- if (!objectsBeingDropped.Any() || objectsBeingDropped.Any(o => !ValidateObjectDrop(o)))
- return DragAndDropVisualMode.Rejected;
-
- // reject scene references if we have no context
- if (director == null && objectsBeingDropped.Any(o => o.IsSceneObject()))
- return DragAndDropVisualMode.Rejected;
-
- var validTrackTypes = objectsBeingDropped.SelectMany(o => TypeUtility.GetTrackTypesForObject(o)).Distinct().ToList();
- // special case for playable assets
- if (objectsBeingDropped.Any(o => TypeUtility.IsConcretePlayableAsset(o.GetType())))
- {
- var playableAssets = objectsBeingDropped.OfType<IPlayableAsset>().Where(o => TypeUtility.IsConcretePlayableAsset(o.GetType()));
- return HandleClipPanePlayableAssetDragAndDrop(playableAssets, targetTrack, perform, timeline, parent, director, candidateTime, typeResolver);
- }
-
- var markerTypes = objectsBeingDropped.SelectMany(o => TypeUtility.MarkerTypesWithFieldForObject(o)).Distinct();
-
- // Markers support all tracks
- if (!markerTypes.Any())
- {
- // No tracks support this object
- if (!validTrackTypes.Any())
- return DragAndDropVisualMode.Rejected;
-
- // no tracks for this object
- if (targetTrack != null && !validTrackTypes.Contains(targetTrack.GetType()))
- return DragAndDropVisualMode.Rejected;
- }
-
- // there is no target track, dropping to empty space, or onto a group
- if (perform)
- {
- // choose track and then clip
- if (targetTrack == null)
- {
- var createdTrack = HandleTrackAndItemCreation(objectsBeingDropped, candidateTime, typeResolver, timeline, parent, validTrackTypes, insertBefore);
- if (!createdTrack)
- {
- timeline.CreateMarkerTrack();
- HandleItemCreation(objectsBeingDropped, timeline.markerTrack, candidateTime, typeResolver, true); // menu is always popped if ambiguous choice
- }
- }
- // just choose clip/marker
- else
- {
- HandleItemCreation(objectsBeingDropped, targetTrack, candidateTime, typeResolver, true); // menu is always popped if ambiguous choice
- }
- }
-
- return DragAndDropVisualMode.Copy;
- }
-
- static bool HandleTrackAndItemCreation(IEnumerable<UnityEngine.Object> objectsBeingDropped, double candidateTime, TypeResolver typeResolver, TimelineAsset timeline, TrackAsset parent, IEnumerable<Type> validTrackTypes, TrackAsset insertBefore = null)
- {
- Action<Type> onResolved = t =>
- {
- var newTrack = TimelineHelpers.CreateTrack(timeline, t, parent, string.Empty);
- if (insertBefore != null)
- {
- if (parent != null)
- parent.MoveLastTrackBefore(insertBefore);
- else
- timeline.MoveLastTrackBefore(insertBefore);
- }
- HandleItemCreation(objectsBeingDropped, newTrack, candidateTime, typeResolver, validTrackTypes.Count() == 1); // menu is popped if ambiguous clip choice and unambiguous track choice
- };
- return typeResolver(validTrackTypes, t => onResolved(t), k_SelectTrackWithClip); // Did it create a track
- }
-
- static void HandleItemCreation(IEnumerable<UnityEngine.Object> objectsBeingDropped, TrackAsset targetTrack, double candidateTime, TypeResolver typeResolver, bool allowMenu)
- {
- var assetTypes = objectsBeingDropped.Select(o =>
- TypeUtility.GetAssetTypesForObject(targetTrack.GetType(), o)
- .Union(TypeUtility.MarkerTypesWithFieldForObject(o))).ToList();
- Action<Type> onCreateItem = assetType =>
- {
- if (typeof(PlayableAsset).IsAssignableFrom(assetType))
- {
- TimelineHelpers.CreateClipsFromObjects(assetType, targetTrack, candidateTime,
- objectsBeingDropped);
- }
- else
- {
- TimelineHelpers.CreateMarkersFromObjects(assetType, targetTrack, candidateTime, objectsBeingDropped);
- }
- };
-
- var flatAssetTypes = assetTypes.SelectMany(x => x).Distinct();
- // If there is a one to one mapping between assets and timeline types, no need to go through the type resolution, not ambiguous.
- if (assetTypes.All(x => x.Count() <= 1))
- {
- foreach (var type in flatAssetTypes)
- {
- onCreateItem(type);
- }
- }
- else
- {
- if (!allowMenu) // If we already popped a menu, and are presented with an ambiguous choice, take the first entry
- {
- flatAssetTypes = new[] {flatAssetTypes.First()};
- }
-
- typeResolver(flatAssetTypes, onCreateItem, k_SelectClip);
- }
- }
-
- /// Handles drag and drop of a mono script.
- public static DragAndDropVisualMode HandleClipPaneMonoScriptDragAndDrop(IEnumerable<MonoScript> scriptsBeingDropped, TrackAsset targetTrack, bool perform, TimelineAsset timeline, TrackAsset parent, PlayableDirector director, double candidateTime)
- {
- var playableAssetTypes = scriptsBeingDropped.Select(s => s.GetClass()).Where(TypeUtility.IsConcretePlayableAsset).Distinct();
- if (!playableAssetTypes.Any())
- return DragAndDropVisualMode.Rejected;
-
- var targetTrackType = typeof(PlayableTrack);
- if (targetTrack != null)
- targetTrackType = targetTrack.GetType();
-
- var trackAssetsTypes = TypeUtility.GetPlayableAssetsHandledByTrack(targetTrackType);
- var supportedTypes = trackAssetsTypes.Intersect(playableAssetTypes);
- if (!supportedTypes.Any())
- return DragAndDropVisualMode.Rejected;
-
- if (perform)
- {
- if (targetTrack == null)
- targetTrack = TimelineHelpers.CreateTrack(timeline, targetTrackType, parent, string.Empty);
- TimelineHelpers.CreateClipsFromTypes(supportedTypes, targetTrack, candidateTime);
- }
-
- return DragAndDropVisualMode.Copy;
- }
-
- public static DragAndDropVisualMode HandleClipPanePlayableAssetDragAndDrop(IEnumerable<IPlayableAsset> assetsBeingDropped, TrackAsset targetTrack, bool perform, TimelineAsset timeline, TrackAsset parent, PlayableDirector director, double candidateTime, TypeResolver typeResolver)
- {
- // get the list of supported track types
- var assetTypes = assetsBeingDropped.Select(x => x.GetType()).Distinct();
- IEnumerable<Type> supportedTypes = null;
- if (targetTrack == null)
- {
- supportedTypes = TypeUtility.AllTrackTypes().Where(t => TypeUtility.GetPlayableAssetsHandledByTrack(t).Intersect(assetTypes).Any()).ToList();
- }
- else
- {
- supportedTypes = Enumerable.Empty<Type>();
- var trackAssetTypes = TypeUtility.GetPlayableAssetsHandledByTrack(targetTrack.GetType());
- if (trackAssetTypes.Intersect(assetTypes).Any())
- supportedTypes = new[] {targetTrack.GetType()};
- }
-
- if (!supportedTypes.Any())
- return DragAndDropVisualMode.Rejected;
-
- if (perform)
- {
- Action<Type> onResolved = (t) =>
- {
- if (targetTrack == null)
- targetTrack = TimelineHelpers.CreateTrack(timeline, t, parent, string.Empty);
-
- var clipTypes = TypeUtility.GetPlayableAssetsHandledByTrack(targetTrack.GetType());
- foreach (var asset in assetsBeingDropped)
- {
- if (clipTypes.Contains(asset.GetType()))
- TimelineHelpers.CreateClipOnTrackFromPlayableAsset(asset, targetTrack, candidateTime);
- }
- };
-
- typeResolver(supportedTypes, onResolved, k_SelectTrackWithClip);
- }
-
-
- return DragAndDropVisualMode.Copy;
- }
-
- static bool ValidateObjectDrop(UnityObject obj)
- {
- // legacy animation clips are not supported at all
- AnimationClip clip = obj as AnimationClip;
- if (clip != null && clip.legacy)
- return false;
-
- return !(obj is TimelineAsset);
- }
-
- public DragAndDropVisualMode HandleTrackDrop(TreeViewItem parentItem, TreeViewItem targetItem, bool perform, DropPosition dropPos)
- {
- ((TimelineTreeView)m_Window.treeView.gui).showInsertionMarker = false;
- var trackDragData = (TimelineDragData)DragAndDrop.GetGenericData(k_GenericDragId);
- bool validDrag = ValidDrag(targetItem, trackDragData.draggedItems);
- if (!validDrag)
- return DragAndDropVisualMode.None;
-
-
- var draggedTracks = trackDragData.draggedItems.OfType<TimelineGroupGUI>().Select(x => x.track).ToList();
- if (draggedTracks.Count == 0)
- return DragAndDropVisualMode.None;
-
- if (parentItem != null)
- {
- var parentActor = parentItem as TimelineGroupGUI;
- if (parentActor != null && parentActor.track != null)
- {
- if (parentActor.track.lockedInHierarchy)
- return DragAndDropVisualMode.Rejected;
-
- if (draggedTracks.Any(x => !TimelineCreateUtilities.ValidateParentTrack(parentActor.track, x.GetType())))
- return DragAndDropVisualMode.Rejected;
- }
- }
-
- var insertAfterItem = targetItem as TimelineGroupGUI;
- if (insertAfterItem != null && insertAfterItem.track != null)
- {
- ((TimelineTreeView)m_Window.treeView.gui).showInsertionMarker = true;
- }
-
- if (dropPos == DropPosition.Upon)
- {
- var groupGUI = targetItem as TimelineGroupGUI;
- if (groupGUI != null)
- groupGUI.isDropTarget = true;
- }
-
- if (perform)
- {
- PlayableAsset targetParent = m_Timeline;
- var parentActor = parentItem as TimelineGroupGUI;
-
- if (parentActor != null && parentActor.track != null)
- targetParent = parentActor.track;
-
- TrackAsset siblingTrack = insertAfterItem != null ? insertAfterItem.track : null;
-
- // where the user drops after the last track, make sure to place it after all the tracks
- if (targetParent == m_Timeline && dropPos == DropPosition.Below && siblingTrack == null)
- {
- siblingTrack = m_Timeline.GetRootTracks().LastOrDefault(x => !draggedTracks.Contains(x));
- }
-
- if (TrackExtensions.ReparentTracks(TrackExtensions.FilterTracks(draggedTracks).ToList(), targetParent, siblingTrack, dropPos == DropPosition.Above))
- {
- m_Window.state.Refresh();
- }
- }
-
- return DragAndDropVisualMode.Move;
- }
-
- public static void HandleBindingDragAndDrop(TrackAsset dropTarget, Type requiredBindingType)
- {
- var objectBeingDragged = DragAndDrop.objectReferences[0];
-
- var action = BindingUtility.GetBindingAction(requiredBindingType, objectBeingDragged);
- DragAndDrop.visualMode = action == BindingAction.DoNotBind
- ? DragAndDropVisualMode.Rejected
- : DragAndDropVisualMode.Link;
-
- if (action == BindingAction.DoNotBind || Event.current.type != EventType.DragPerform)
- return;
-
- var director = TimelineEditor.inspectedDirector;
-
- switch (action)
- {
- case BindingAction.BindDirectly:
- {
- BindingUtility.Bind(director, dropTarget, objectBeingDragged);
- break;
- }
- case BindingAction.BindToExistingComponent:
- {
- var gameObjectBeingDragged = objectBeingDragged as GameObject;
- Debug.Assert(gameObjectBeingDragged != null, "The object being dragged was detected as being a GameObject");
-
- BindingUtility.Bind(director, dropTarget, gameObjectBeingDragged.GetComponent(requiredBindingType));
- break;
- }
- case BindingAction.BindToMissingComponent:
- {
- var gameObjectBeingDragged = objectBeingDragged as GameObject;
- Debug.Assert(gameObjectBeingDragged != null, "The object being dragged was detected as being a GameObject");
-
- var typeNameOfComponent = requiredBindingType.ToString().Split(".".ToCharArray()).Last();
- var bindMenu = new GenericMenu();
-
- bindMenu.AddItem(
- EditorGUIUtility.TextContent("Create " + typeNameOfComponent + " on " + gameObjectBeingDragged.name),
- false,
- nullParam => BindingUtility.Bind(director, dropTarget, Undo.AddComponent(gameObjectBeingDragged, requiredBindingType)),
- null);
-
- bindMenu.AddSeparator("");
- bindMenu.AddItem(EditorGUIUtility.TrTextContent("Cancel"), false, userData => {}, null);
- bindMenu.ShowAsContext();
-
- break;
- }
- default:
- {
- //no-op
- return;
- }
- }
-
- DragAndDrop.AcceptDrag();
- }
-
- static bool ValidDrag(TreeViewItem target, List<TreeViewItem> draggedItems)
- {
- TreeViewItem currentParent = target;
- while (currentParent != null)
- {
- if (draggedItems.Contains(currentParent))
- return false;
- currentParent = currentParent.parent;
- }
-
- // dragging into the sequence itself
- return true;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDragging.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDragging.cs.meta
deleted file mode 100644
index 4aff0f8..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineDragging.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: fcd66bf74cbeb264aa99679c7df84427
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineGroupGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineGroupGUI.cs
deleted file mode 100644
index 8341b8b..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineGroupGUI.cs
+++ /dev/null
@@ -1,310 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TimelineGroupGUI : TimelineTrackBaseGUI
- {
- protected DirectorStyles m_Styles;
- protected Rect m_TreeViewRect = new Rect(0, 0, 0, 0);
- protected GUIContent m_ProblemIcon = new GUIContent();
-
- bool m_MustRecomputeUnions = true;
- int m_GroupDepth;
- readonly bool m_IsReferencedTrack;
- readonly List<TimelineClipUnion> m_Unions = new List<TimelineClipUnion>();
-
- public override Rect boundingRect
- {
- get { return ToWindowSpace(m_TreeViewRect); }
- }
-
- public Rect ToWindowSpace(Rect localRect)
- {
- localRect.position += treeViewToWindowTransformation;
- return localRect;
- }
-
- public override bool expandable
- {
- get { return !m_IsRoot; }
- }
-
- // The expanded rectangle (contains children) as calculated by the the tree gui
- public Rect expandedRect { get; set; }
- // The row rectangle (header only) as calculated by the tree gui
- public Rect rowRect { get; set; }
- // the drop rectangle as set by the tree gui when targetted by a drag and drop
- public Rect dropRect { get; set; }
-
- public TimelineGroupGUI(TreeViewController treeview, TimelineTreeViewGUI treeviewGUI, int id, int depth, TreeViewItem parent, string displayName, TrackAsset trackAsset, bool isRoot)
- : base(id, depth, parent, displayName, trackAsset, treeview, treeviewGUI)
- {
- m_Styles = DirectorStyles.Instance;
- m_IsRoot = isRoot;
-
- var trackPath = AssetDatabase.GetAssetPath(trackAsset);
- var sequencePath = AssetDatabase.GetAssetPath(treeviewGUI.TimelineWindow.state.editSequence.asset);
- if (trackPath != sequencePath)
- m_IsReferencedTrack = true;
-
- m_GroupDepth = CalculateGroupDepth(parent);
- }
-
- public virtual float GetHeight(WindowState state)
- {
- // group tracks don't scale in height
- return TrackEditor.DefaultTrackHeight;
- }
-
- public override void OnGraphRebuilt() {}
-
- static int CalculateGroupDepth(TreeViewItem parent)
- {
- int depth = 0;
-
- bool done = false;
- do
- {
- var gui = parent as TimelineGroupGUI;
- if (gui == null || gui.track == null)
- done = true;
- else
- {
- if (gui.track is GroupTrack)
- depth++;
-
- parent = parent.parent;
- }
- }
- while (!done);
-
- return depth;
- }
-
- internal static float Spaced(float width)
- {
- return width > 0 ? width + WindowConstants.trackHeaderButtonSpacing : 0;
- }
-
- void DrawTrackButtons(Rect headerRect, WindowState state)
- {
- const float buttonSize = WindowConstants.trackHeaderButtonSize;
- const float padding = WindowConstants.trackHeaderButtonPadding;
-
- var buttonRect = new Rect(headerRect.xMax - buttonSize - padding, headerRect.y + ((headerRect.height - buttonSize) / 2f), buttonSize, buttonSize);
-
- if (GUI.Button(buttonRect, EditorGUIUtility.IconContent("CreateAddNew"), m_Styles.trackGroupAddButton))
- {
- // the drop down will apply to all selected tracks
- if (!SelectionManager.Contains(track))
- {
- SelectionManager.Clear();
- SelectionManager.Add(track);
- }
- SequencerContextMenu.ShowNewTracksContextMenu(SelectionManager.SelectedTracks().ToArray(), TimelineWindow.state, buttonRect);
- }
- buttonRect.x -= buttonSize;
- buttonRect.x -= Spaced(DrawMuteButton(buttonRect, state));
- buttonRect.x -= Spaced(DrawLockButton(buttonRect, state));
- }
-
- public void SetExpanded(bool expanded)
- {
- var collapseChanged = expanded != isExpanded;
- isExpanded = expanded;
- if (collapseChanged)
- {
- track.SetCollapsed(!expanded);
- m_MustRecomputeUnions = true;
- }
- }
-
- public override void Draw(Rect headerRect, Rect contentRect, WindowState state)
- {
- if (track == null || m_IsRoot)
- return;
-
- if (m_MustRecomputeUnions)
- RecomputeRectUnions();
-
- if (depth == 1)
- Graphics.DrawBackgroundRect(state, headerRect);
-
- var background = headerRect;
- background.height = expandedRect.height;
-
- var groupColor = TrackResourceCache.GetTrackColor(track);
-
- m_TreeViewRect = contentRect;
-
- var col = groupColor;
-
- var isSelected = SelectionManager.Contains(track);
-
- if (isSelected)
- col = DirectorStyles.Instance.customSkin.colorSelection;
- else if (isDropTarget)
- col = DirectorStyles.Instance.customSkin.colorDropTarget;
- else
- {
- if (m_GroupDepth % 2 == 1)
- {
- float h, s, v;
- Color.RGBToHSV(col, out h, out s, out v);
- v += 0.06f;
- col = Color.HSVToRGB(h, s, v);
- }
- }
-
- if (background.width > 0)
- {
- using (new GUIColorOverride(col))
- GUI.Box(background, GUIContent.none, m_Styles.groupBackground);
- }
-
- var trackRectBackground = headerRect;
- trackRectBackground.xMin += background.width;
- trackRectBackground.width = contentRect.width;
- trackRectBackground.height = background.height;
-
- if (isSelected)
- {
- col = state.IsEditingASubTimeline()
- ? m_Styles.customSkin.colorTrackSubSequenceBackgroundSelected
- : m_Styles.customSkin.colorTrackBackgroundSelected;
- }
- else
- {
- col = m_Styles.customSkin.colorGroupTrackBackground;
- }
-
- EditorGUI.DrawRect(trackRectBackground, col);
- if (!isExpanded && children != null && children.Count > 0)
- {
- var collapsedTrackRect = contentRect;
-
- foreach (var u in m_Unions)
- u.Draw(collapsedTrackRect, state);
- }
-
- using (new GUIGroupScope(headerRect))
- {
- var groupRect = new Rect(0, 0, headerRect.width, headerRect.height);
- DrawName(groupRect, isSelected);
- DrawTrackButtons(groupRect, state);
- }
-
- if (IsTrackRecording(state))
- {
- using (new GUIColorOverride(DirectorStyles.Instance.customSkin.colorTrackBackgroundRecording))
- GUI.Label(background, GUIContent.none, m_Styles.displayBackground);
- }
-
- // is this a referenced track?
- if (m_IsReferencedTrack)
- {
- var refRect = contentRect;
- refRect.x = state.timeAreaRect.xMax - 20.0f;
- refRect.y += 5.0f;
- refRect.width = 30.0f;
- GUI.Label(refRect, DirectorStyles.referenceTrackLabel, EditorStyles.label);
- }
-
- var bgRect = contentRect;
- if (track as GroupTrack != null || AllChildrenMuted(this))
- bgRect.height = expandedRect.height;
- DrawTrackState(contentRect, bgRect, track);
- }
-
- void DrawName(Rect rect, bool isSelected)
- {
- var labelRect = rect;
- labelRect.xMin += 20;
- var actorName = track != null ? track.name : "missing";
- labelRect.width = m_Styles.groupFont.CalcSize(new GUIContent(actorName)).x;
- labelRect.width = Math.Max(labelRect.width, 50.0f);
-
- // if we aren't bound to anything, we show a text field that allows to rename the actor
- // otherwise we show a ObjectField to allow binding to a go
- if (track != null && track is GroupTrack)
- {
- var textColor = m_Styles.groupFont.normal.textColor;
-
- if (isSelected)
- textColor = Color.white;
-
- string newName;
-
- EditorGUI.BeginChangeCheck();
- using (new StyleNormalColorOverride(m_Styles.groupFont, textColor))
- {
- newName = EditorGUI.DelayedTextField(labelRect, GUIContent.none, track.GetInstanceID(), track.name, m_Styles.groupFont);
- }
-
- if (EditorGUI.EndChangeCheck() && !string.IsNullOrEmpty(newName))
- {
- track.name = newName;
- displayName = track.name;
- }
- }
- }
-
- protected bool IsSubTrack()
- {
- if (track == null)
- return false;
-
- var parentTrack = track.parent as TrackAsset;
- if (parentTrack == null)
- return false;
-
- return parentTrack.GetType() != typeof(GroupTrack);
- }
-
- protected TrackAsset ParentTrack()
- {
- if (IsSubTrack())
- return track.parent as TrackAsset;
- return null;
- }
-
- // is there currently a recording track
- bool IsTrackRecording(WindowState state)
- {
- if (!state.recording)
- return false;
- if (track.GetType() != typeof(GroupTrack))
- return false;
-
- return state.GetArmedTrack(track) != null;
- }
-
- void RecomputeRectUnions()
- {
- m_MustRecomputeUnions = false;
- m_Unions.Clear();
- if (children == null)
- return;
-
- foreach (var c in children.OfType<TimelineTrackGUI>())
- {
- c.RebuildGUICacheIfNecessary();
- m_Unions.AddRange(TimelineClipUnion.Build(c.clips));
- }
- }
-
- static bool AllChildrenMuted(TimelineGroupGUI groupGui)
- {
- if (!groupGui.track.muted)
- return false;
- if (groupGui.children == null)
- return true;
- return groupGui.children.OfType<TimelineGroupGUI>().All(AllChildrenMuted);
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineGroupGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineGroupGUI.cs.meta
deleted file mode 100644
index 470f3aa..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineGroupGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 00187582b67e7654b914b5a0d37daafb
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackBaseGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackBaseGUI.cs
deleted file mode 100644
index b957f33..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackBaseGUI.cs
+++ /dev/null
@@ -1,218 +0,0 @@
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- abstract class TimelineTrackBaseGUI : TreeViewItem, IBounds
- {
- static class Styles
- {
- public static readonly GUIContent s_LockedAndMuted = EditorGUIUtility.TrTextContent("Locked / Muted");
- public static readonly GUIContent s_LockedAndPartiallyMuted = EditorGUIUtility.TrTextContent("Locked / Partially Muted");
- public static readonly GUIContent s_Locked = EditorGUIUtility.TrTextContent("Locked");
- public static readonly GUIContent s_Muted = EditorGUIUtility.TrTextContent("Muted");
- public static readonly GUIContent s_PartiallyMuted = EditorGUIUtility.TrTextContent("Partially Muted");
-
- public static readonly Texture2D lockBg = DirectorStyles.GetBackgroundImage(DirectorStyles.Instance.lockedBG);
- }
-
- protected bool m_IsRoot = false;
- protected const float k_ButtonSize = 16.0f;
-
- readonly TimelineTreeViewGUI m_TreeViewGUI;
- readonly TrackDrawer m_Drawer;
-
- public Vector2 treeViewToWindowTransformation { get; set; }
- public bool isExpanded { get; set; }
- public bool isDropTarget { protected get; set; }
- public TrackAsset track { get; }
- TreeViewController treeView { get; }
-
- public TimelineWindow TimelineWindow
- {
- get
- {
- if (m_TreeViewGUI == null)
- return null;
-
- return m_TreeViewGUI.TimelineWindow;
- }
- }
-
- public TrackDrawer drawer
- {
- get { return m_Drawer; }
- }
-
- public virtual float GetVerticalSpacingBetweenTracks()
- {
- return 3.0f;
- }
-
- public bool visibleRow { get; set; } // is the header row visible
- public bool visibleExpanded { get; set; } // is the expanded area (group) visible
- public bool drawInsertionMarkerBefore { get; set; }
- public bool drawInsertionMarkerAfter { get; set; }
-
- public abstract Rect boundingRect { get; }
- public abstract bool expandable { get; }
- public abstract void Draw(Rect headerRect, Rect contentRect, WindowState state);
- public abstract void OnGraphRebuilt(); // callback when the corresponding graph is rebuilt. This can happen, but not have the GUI rebuilt.
-
- protected TimelineTrackBaseGUI(int id, int depth, TreeViewItem parent, string displayName, TrackAsset trackAsset, TreeViewController tv, TimelineTreeViewGUI tvgui)
- : base(id, depth, parent, displayName)
- {
- m_Drawer = TrackDrawer.CreateInstance(trackAsset);
- m_Drawer.sequencerState = tvgui.TimelineWindow.state;
-
- isExpanded = false;
- isDropTarget = false;
- track = trackAsset;
- treeView = tv;
-
- m_TreeViewGUI = tvgui;
- }
-
- public static TimelineTrackBaseGUI FindGUITrack(TrackAsset track)
- {
- var allTracks = TimelineWindow.instance.allTracks;
- return allTracks.Find(x => x.track == track);
- }
-
- protected void DrawTrackState(Rect trackRect, Rect expandedRect, TrackAsset track)
- {
- if (Event.current.type == EventType.Layout)
- {
- bool needStateBox = false;
-
- //Mute
- if (track.muted && !TimelineUtility.IsParentMuted(track))
- {
- Rect bgRect = expandedRect;
- TimelineWindow.instance.OverlayDrawData.Add(TimelineWindow.OverlayData.CreateColorOverlay(GUIClip.Unclip(bgRect), DirectorStyles.Instance.customSkin.colorTrackDarken));
- needStateBox = true;
- }
-
- //Lock
- if (!needStateBox && track.locked && !TimelineUtility.IsLockedFromGroup(track))
- {
- Rect bgRect = expandedRect;
- TimelineWindow.instance.OverlayDrawData.Add(TimelineWindow.OverlayData.CreateTextureOverlay(GUIClip.Unclip(bgRect), Styles.lockBg));
- needStateBox = true;
- }
-
- if (needStateBox)
- {
- DrawTrackStateBox(trackRect, track);
- }
- }
- }
-
- void DrawTrackStateBox(Rect trackRect, TrackAsset track)
- {
- const float k_LockTextPadding = 40f;
- var styles = DirectorStyles.Instance;
-
- bool locked = track.locked && !TimelineUtility.IsLockedFromGroup(track);
- bool muted = track.muted && !TimelineUtility.IsParentMuted(track);
- bool allSubTrackMuted = TimelineUtility.IsAllSubTrackMuted(track);
-
- GUIContent content = null;
- if (locked && muted)
- {
- content = Styles.s_LockedAndMuted;
- if (!allSubTrackMuted)
- content = Styles.s_LockedAndPartiallyMuted;
- }
- else if (locked) content = Styles.s_Locked;
- else if (muted)
- {
- content = Styles.s_Muted;
- if (!allSubTrackMuted)
- content = Styles.s_PartiallyMuted;
- }
-
- // the track could be locked, but we only show the 'locked portion' on the upper most track
- // that is causing the lock
- if (content == null)
- return;
-
- var textRect = trackRect;
- textRect.width = styles.fontClip.CalcSize(content).x + k_LockTextPadding;
- textRect.x += (trackRect.width - textRect.width) / 2f;
- textRect.height -= 4f;
- textRect.y += 2f;
-
-
- TimelineWindow.instance.OverlayDrawData.Add(TimelineWindow.OverlayData.CreateTextBoxOverlay(GUIClip.Unclip(textRect), content.text, styles.fontClip, Color.white, styles.customSkin.colorLockTextBG, styles.displayBackground));
- }
-
- protected float DrawMuteButton(Rect rect, WindowState state)
- {
- if (track.mutedInHierarchy)
- {
- using (new EditorGUI.DisabledScope(TimelineUtility.IsParentMuted(track)))
- {
- if (GUI.Button(rect, GUIContent.none, TimelineWindow.styles.mute))
- {
- MuteTrack.Mute(state, new[] { track }, false);
- }
- }
-
- return WindowConstants.trackHeaderButtonSize;
- }
-
- return 0.0f;
- }
-
- protected float DrawLockButton(Rect rect, WindowState state)
- {
- if (track.lockedInHierarchy)
- {
- // if the parent is locked, show it the lock disabled
- using (new EditorGUI.DisabledScope(TimelineUtility.IsLockedFromGroup(track)))
- {
- if (GUI.Button(rect, GUIContent.none, TimelineWindow.styles.locked))
- {
- LockTrack.SetLockState(new[] { track }, !track.locked, state);
- }
- }
-
- return WindowConstants.trackHeaderButtonSize;
- }
-
- return 0.0f;
- }
-
- public void DrawInsertionMarkers(Rect rowRectWithIndent)
- {
- const float insertionHeight = WindowConstants.trackInsertionMarkerHeight;
- if (Event.current.type == EventType.Repaint && (drawInsertionMarkerAfter || drawInsertionMarkerBefore))
- {
- if (drawInsertionMarkerBefore)
- {
- var rect = new Rect(rowRectWithIndent.x, rowRectWithIndent.y - insertionHeight * 0.5f - 2.0f, rowRectWithIndent.width, insertionHeight);
- EditorGUI.DrawRect(rect, Color.white);
- }
-
- if (drawInsertionMarkerAfter)
- {
- var rect = new Rect(rowRectWithIndent.x, rowRectWithIndent.y + rowRectWithIndent.height - insertionHeight * 0.5f + 1.0f, rowRectWithIndent.width, insertionHeight);
- EditorGUI.DrawRect(rect, Color.white);
- }
- }
- }
-
- public void ClearDrawFlags()
- {
- if (Event.current.type == EventType.Repaint)
- {
- isDropTarget = false;
- drawInsertionMarkerAfter = false;
- drawInsertionMarkerBefore = false;
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackBaseGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackBaseGUI.cs.meta
deleted file mode 100644
index 50e7b73..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackBaseGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 9b1a3034a9e81704abdd08677a2d035f
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackErrorGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackErrorGUI.cs
deleted file mode 100644
index 7e32e2c..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackErrorGUI.cs
+++ /dev/null
@@ -1,185 +0,0 @@
-using System;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine;
-using UnityEngine.Playables;
-
-namespace UnityEditor.Timeline
-{
- class TimelineTrackErrorGUI : TimelineTrackBaseGUI
- {
- static class Styles
- {
- public static readonly GUIContent ErrorText = EditorGUIUtility.TrTextContent("Track cannot be loaded.", "Please fix any compile errors in the script for this track");
- public static readonly Texture2D IconWarn = EditorGUIUtility.LoadIconRequired("console.warnicon.inactive.sml");
- public static readonly GUIContent RemoveTrack = EditorGUIUtility.TrTextContent("Delete");
-
- public static readonly Color WarningBoxBackgroundColor = new Color(115.0f / 255.0f, 115.0f / 255.0f, 115.0f / 255.0f); // approved for both skins
- public static readonly Color WarningBoxHighlightColor = new Color(229 / 255.0f, 208 / 255.0f, 54 / 255.0f); // brigher than standard warning color for contrast
- }
-
- Rect m_TrackRect;
- ScriptableObject m_ScriptableObject;
- PlayableAsset m_Owner;
- static GUIContent s_GUIContent = new GUIContent();
-
- public TimelineTrackErrorGUI(TreeViewController treeview, TimelineTreeViewGUI treeviewGUI, int id, int depth, TreeViewItem parent, string displayName, ScriptableObject track, PlayableAsset owner)
- : base(id, depth, parent, displayName, null, treeview, treeviewGUI)
- {
- m_ScriptableObject = track;
- m_Owner = owner;
- }
-
- public override Rect boundingRect
- {
- get { return m_TrackRect; }
- }
-
- public override bool expandable
- {
- get { return false; }
- }
-
- public override void Draw(Rect headerRect, Rect contentRect, WindowState state)
- {
- m_TrackRect = contentRect;
-
- DrawMissingTrackHeader(headerRect, state);
- DrawMissingTrackBody(contentRect);
- }
-
- void DrawMissingTrackHeader(Rect headerRect, WindowState state)
- {
- var styles = DirectorStyles.Instance;
-
- // Draw a header
- Color backgroundColor = styles.customSkin.colorTrackHeaderBackground;
- var bgRect = headerRect;
- bgRect.x += styles.trackSwatchStyle.fixedWidth;
- bgRect.width -= styles.trackSwatchStyle.fixedWidth;
- EditorGUI.DrawRect(bgRect, backgroundColor);
-
- // draw the warning icon
- var errorIcon = Styles.IconWarn;
- Rect iconRect = new Rect(headerRect.xMin + styles.trackSwatchStyle.fixedWidth, headerRect.yMin + 0.5f * (headerRect.height - errorIcon.height), errorIcon.width, errorIcon.height);
- if (iconRect.width > 0 && iconRect.height > 0)
- {
- GUI.DrawTexture(iconRect, errorIcon, ScaleMode.ScaleAndCrop, true, 0, DirectorStyles.kClipErrorColor, 0, 0);
- }
-
- // Draw the name
-
- // m_ScriptableObject == null will return true because the script can't be loaded. so this checks
- // to make sure it is actually not null so we can grab the name
- object o = m_ScriptableObject;
- if (o != null)
- {
- s_GUIContent.text = m_ScriptableObject.name;
- var textStyle = styles.trackHeaderFont;
- textStyle.normal.textColor = styles.customSkin.colorTrackFont; // TODO -- we shouldn't modify the style like this. track header does it though :(
- Rect textRect = headerRect;
- textRect.xMin = iconRect.xMax + 1;
- textRect.xMax = Math.Min(textRect.xMin + styles.trackHeaderFont.CalcSize(s_GUIContent).x, headerRect.xMax - 1);
- EditorGUI.LabelField(textRect, s_GUIContent, textStyle);
- }
-
-
- // Draw the color swatch to the left of the track, darkened by the mute
- var color = Color.Lerp(DirectorStyles.kClipErrorColor, styles.customSkin.colorTrackDarken, styles.customSkin.colorTrackDarken.a);
- color.a = 1;
- using (new GUIColorOverride(color))
- {
- var colorSwatchRect = headerRect;
- colorSwatchRect.width = styles.trackSwatchStyle.fixedWidth;
- GUI.Label(colorSwatchRect, GUIContent.none, styles.trackSwatchStyle);
- }
-
- // draw darken overlay
- EditorGUI.DrawRect(bgRect, styles.customSkin.colorTrackDarken);
-
- DrawRemoveMenu(headerRect, state);
- }
-
- void DrawRemoveMenu(Rect headerRect, WindowState state)
- {
- const float pad = 3;
- const float buttonSize = 16;
- var buttonRect = new Rect(headerRect.xMax - buttonSize - pad, headerRect.y + ((headerRect.height - buttonSize) / 2f) + 2, buttonSize, buttonSize);
-
- if (GUI.Button(buttonRect, GUIContent.none, DirectorStyles.Instance.trackOptions))
- {
- GenericMenu menu = new GenericMenu();
-
- var owner = m_Owner;
- var scriptableObject = m_ScriptableObject;
-
- menu.AddItem(Styles.RemoveTrack, false, () =>
- {
- if (TrackExtensions.RemoveBrokenTrack(owner, scriptableObject))
- state.Refresh();
- }
- );
-
- menu.ShowAsContext();
- }
- }
-
- static void DrawMissingTrackBody(Rect contentRect)
- {
- if (contentRect.width < 0)
- return;
-
- var styles = DirectorStyles.Instance;
-
- // draw a track rectangle
- EditorGUI.DrawRect(contentRect, styles.customSkin.colorTrackDarken);
- // draw the warning box
- DrawScriptWarningBox(contentRect, Styles.ErrorText);
- }
-
- static void DrawScriptWarningBox(Rect trackRect, GUIContent content)
- {
- var styles = DirectorStyles.Instance;
- const float kTextPadding = 52f;
-
- var errorIcon = Styles.IconWarn;
- float textWidth = styles.fontClip.CalcSize(content).x;
-
- var outerRect = trackRect;
- outerRect.width = textWidth + kTextPadding + errorIcon.width;
- outerRect.x += (trackRect.width - outerRect.width) / 2f;
- outerRect.height -= 4f;
- outerRect.y += 1f;
-
- bool drawText = true;
- if (outerRect.width > trackRect.width)
- {
- outerRect.x = trackRect.x;
- outerRect.width = trackRect.width;
- drawText = false;
- }
-
- var innerRect = new Rect(outerRect.x + 2, outerRect.y + 2, outerRect.width - 4, outerRect.height - 4);
- using (new GUIColorOverride(Styles.WarningBoxHighlightColor))
- GUI.Box(outerRect, GUIContent.none, styles.displayBackground);
- using (new GUIColorOverride(Styles.WarningBoxBackgroundColor))
- GUI.Box(innerRect, GUIContent.none, styles.displayBackground);
-
-
- if (drawText)
- {
- var iconRect = new Rect(outerRect.x + kTextPadding / 2.0f - 4.0f, outerRect.y + (outerRect.height - errorIcon.height) / 2.0f, errorIcon.width, errorIcon.height);
- var textRect = new Rect(iconRect.xMax + 4.0f, outerRect.y, textWidth, outerRect.height);
-
- GUI.DrawTexture(iconRect, errorIcon, ScaleMode.ScaleAndCrop, true, 0, Styles.WarningBoxHighlightColor, 0, 0);
- Graphics.ShadowLabel(textRect, content, styles.fontClip, Color.white, Color.black);
- }
- else if (errorIcon.width > innerRect.width)
- {
- var iconRect = new Rect(outerRect.x + (outerRect.width - errorIcon.width) / 2.0f, outerRect.y + (outerRect.height - errorIcon.height) / 2.0f, errorIcon.width, errorIcon.height);
- GUI.DrawTexture(iconRect, errorIcon, ScaleMode.ScaleAndCrop, true, 0, Styles.WarningBoxHighlightColor, 0, 0);
- }
- }
-
- public override void OnGraphRebuilt() {}
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackErrorGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackErrorGUI.cs.meta
deleted file mode 100644
index dd754e2..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackErrorGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 200617708f5b36a4da2e2a3f1ceacedd
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackGUI.cs
deleted file mode 100644
index c15d96d..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackGUI.cs
+++ /dev/null
@@ -1,812 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEditor.StyleSheets;
-using UnityEngine;
-using UnityEngine.Timeline;
-using UnityEngine.Playables;
-using Object = UnityEngine.Object;
-
-namespace UnityEditor.Timeline
-{
- class TimelineTrackGUI : TimelineGroupGUI, IClipCurveEditorOwner, IRowGUI
- {
- struct TrackDrawData
- {
- public bool m_AllowsRecording;
- public bool m_ShowTrackBindings;
- public bool m_HasBinding;
- public bool m_IsSubTrack;
- public PlayableBinding m_Binding;
- public UnityEngine.Object m_TrackBinding;
- public Texture m_TrackIcon;
- }
-
- static class Styles
- {
- public static readonly string kArmForRecordDisabled = L10n.Tr("Recording is not permitted when Track Offsets are set to Auto. Track Offset settings can be changed in the track menu of the base track.");
- public static Texture2D kProblemIcon = DirectorStyles.GetBackgroundImage(DirectorStyles.Instance.warning);
- }
-
- static GUIContent s_ArmForRecordContentOn;
- static GUIContent s_ArmForRecordContentOff;
- static GUIContent s_ArmForRecordDisabled;
-
- bool m_InlineCurvesSkipped;
- int m_TrackHash = -1;
- int m_BlendHash = -1;
- int m_LastDirtyIndex = -1;
-
- readonly InfiniteTrackDrawer m_InfiniteTrackDrawer;
- TrackItemsDrawer m_ItemsDrawer;
- TrackDrawData m_TrackDrawData;
- TrackDrawOptions m_TrackDrawOptions;
- readonly TrackEditor m_TrackEditor;
- readonly GUIContent m_DefaultTrackIcon;
-
-
- public override bool expandable
- {
- get { return hasChildren; }
- }
-
- internal InlineCurveEditor inlineCurveEditor { get; set; }
-
- public ClipCurveEditor clipCurveEditor { get; private set; }
-
- public bool inlineCurvesSelected
- {
- get { return SelectionManager.IsCurveEditorFocused(this); }
- set
- {
- if (!value && SelectionManager.IsCurveEditorFocused(this))
- SelectionManager.SelectInlineCurveEditor(null);
- else
- SelectionManager.SelectInlineCurveEditor(this);
- }
- }
-
- bool IClipCurveEditorOwner.showLoops
- {
- get { return false; }
- }
-
- TrackAsset IClipCurveEditorOwner.owner
- {
- get { return track; }
- }
-
- static bool DoesTrackAllowsRecording(TrackAsset track)
- {
- // if the root animation track is in auto mode, recording is not allowed
- var animTrack = TimelineUtility.GetSceneReferenceTrack(track) as AnimationTrack;
- if (animTrack != null)
- return animTrack.trackOffset != TrackOffset.Auto;
-
- return false;
- }
-
- bool? m_TrackHasAnimatableParameters;
- bool trackHasAnimatableParameters
- {
- get
- {
- // cache this value to avoid the recomputation
- if (!m_TrackHasAnimatableParameters.HasValue)
- m_TrackHasAnimatableParameters = track.HasAnyAnimatableParameters() ||
- track.clips.Any(c => c.HasAnyAnimatableParameters());
-
- return m_TrackHasAnimatableParameters.Value;
- }
- }
-
- public bool locked
- {
- get { return track.lockedInHierarchy; }
- }
-
- public bool showMarkers
- {
- get { return track.GetShowMarkers(); }
- }
-
- public bool muted
- {
- get { return track.muted; }
- }
-
- public List<TimelineClipGUI> clips
- {
- get
- {
- return m_ItemsDrawer.clips == null ? new List<TimelineClipGUI>(0) : m_ItemsDrawer.clips.ToList();
- }
- }
-
- TrackAsset IRowGUI.asset { get { return track; } }
-
- bool showTrackRecordingDisabled
- {
- get
- {
- // if the root animation track is in auto mode, recording is not allowed
- var animTrack = TimelineUtility.GetSceneReferenceTrack(track) as AnimationTrack;
- return animTrack != null && animTrack.trackOffset == TrackOffset.Auto;
- }
- }
-
- public TimelineTrackGUI(TreeViewController tv, TimelineTreeViewGUI w, int id, int depth, TreeViewItem parent, string displayName, TrackAsset sequenceActor)
- : base(tv, w, id, depth, parent, displayName, sequenceActor, false)
- {
- AnimationTrack animationTrack = sequenceActor as AnimationTrack;
- if (animationTrack != null)
- m_InfiniteTrackDrawer = new InfiniteTrackDrawer(new AnimationTrackKeyDataSource(animationTrack));
- else if (sequenceActor.HasAnyAnimatableParameters() && !sequenceActor.clips.Any())
- m_InfiniteTrackDrawer = new InfiniteTrackDrawer(new TrackPropertyCurvesDataSource(sequenceActor));
-
- UpdateInfiniteClipEditor(w.TimelineWindow);
-
- var bindings = track.outputs.ToArray();
- m_TrackDrawData.m_HasBinding = bindings.Length > 0;
- if (m_TrackDrawData.m_HasBinding)
- m_TrackDrawData.m_Binding = bindings[0];
- m_TrackDrawData.m_IsSubTrack = IsSubTrack();
- m_TrackDrawData.m_AllowsRecording = DoesTrackAllowsRecording(sequenceActor);
- m_DefaultTrackIcon = TrackResourceCache.GetTrackIcon(track);
-
-
- m_TrackEditor = CustomTimelineEditorCache.GetTrackEditor(sequenceActor);
-
- try
- {
- m_TrackDrawOptions = m_TrackEditor.GetTrackOptions(track, null);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- m_TrackDrawOptions = CustomTimelineEditorCache.GetDefaultTrackEditor().GetTrackOptions(track, null);
- }
-
- m_TrackDrawOptions.errorText = null; // explicitly setting to null for an uninitialized state
-
- RebuildGUICacheIfNecessary();
- }
-
- public override float GetVerticalSpacingBetweenTracks()
- {
- if (track != null && track.isSubTrack)
- return 1.0f; // subtracks have less of a gap than tracks
- return base.GetVerticalSpacingBetweenTracks();
- }
-
- void UpdateInfiniteClipEditor(TimelineWindow window)
- {
- if (clipCurveEditor != null || track == null || !track.ShouldShowInfiniteClipEditor())
- return;
-
- var dataSource = CurveDataSource.Create(this);
- clipCurveEditor = new ClipCurveEditor(dataSource, window, track);
- }
-
- void DetectTrackChanged()
- {
- if (Event.current.type == EventType.Layout)
- {
- // incremented when a track or it's clips changed
- if (m_LastDirtyIndex != track.DirtyIndex)
- {
- try
- {
- m_TrackEditor.OnTrackChanged(track);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- }
- m_LastDirtyIndex = track.DirtyIndex;
- }
- OnTrackChanged();
- }
- }
-
- // Called when the source track data, including it's clips have changed has changed.
- void OnTrackChanged()
- {
- // recompute blends if necessary
- int newBlendHash = BlendHash();
- if (m_BlendHash != newBlendHash)
- {
- UpdateClipOverlaps();
- m_BlendHash = newBlendHash;
- }
-
- RebuildGUICacheIfNecessary();
- }
-
- void UpdateDrawData(WindowState state)
- {
- if (Event.current.type == EventType.Layout)
- {
- m_TrackDrawData.m_ShowTrackBindings = false;
- m_TrackDrawData.m_TrackBinding = null;
-
-
- if (state.editSequence.director != null && showSceneReference)
- {
- m_TrackDrawData.m_ShowTrackBindings = state.GetWindow().currentMode.ShouldShowTrackBindings(state);
- m_TrackDrawData.m_TrackBinding = state.editSequence.director.GetGenericBinding(track);
- }
-
- var lastError = m_TrackDrawOptions.errorText;
- var lastHeight = m_TrackDrawOptions.minimumHeight;
- try
- {
- m_TrackDrawOptions = m_TrackEditor.GetTrackOptions(track, m_TrackDrawData.m_TrackBinding);
- }
- catch (Exception e)
- {
- Debug.LogException(e);
- m_TrackDrawOptions = CustomTimelineEditorCache.GetDefaultTrackEditor().GetTrackOptions(track, m_TrackDrawData.m_TrackBinding);
- }
-
- m_TrackDrawData.m_AllowsRecording = DoesTrackAllowsRecording(track);
- m_TrackDrawData.m_TrackIcon = m_TrackDrawOptions.icon;
- if (m_TrackDrawData.m_TrackIcon == null)
- m_TrackDrawData.m_TrackIcon = m_DefaultTrackIcon.image;
-
- // track height has changed. need to update gui
- if (!Mathf.Approximately(lastHeight, m_TrackDrawOptions.minimumHeight))
- state.Refresh();
- }
- }
-
- public override void Draw(Rect headerRect, Rect contentRect, WindowState state)
- {
- DetectTrackChanged();
- UpdateDrawData(state);
-
- UpdateInfiniteClipEditor(state.GetWindow());
-
- var trackHeaderRect = headerRect;
- var trackContentRect = contentRect;
-
- float inlineCurveHeight = contentRect.height - GetTrackContentHeight(state);
- bool hasInlineCurve = inlineCurveHeight > 0.0f;
-
- if (hasInlineCurve)
- {
- trackHeaderRect.height -= inlineCurveHeight;
- trackContentRect.height -= inlineCurveHeight;
- }
-
- if (Event.current.type == EventType.Repaint)
- {
- m_TreeViewRect = trackContentRect;
- }
-
- if (s_ArmForRecordContentOn == null)
- s_ArmForRecordContentOn = new GUIContent(DirectorStyles.GetBackgroundImage(DirectorStyles.Instance.autoKey, StyleState.active));
-
- if (s_ArmForRecordContentOff == null)
- s_ArmForRecordContentOff = new GUIContent(DirectorStyles.GetBackgroundImage(DirectorStyles.Instance.autoKey));
-
- if (s_ArmForRecordDisabled == null)
- s_ArmForRecordDisabled = new GUIContent(DirectorStyles.GetBackgroundImage(DirectorStyles.Instance.autoKey), Styles.kArmForRecordDisabled);
-
- track.SetCollapsed(!isExpanded);
-
- RebuildGUICacheIfNecessary();
-
- // Prevents from drawing outside of bounds, but does not effect layout or markers
- bool isOwnerDrawSucceed = false;
-
- Vector2 visibleTime = state.timeAreaShownRange;
-
- if (drawer != null)
- isOwnerDrawSucceed = drawer.DrawTrack(trackContentRect, track, visibleTime, state);
-
- if (!isOwnerDrawSucceed)
- {
- using (new GUIViewportScope(trackContentRect))
- DrawBackground(trackContentRect, track, visibleTime, state);
-
- if (m_InfiniteTrackDrawer != null)
- m_InfiniteTrackDrawer.DrawTrack(trackContentRect, track, visibleTime, state);
-
- // draw after user customization so overlay text shows up
- using (new GUIViewportScope(trackContentRect))
- m_ItemsDrawer.Draw(trackContentRect, state);
- }
-
- DrawTrackHeader(trackHeaderRect, state);
-
- if (hasInlineCurve)
- {
- var curvesHeaderRect = headerRect;
- curvesHeaderRect.yMin = trackHeaderRect.yMax;
-
- var curvesContentRect = contentRect;
- curvesContentRect.yMin = trackContentRect.yMax;
-
- DrawInlineCurves(curvesHeaderRect, curvesContentRect, state);
- }
-
- DrawTrackColorKind(headerRect);
- DrawTrackState(contentRect, contentRect, track);
- }
-
- void DrawInlineCurves(Rect curvesHeaderRect, Rect curvesContentRect, WindowState state)
- {
- if (!track.GetShowInlineCurves())
- return;
-
- // Inline curves are not within the editor window -- case 952571
- if (!IsInlineCurvesEditorInBounds(ToWindowSpace(curvesHeaderRect), curvesContentRect.height, state))
- {
- m_InlineCurvesSkipped = true;
- return;
- }
-
- // If inline curves were skipped during the last event; we want to avoid rendering them until
- // the next Layout event. Otherwise, we still get the RTE prevented above when the user resizes
- // the timeline window very fast. -- case 952571
- if (m_InlineCurvesSkipped && Event.current.type != EventType.Layout)
- return;
-
- m_InlineCurvesSkipped = false;
-
- if (inlineCurveEditor == null)
- inlineCurveEditor = new InlineCurveEditor(this);
-
-
- curvesHeaderRect.x += DirectorStyles.kBaseIndent;
- curvesHeaderRect.width -= DirectorStyles.kBaseIndent;
-
- inlineCurveEditor.Draw(curvesHeaderRect, curvesContentRect, state);
- }
-
- static bool IsInlineCurvesEditorInBounds(Rect windowSpaceTrackRect, float inlineCurveHeight, WindowState state)
- {
- var legalHeight = state.windowHeight;
- var trackTop = windowSpaceTrackRect.y;
- var inlineCurveOffset = windowSpaceTrackRect.height - inlineCurveHeight;
- return legalHeight - trackTop - inlineCurveOffset > 0;
- }
-
- void DrawErrorIcon(Rect position, WindowState state)
- {
- Rect bindingLabel = position;
- bindingLabel.x = position.xMax + 3;
- bindingLabel.width = state.bindingAreaWidth;
- EditorGUI.LabelField(position, m_ProblemIcon);
- }
-
- void DrawBackground(Rect trackRect, TrackAsset trackAsset, Vector2 visibleTime, WindowState state)
- {
- bool canDrawRecordBackground = IsRecording(state);
- if (canDrawRecordBackground)
- {
- DrawRecordingTrackBackground(trackRect, trackAsset, visibleTime, state);
- }
- else
- {
- Color trackBackgroundColor;
-
- if (SelectionManager.Contains(track))
- {
- trackBackgroundColor = state.IsEditingASubTimeline() ?
- DirectorStyles.Instance.customSkin.colorTrackSubSequenceBackgroundSelected :
- DirectorStyles.Instance.customSkin.colorTrackBackgroundSelected;
- }
- else
- {
- trackBackgroundColor = state.IsEditingASubTimeline() ?
- DirectorStyles.Instance.customSkin.colorTrackSubSequenceBackground :
- DirectorStyles.Instance.customSkin.colorTrackBackground;
- }
-
- EditorGUI.DrawRect(trackRect, trackBackgroundColor);
- }
- }
-
- float InlineCurveHeight()
- {
- return track.GetShowInlineCurves() && CanDrawInlineCurve()
- ? TimelineWindowViewPrefs.GetInlineCurveHeight(track)
- : 0.0f;
- }
-
- public override float GetHeight(WindowState state)
- {
- var height = GetTrackContentHeight(state);
-
- if (CanDrawInlineCurve())
- height += InlineCurveHeight();
-
- return height;
- }
-
- float GetTrackContentHeight(WindowState state)
- {
- float height = m_TrackDrawOptions.minimumHeight;
- if (height <= 0.0f)
- height = TrackEditor.DefaultTrackHeight;
- height = Mathf.Clamp(height, TrackEditor.MinimumTrackHeight, TrackEditor.MaximumTrackHeight);
-
- return height * state.trackScale;
- }
-
- static bool CanDrawIcon(GUIContent icon)
- {
- return icon != null && icon != GUIContent.none && icon.image != null;
- }
-
- bool showSceneReference
- {
- get
- {
- return track != null &&
- m_TrackDrawData.m_HasBinding &&
- !m_TrackDrawData.m_IsSubTrack &&
- m_TrackDrawData.m_Binding.sourceObject != null &&
- m_TrackDrawData.m_Binding.outputTargetType != null &&
- typeof(Object).IsAssignableFrom(m_TrackDrawData.m_Binding.outputTargetType);
- }
- }
-
- void DrawTrackHeader(Rect trackHeaderRect, WindowState state)
- {
- using (new GUIViewportScope(trackHeaderRect))
- {
- Rect rect = trackHeaderRect;
-
- DrawHeaderBackground(trackHeaderRect);
- rect.x += m_Styles.trackSwatchStyle.fixedWidth;
-
- const float buttonSize = WindowConstants.trackHeaderButtonSize;
- const float padding = WindowConstants.trackHeaderButtonPadding;
- var buttonRect = new Rect(trackHeaderRect.xMax - buttonSize - padding, rect.y + ((rect.height - buttonSize) / 2f), buttonSize, buttonSize);
-
- rect.x += DrawTrackIconKind(rect, state);
- DrawTrackBinding(rect, trackHeaderRect);
-
- if (track is GroupTrack)
- return;
-
- buttonRect.x -= Spaced(DrawTrackDropDownMenu(buttonRect));
- buttonRect.x -= Spaced(DrawLockMarkersButton(buttonRect, state));
- buttonRect.x -= Spaced(DrawInlineCurveButton(buttonRect, state));
- buttonRect.x -= Spaced(DrawMuteButton(buttonRect, state));
- buttonRect.x -= Spaced(DrawLockButton(buttonRect, state));
- buttonRect.x -= Spaced(DrawRecordButton(buttonRect, state));
- buttonRect.x -= Spaced(DrawCustomTrackButton(buttonRect, state));
- }
- }
-
- void DrawHeaderBackground(Rect headerRect)
- {
- Color backgroundColor = SelectionManager.Contains(track)
- ? DirectorStyles.Instance.customSkin.colorSelection
- : DirectorStyles.Instance.customSkin.colorTrackHeaderBackground;
-
- var bgRect = headerRect;
- bgRect.x += m_Styles.trackSwatchStyle.fixedWidth;
- bgRect.width -= m_Styles.trackSwatchStyle.fixedWidth;
-
- EditorGUI.DrawRect(bgRect, backgroundColor);
- }
-
- void DrawTrackColorKind(Rect rect)
- {
- // subtracks don't draw the color, the parent does that.
- if (track != null && track.isSubTrack)
- return;
-
- if (rect.width <= 0) return;
-
- using (new GUIColorOverride(m_TrackDrawOptions.trackColor))
- {
- rect.width = m_Styles.trackSwatchStyle.fixedWidth;
- GUI.Label(rect, GUIContent.none, m_Styles.trackSwatchStyle);
- }
- }
-
- float DrawTrackIconKind(Rect rect, WindowState state)
- {
- // no icons on subtracks
- if (track != null && track.isSubTrack)
- return 0.0f;
-
- rect.yMin += (rect.height - 16f) / 2f;
- rect.width = 16.0f;
- rect.height = 16.0f;
-
- if (!string.IsNullOrEmpty(m_TrackDrawOptions.errorText))
- {
- m_ProblemIcon.image = Styles.kProblemIcon;
- m_ProblemIcon.tooltip = m_TrackDrawOptions.errorText;
-
- if (CanDrawIcon(m_ProblemIcon))
- DrawErrorIcon(rect, state);
- }
- else
- {
- var content = GUIContent.Temp(m_TrackDrawData.m_TrackIcon, m_DefaultTrackIcon.tooltip);
- if (CanDrawIcon(content))
- GUI.Box(rect, content, GUIStyle.none);
- }
-
- return rect.width;
- }
-
- void DrawTrackBinding(Rect rect, Rect headerRect)
- {
- if (m_TrackDrawData.m_ShowTrackBindings)
- {
- DoTrackBindingGUI(rect, headerRect);
- return;
- }
-
- var textStyle = m_Styles.trackHeaderFont;
- textStyle.normal.textColor = SelectionManager.Contains(track) ? Color.white : m_Styles.customSkin.colorTrackFont;
-
- string trackName = track.name;
-
- EditorGUI.BeginChangeCheck();
-
- // by default the size is just the width of the string (for selection purposes)
- rect.width = m_Styles.trackHeaderFont.CalcSize(new GUIContent(trackName)).x;
-
- // if we are editing, supply the entire width of the header
- if (GUIUtility.keyboardControl == track.GetInstanceID())
- rect.width = (headerRect.xMax - rect.xMin) - (5 * WindowConstants.trackHeaderButtonSize);
-
- trackName = EditorGUI.DelayedTextField(rect, GUIContent.none, track.GetInstanceID(), track.name, textStyle);
-
- if (EditorGUI.EndChangeCheck())
- {
- TimelineUndo.PushUndo(track, "Rename Track");
- track.name = trackName;
- }
- }
-
- float DrawTrackDropDownMenu(Rect rect)
- {
- rect.y += WindowConstants.trackOptionButtonVerticalPadding;
-
- if (GUI.Button(rect, GUIContent.none, m_Styles.trackOptions))
- {
- // the drop down will apply to all selected tracks
- if (!SelectionManager.Contains(track))
- {
- SelectionManager.Clear();
- SelectionManager.Add(track);
- }
-
- SequencerContextMenu.ShowTrackContextMenu(SelectionManager.SelectedTracks().ToArray(), null);
- }
-
- return WindowConstants.trackHeaderButtonSize;
- }
-
- bool CanDrawInlineCurve()
- {
- // Note: A track with animatable parameters always has inline curves.
- return trackHasAnimatableParameters || TimelineUtility.TrackHasAnimationCurves(track);
- }
-
- float DrawInlineCurveButton(Rect rect, WindowState state)
- {
- if (!CanDrawInlineCurve())
- {
- return 0.0f;
- }
-
- // Override enable state to display "Show Inline Curves" button in disabled state.
- bool prevEnabledState = GUI.enabled;
- GUI.enabled = true;
- var newValue = GUI.Toggle(rect, track.GetShowInlineCurves(), GUIContent.none, DirectorStyles.Instance.curves);
- GUI.enabled = prevEnabledState;
-
- if (newValue != track.GetShowInlineCurves())
- {
- track.SetShowInlineCurves(newValue);
- state.GetWindow().treeView.CalculateRowRects();
- }
-
- return WindowConstants.trackHeaderButtonSize;
- }
-
- float DrawRecordButton(Rect rect, WindowState state)
- {
- if (m_TrackDrawData.m_AllowsRecording)
- {
- bool isPlayerDisabled = state.editSequence.director != null && !state.editSequence.director.isActiveAndEnabled;
-
- GameObject goBinding = m_TrackDrawData.m_TrackBinding as GameObject;
- if (goBinding == null)
- {
- Component c = m_TrackDrawData.m_TrackBinding as Component;
- if (c != null)
- goBinding = c.gameObject;
- }
-
- if (goBinding == null && m_TrackDrawData.m_IsSubTrack)
- {
- goBinding = ParentTrack().GetGameObjectBinding(state.editSequence.director);
- }
-
- bool isTrackBindingValid = goBinding != null;
- bool trackErrorDisableButton = !string.IsNullOrEmpty(m_TrackDrawOptions.errorText) && isTrackBindingValid && goBinding.activeInHierarchy;
- bool disableButton = track.lockedInHierarchy || isPlayerDisabled || trackErrorDisableButton || !isTrackBindingValid;
- using (new EditorGUI.DisabledScope(disableButton))
- {
- if (IsRecording(state))
- {
- state.editorWindow.Repaint();
- float remainder = Time.realtimeSinceStartup % 1;
-
- var animatedContent = s_ArmForRecordContentOn;
- if (remainder < 0.22f)
- {
- animatedContent = GUIContent.none;
- }
- if (GUI.Button(rect, animatedContent, GUIStyle.none) || isPlayerDisabled || !isTrackBindingValid)
- {
- state.UnarmForRecord(track);
- }
- }
- else
- {
- if (GUI.Button(rect, s_ArmForRecordContentOff, GUIStyle.none))
- {
- state.ArmForRecord(track);
- }
- }
- return WindowConstants.trackHeaderButtonSize;
- }
- }
-
- if (showTrackRecordingDisabled)
- {
- using (new EditorGUI.DisabledScope(true))
- GUI.Button(rect, s_ArmForRecordDisabled, GUIStyle.none);
- return k_ButtonSize;
- }
-
- return 0.0f;
- }
-
- float DrawCustomTrackButton(Rect rect, WindowState state)
- {
- if (drawer.DrawTrackHeaderButton(rect, track, state))
- {
- return WindowConstants.trackHeaderButtonSize;
- }
- return 0.0f;
- }
-
- float DrawLockMarkersButton(Rect rect, WindowState state)
- {
- if (track.GetMarkerCount() == 0)
- return 0.0f;
-
- var markersShown = showMarkers;
- var style = TimelineWindow.styles.collapseMarkers;
- if (Event.current.type == EventType.Repaint)
- style.Draw(rect, GUIContent.none, false, false, markersShown, false);
-
- // Override enable state to display "Show Marker" button in disabled state.
- bool prevEnabledState = GUI.enabled;
- GUI.enabled = true;
- if (GUI.Button(rect, DirectorStyles.markerCollapseButton, GUIStyle.none))
- {
- state.GetWindow().SetShowTrackMarkers(track, !markersShown);
- }
- GUI.enabled = prevEnabledState;
- return WindowConstants.trackHeaderButtonSize;
- }
-
- static void ObjectBindingField(Rect position, Object obj, PlayableBinding binding)
- {
- bool allowScene =
- typeof(GameObject).IsAssignableFrom(binding.outputTargetType) ||
- typeof(Component).IsAssignableFrom(binding.outputTargetType);
-
- using (var check = new EditorGUI.ChangeCheckScope())
- {
- // FocusType.Passive so it never gets focused when pressing tab
- int controlId = GUIUtility.GetControlID("s_ObjectFieldHash".GetHashCode(), FocusType.Passive, position);
- var newObject = UnityEditorInternals.DoObjectField(EditorGUI.IndentedRect(position), obj, binding.outputTargetType, controlId, allowScene);
- if (check.changed)
- {
- BindingUtility.Bind(TimelineEditor.inspectedDirector, binding.sourceObject as TrackAsset, newObject);
- }
- }
- }
-
- void DoTrackBindingGUI(Rect rect, Rect headerRect)
- {
- var bindingRect = new Rect(
- rect.xMin,
- rect.y + (rect.height - WindowConstants.trackHeaderButtonSize) / 2f,
- headerRect.xMax - WindowConstants.trackHeaderMaxButtonsWidth - rect.xMin,
- WindowConstants.trackHeaderButtonSize);
-
- if (bindingRect.Contains(Event.current.mousePosition) && TimelineDragging.IsDraggingEvent() && DragAndDrop.objectReferences.Length == 1)
- {
- TimelineDragging.HandleBindingDragAndDrop(track, BindingUtility.GetRequiredBindingType(m_TrackDrawData.m_Binding));
- Event.current.Use();
- }
- else
- {
- if (m_TrackDrawData.m_Binding.outputTargetType != null && typeof(Object).IsAssignableFrom(m_TrackDrawData.m_Binding.outputTargetType))
- {
- ObjectBindingField(bindingRect, m_TrackDrawData.m_TrackBinding, m_TrackDrawData.m_Binding);
- }
- }
- }
-
- bool IsRecording(WindowState state)
- {
- return state.recording && state.IsArmedForRecord(track);
- }
-
- // background to draw during recording
- void DrawRecordingTrackBackground(Rect trackRect, TrackAsset trackAsset, Vector2 visibleTime, WindowState state)
- {
- if (drawer != null)
- drawer.DrawRecordingBackground(trackRect, trackAsset, visibleTime, state);
- }
-
- void UpdateClipOverlaps()
- {
- TrackExtensions.ComputeBlendsFromOverlaps(track.clips);
- }
-
- internal void RebuildGUICacheIfNecessary()
- {
- if (m_TrackHash == track.Hash())
- return;
-
- m_ItemsDrawer = new TrackItemsDrawer(this);
- m_TrackHash = track.Hash();
- }
-
- int BlendHash()
- {
- var hash = 0;
- foreach (var clip in track.clips)
- {
- hash = HashUtility.CombineHash(hash,
- (clip.duration - clip.start).GetHashCode(),
- ((int)clip.blendInCurveMode).GetHashCode(),
- ((int)clip.blendOutCurveMode).GetHashCode());
- }
- return hash;
- }
-
- // callback when the corresponding graph is rebuilt. This can happen, but not have the GUI rebuilt.
- public override void OnGraphRebuilt()
- {
- RefreshCurveEditor();
- }
-
- void RefreshCurveEditor()
- {
- var window = TimelineWindow.instance;
- if (track != null && window != null && window.state != null)
- {
- bool hasEditor = clipCurveEditor != null;
- bool shouldHaveEditor = track.ShouldShowInfiniteClipEditor();
- if (hasEditor != shouldHaveEditor)
- window.state.AddEndFrameDelegate((x, currentEvent) =>
- {
- x.Refresh();
- return true;
- });
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackGUI.cs.meta
deleted file mode 100644
index bff54b9..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTrackGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 468e1bfc887161e4196f33e942fc3199
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeView.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeView.cs
deleted file mode 100644
index 9345d9a..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeView.cs
+++ /dev/null
@@ -1,439 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine;
-
-namespace UnityEditor.Timeline
-{
- class TimelineTreeView : ITreeViewGUI
- {
- float m_FoldoutWidth;
- Rect m_DraggingInsertionMarkerRect;
- readonly TreeViewController m_TreeView;
-
- List<Rect> m_RowRects = new List<Rect>();
- List<Rect> m_ExpandedRowRects = new List<Rect>();
-
- float m_MaxWidthOfRows;
- readonly WindowState m_State;
-
- static readonly float kMinTrackHeight = 25.0f;
- static readonly float kFoldOutOffset = 14.0f;
-
- static DirectorStyles m_Styles;
-
- public bool showInsertionMarker { get; set; }
- public virtual float topRowMargin { get; private set; }
- public virtual float bottomRowMargin { get; private set; }
-
- public TimelineTreeView(TimelineWindow sequencerWindow, TreeViewController treeView)
- {
- m_TreeView = treeView;
- m_TreeView.useExpansionAnimation = true;
-
- m_TreeView.selectionChangedCallback += SelectionChangedCallback;
- m_TreeView.contextClickOutsideItemsCallback += ContextClickOutsideItemsCallback;
- m_TreeView.itemDoubleClickedCallback += ItemDoubleClickedCallback;
- m_TreeView.contextClickItemCallback += ContextClickItemCallback;
-
- m_TreeView.SetConsumeKeyDownEvents(false);
- m_Styles = DirectorStyles.Instance;
- m_State = sequencerWindow.state;
-
- m_FoldoutWidth = DirectorStyles.Instance.foldout.fixedWidth;
- }
-
- void ItemDoubleClickedCallback(int id)
- {
- var trackGUI = m_TreeView.FindItem(id) as TimelineTrackGUI;
- if (trackGUI == null)
- return;
-
- if (trackGUI.track == null || trackGUI.track.lockedInHierarchy)
- return;
-
- var selection = SelectionManager.SelectedItems().ToList();
- var items = ItemsUtils.GetItems(trackGUI.track).ToList();
- var addToSelection = !selection.SequenceEqual(items);
-
- foreach (var i in items)
- {
- if (addToSelection)
- SelectionManager.Add(i);
- else
- SelectionManager.Remove(i);
- }
- }
-
- void ContextClickOutsideItemsCallback()
- {
- SequencerContextMenu.ShowNewTracksContextMenu(null, m_State);
- Event.current.Use();
- }
-
- void ContextClickItemCallback(int id)
- {
- // may not occur if another menu is active
- if (!m_TreeView.IsSelected(id))
- SelectionChangedCallback(new[] {id});
-
- SequencerContextMenu.ShowTrackContextMenu(SelectionManager.SelectedTracks().ToArray(), Event.current.mousePosition);
-
- Event.current.Use();
- }
-
- void SelectionChangedCallback(int[] ids)
- {
- if (Event.current.button == 1 && PickerUtils.PickedLayerableOfType<ISelectable>() != null)
- return;
-
- if (Event.current.command || Event.current.control || Event.current.shift)
- SelectionManager.UnSelectTracks();
- else
- SelectionManager.Clear();
-
- foreach (var id in ids)
- {
- var trackGUI = (TimelineTrackBaseGUI)m_TreeView.FindItem(id);
- SelectionManager.Add(trackGUI.track);
- }
-
- m_State.GetWindow().Repaint();
- }
-
- public void OnInitialize() {}
-
- public Rect GetRectForFraming(int row)
- {
- return GetRowRect(row, 1); // We ignore width by default when framing (only y scroll is affected)
- }
-
- protected virtual Vector2 GetSizeOfRow(TreeViewItem item)
- {
- if (item.displayName == "root")
- return new Vector2(m_TreeView.GetTotalRect().width, 0.0f);
-
- var trackGroupGui = item as TimelineGroupGUI;
- if (trackGroupGui != null)
- {
- return new Vector2(m_TreeView.GetTotalRect().width, trackGroupGui.GetHeight(m_State));
- }
-
- float height = TrackEditor.DefaultTrackHeight;
- if (item.hasChildren && m_TreeView.data.IsExpanded(item))
- {
- height = Mathf.Min(TrackEditor.DefaultTrackHeight, kMinTrackHeight);
- }
-
- return new Vector2(m_TreeView.GetTotalRect().width, height);
- }
-
- public virtual void BeginRowGUI()
- {
- if (m_TreeView.GetTotalRect().width != GetRowRect(0).width)
- {
- CalculateRowRects();
- }
-
- m_DraggingInsertionMarkerRect.x = -1;
-
- m_TreeView.SetSelection(SelectionManager.SelectedTrackGUI().Select(t => t.id).ToArray(), false);
- }
-
- public virtual void EndRowGUI()
- {
- // Draw row marker when dragging
- if (m_DraggingInsertionMarkerRect.x >= 0 && Event.current.type == EventType.Repaint)
- {
- Rect insertionRect = m_DraggingInsertionMarkerRect;
- const float insertionHeight = 1.0f;
- insertionRect.height = insertionHeight;
-
- if (m_TreeView.dragging.drawRowMarkerAbove)
- insertionRect.y -= insertionHeight * 0.5f + 2.0f;
- else
- insertionRect.y += m_DraggingInsertionMarkerRect.height - insertionHeight * 0.5f + 1.0f;
-
- EditorGUI.DrawRect(insertionRect, Color.white);
- }
- }
-
- public virtual void OnRowGUI(Rect rowRect, TreeViewItem item, int row, bool selected, bool focused)
- {
- using (new EditorGUI.DisabledScope(TimelineWindow.instance.currentMode.TrackState(TimelineWindow.instance.state) == TimelineModeGUIState.Disabled))
- {
- var sqvi = (TimelineTrackBaseGUI)item;
- sqvi.treeViewToWindowTransformation = m_TreeView.GetTotalRect().position - m_TreeView.state.scrollPos;
-
- // this may be called because an encompassing parent is visible
- if (!sqvi.visibleExpanded)
- return;
-
- Rect headerRect = rowRect;
- Rect contentRect = rowRect;
-
- headerRect.width = m_State.sequencerHeaderWidth - 2.0f;
- contentRect.xMin += m_State.sequencerHeaderWidth;
- contentRect.width = rowRect.width - m_State.sequencerHeaderWidth - 1.0f;
-
- Rect foldoutRect = rowRect;
-
- var indent = GetFoldoutIndent(item);
- var headerRectWithIndent = headerRect;
- headerRectWithIndent.xMin = indent;
- var rowRectWithIndent = new Rect(rowRect.x + indent, rowRect.y, rowRect.width - indent, rowRect.height);
- sqvi.Draw(headerRectWithIndent, contentRect, m_State);
- sqvi.DrawInsertionMarkers(rowRectWithIndent);
-
- if (Event.current.type == EventType.Repaint)
- {
- m_State.spacePartitioner.AddBounds(sqvi);
-
- // Show marker below this Item
- if (showInsertionMarker)
- {
- if (m_TreeView.dragging != null && m_TreeView.dragging.GetRowMarkerControlID() == TreeViewController.GetItemControlID(item))
- m_DraggingInsertionMarkerRect = rowRectWithIndent;
- }
- }
-
- // Draw foldout (after text content above to ensure drop down icon is rendered above selection highlight)
- DrawFoldout(item, foldoutRect, indent);
-
- sqvi.ClearDrawFlags();
- }
- }
-
- void DrawFoldout(TreeViewItem item, Rect foldoutRect, float indent)
- {
- var showFoldout = m_TreeView.data.IsExpandable(item);
- if (showFoldout)
- {
- foldoutRect.x = indent - kFoldOutOffset;
- foldoutRect.width = m_FoldoutWidth;
- EditorGUI.BeginChangeCheck();
- float foldoutIconHeight = DirectorStyles.Instance.foldout.fixedHeight;
- foldoutRect.y += foldoutIconHeight / 2.0f;
- foldoutRect.height = foldoutIconHeight;
-
- if (foldoutRect.xMax > m_State.sequencerHeaderWidth)
- return;
-
- //Override Disable state for TrakGroup toggle button to expand/collapse group.
- bool previousEnableState = GUI.enabled;
- GUI.enabled = true;
- bool newExpandedValue = GUI.Toggle(foldoutRect, m_TreeView.data.IsExpanded(item), GUIContent.none, m_Styles.foldout);
- GUI.enabled = previousEnableState;
-
- if (EditorGUI.EndChangeCheck())
- {
- if (Event.current.alt)
- m_TreeView.data.SetExpandedWithChildren(item, newExpandedValue);
- else
- m_TreeView.data.SetExpanded(item, newExpandedValue);
- }
- }
- }
-
- public Rect GetRenameRect(Rect rowRect, int row, TreeViewItem item)
- {
- return rowRect;
- }
-
- public void BeginPingItem(TreeViewItem item, float topPixelOfRow, float availableWidth) {}
- public void EndPingItem() {}
-
- public Rect GetRowRect(int row, float rowWidth)
- {
- return GetRowRect(row);
- }
-
- public Rect GetRowRect(int row)
- {
- if (m_RowRects.Count == 0)
- return new Rect();
-
- if (row >= m_RowRects.Count)
- return new Rect();
-
- return m_RowRects[row];
- }
-
- static float GetSpacing(TreeViewItem item)
- {
- var trackBase = item as TimelineTrackBaseGUI;
- if (trackBase != null)
- return trackBase.GetVerticalSpacingBetweenTracks();
-
- return 3.0f;
- }
-
- public void CalculateRowRects()
- {
- if (m_TreeView.isSearching)
- return;
-
- const float startY = 6.0f;
- IList<TreeViewItem> rows = m_TreeView.data.GetRows();
- m_RowRects = new List<Rect>(rows.Count);
- m_ExpandedRowRects = new List<Rect>(rows.Count);
-
- float curY = startY;
- m_MaxWidthOfRows = 1f;
-
- // first pass compute the row rects
- for (int i = 0; i < rows.Count; ++i)
- {
- var item = rows[i];
-
- if (i != 0)
- curY += GetSpacing(item);
-
- Vector2 rowSize = GetSizeOfRow(item);
- m_RowRects.Add(new Rect(0, curY, rowSize.x, rowSize.y));
- m_ExpandedRowRects.Add(m_RowRects[i]);
-
- curY += rowSize.y;
-
- if (rowSize.x > m_MaxWidthOfRows)
- m_MaxWidthOfRows = rowSize.x;
-
- // updated the expanded state
- var groupGUI = item as TimelineGroupGUI;
- if (groupGUI != null)
- groupGUI.SetExpanded(m_TreeView.data.IsExpanded(item));
- }
-
- float halfHeight = halfDropBetweenHeight;
- const float kGroupPad = 1.0f;
- const float kSkinPadding = 5.0f * 0.6f;
- // work bottom up and compute visible regions for groups
- for (int i = rows.Count - 1; i > 0; i--)
- {
- float height = 0;
- TimelineTrackBaseGUI item = (TimelineTrackBaseGUI)rows[i];
- if (item.isExpanded && item.children != null && item.children.Count > 0)
- {
- for (var j = 0; j < item.children.Count; j++)
- {
- var child = item.children[j];
- int index = rows.IndexOf(child);
- if (index > i)
- height += m_ExpandedRowRects[index].height + kSkinPadding;
- }
-
- height += kGroupPad;
- }
- m_ExpandedRowRects[i] = new Rect(m_RowRects[i].x, m_RowRects[i].y, m_RowRects[i].width, m_RowRects[i].height + height);
-
- var groupGUI = item as TimelineGroupGUI;
- if (groupGUI != null)
- {
- var spacing = GetSpacing(item) + 1;
- groupGUI.expandedRect = m_ExpandedRowRects[i];
- groupGUI.rowRect = m_RowRects[i];
- groupGUI.dropRect = new Rect(m_RowRects[i].x, m_RowRects[i].y - spacing, m_RowRects[i].width, m_RowRects[i].height + Mathf.Max(halfHeight, spacing));
- }
- }
- }
-
- public virtual bool BeginRename(TreeViewItem item, float delay)
- {
- return false;
- }
-
- public virtual void EndRename() {}
-
- protected virtual float GetFoldoutIndent(TreeViewItem item)
- {
- // Ignore depth when showing search results
- if (item.depth <= 1 || m_TreeView.isSearching)
- return DirectorStyles.kBaseIndent;
-
- int depth = item.depth;
- var trackGUI = item as TimelineTrackGUI;
-
- // first level subtracks are not indented
- if (trackGUI != null && trackGUI.track != null && trackGUI.track.isSubTrack)
- depth--;
-
- return depth * DirectorStyles.kBaseIndent;
- }
-
- public virtual float GetContentIndent(TreeViewItem item)
- {
- return GetFoldoutIndent(item);
- }
-
- public int GetNumRowsOnPageUpDown(TreeViewItem fromItem, bool pageUp, float heightOfTreeView)
- {
- return (int)Mathf.Floor(heightOfTreeView / 30); // return something
- }
-
- // Should return the row number of the first and last row thats fits in the pixel rect defined by top and height
- public void GetFirstAndLastRowVisible(out int firstRowVisible, out int lastRowVisible)
- {
- int rowCount = m_TreeView.data.rowCount;
- if (rowCount == 0)
- {
- firstRowVisible = lastRowVisible = -1;
- return;
- }
-
- if (rowCount != m_ExpandedRowRects.Count)
- {
- Debug.LogError("Mismatch in state: rows vs cached rects. Did you remember to hook up: dataSource.onVisibleRowsChanged += gui.CalculateRowRects ?");
- CalculateRowRects();
- }
-
- float topPixel = m_TreeView.state.scrollPos.y;
- float heightInPixels = m_TreeView.GetTotalRect().height;
-
- int firstVisible = -1;
- int lastVisible = -1;
-
- Rect visibleRect = new Rect(0, topPixel, m_ExpandedRowRects[0].width, heightInPixels);
- for (int i = 0; i < m_ExpandedRowRects.Count; ++i)
- {
- bool visible = visibleRect.Overlaps(m_ExpandedRowRects[i]);
- if (visible)
- {
- if (firstVisible == -1)
- firstVisible = i;
- lastVisible = i;
- }
-
- TimelineTrackBaseGUI gui = m_TreeView.data.GetItem(i) as TimelineTrackBaseGUI;
- if (gui != null)
- {
- gui.visibleExpanded = visible;
- gui.visibleRow = visibleRect.Overlaps(m_RowRects[i]);
- }
- }
-
- if (firstVisible != -1 && lastVisible != -1)
- {
- firstRowVisible = firstVisible;
- lastRowVisible = lastVisible;
- }
- else
- {
- firstRowVisible = 0;
- lastRowVisible = rowCount - 1;
- }
- }
-
- public Vector2 GetTotalSize()
- {
- if (m_RowRects.Count == 0)
- return new Vector2(0, 0);
-
- return new Vector2(m_MaxWidthOfRows, m_RowRects[m_RowRects.Count - 1].yMax);
- }
-
- public virtual float halfDropBetweenHeight
- {
- get { return 8f; }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeView.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeView.cs.meta
deleted file mode 100644
index a555d92..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeView.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 82a8ce43816925d4b971951094cb755c
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeViewGUI.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeViewGUI.cs
deleted file mode 100644
index 6160a35..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeViewGUI.cs
+++ /dev/null
@@ -1,182 +0,0 @@
-using System.Collections.Generic;
-using System.Linq;
-using UnityEditor.IMGUI.Controls;
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TimelineTreeViewGUI
- {
- readonly TimelineAsset m_Timeline;
- readonly TreeViewController m_TreeView;
- readonly TimelineTreeView m_TimelineTreeView;
- readonly TimelineWindow m_Window;
- readonly TimelineDataSource m_DataSource;
-
- TreeViewItem root
- {
- get { return m_DataSource.root; }
- }
-
- TimelineTrackBaseGUI[] visibleTrackGuis
- {
- get
- {
- int firstRow;
- int lastRow;
- var visibleRows = new List<TimelineTrackBaseGUI>();
- m_TreeView.gui.GetFirstAndLastRowVisible(out firstRow, out lastRow);
-
- for (int r = firstRow; r <= lastRow; r++)
- {
- var track = m_TreeView.data.GetItem(r) as TimelineTrackBaseGUI;
- if (track != null && track != root)
- {
- AddVisibleTrackRecursive(ref visibleRows, track);
- }
- }
- return visibleRows.ToArray();
- }
- }
-
- public TrackAsset[] visibleTracks
- {
- get { return visibleTrackGuis.Select(x => x.track).ToArray(); }
- }
-
- public List<TimelineClipGUI> allClipGuis
- {
- get
- {
- TimelineDataSource dataSource = m_TreeView.data as TimelineDataSource;
- if (dataSource != null && dataSource.allTrackGuis != null)
- return dataSource.allTrackGuis.OfType<TimelineTrackGUI>().SelectMany(x => x.clips).ToList();
-
- return null;
- }
- }
-
- public List<TimelineTrackBaseGUI> allTrackGuis
- {
- get
- {
- var dataSource = m_TreeView.data as TimelineDataSource;
- if (dataSource != null)
- return dataSource.allTrackGuis;
- return null;
- }
- }
-
- public Vector2 contentSize
- {
- get { return m_TreeView.GetContentSize(); }
- }
-
- public Vector2 scrollPosition
- {
- get { return m_TreeView.state.scrollPos; }
- set
- {
- Rect r = m_TreeView.GetTotalRect();
- Vector2 visibleContent = m_TreeView.GetContentSize();
- m_TreeView.state.scrollPos = new Vector2(value.x, Mathf.Clamp(value.y, 0, Mathf.Max(0, visibleContent.y - r.height)));
- }
- }
-
- public bool showingVerticalScrollBar
- {
- get { return m_TreeView.showingVerticalScrollBar; }
- }
-
- public void FrameItem(TreeViewItem item)
- {
- m_TreeView.Frame(item.id, true, false, true);
- }
-
- public TimelineDragging timelineDragging { get {return m_TreeView.dragging as TimelineDragging; }}
-
- public TimelineTreeViewGUI(TimelineWindow sequencerWindow, TimelineAsset timeline, Rect rect)
- {
- m_Timeline = timeline;
- m_Window = sequencerWindow;
-
- var treeviewState = new TreeViewState();
- treeviewState.scrollPos = new Vector2(treeviewState.scrollPos.x, TimelineWindowViewPrefs.GetOrCreateViewModel(m_Timeline).verticalScroll);
-
- m_TreeView = new TreeViewController(sequencerWindow, treeviewState);
- m_TreeView.horizontalScrollbarStyle = GUIStyle.none;
- m_TreeView.scrollViewStyle = GUI.skin.scrollView;
- m_TreeView.keyboardInputCallback = sequencerWindow.TreeViewKeyboardCallback;
-
-
- m_TimelineTreeView = new TimelineTreeView(sequencerWindow, m_TreeView);
- var dragging = new TimelineDragging(m_TreeView, m_Window, m_Timeline);
- m_DataSource = new TimelineDataSource(this, m_TreeView, sequencerWindow);
-
- m_DataSource.onVisibleRowsChanged += m_TimelineTreeView.CalculateRowRects;
- m_TreeView.Init(rect, m_DataSource, m_TimelineTreeView, dragging);
-
- m_DataSource.ExpandItems(m_DataSource.root);
- }
-
- public ITreeViewGUI gui
- {
- get { return m_TimelineTreeView; }
- }
- public ITreeViewDataSource data
- {
- get { return m_TreeView == null ? null : m_TreeView.data; }
- }
-
- public TimelineWindow TimelineWindow
- {
- get { return m_Window; }
- }
-
- public void CalculateRowRects()
- {
- m_TimelineTreeView.CalculateRowRects();
- }
-
- public void Reload()
- {
- AnimationClipCurveCache.Instance.ClearCachedProxyClips();
-
- m_TreeView.ReloadData();
- m_DataSource.ExpandItems(m_DataSource.root);
- m_TimelineTreeView.CalculateRowRects();
- }
-
- public void OnGUI(Rect rect)
- {
- int keyboardControl = GUIUtility.GetControlID(FocusType.Passive, rect);
- m_TreeView.OnGUI(rect, keyboardControl);
- TimelineWindowViewPrefs.GetOrCreateViewModel(m_Timeline).verticalScroll = m_TreeView.state.scrollPos.y;
- }
-
- public Rect GetRowRect(int row)
- {
- return m_TimelineTreeView.GetRowRect(row);
- }
-
- static void AddVisibleTrackRecursive(ref List<TimelineTrackBaseGUI> list, TimelineTrackBaseGUI track)
- {
- if (track == null)
- return;
-
- list.Add(track);
-
- if (!track.isExpanded)
- return;
-
- if (track.children != null)
- {
- foreach (var c in track.children)
- {
- AddVisibleTrackRecursive(ref list, c as TimelineTrackBaseGUI);
- }
- }
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeViewGUI.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeViewGUI.cs.meta
deleted file mode 100644
index 7363134..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TimelineTreeViewGUI.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f9d8c8b21846a654092a24f25aa41421
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TrackPropertyCurvesDataSource.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TrackPropertyCurvesDataSource.cs
deleted file mode 100644
index 4b808ea..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TrackPropertyCurvesDataSource.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using UnityEngine;
-using UnityEngine.Timeline;
-
-namespace UnityEditor.Timeline
-{
- class TrackPropertyCurvesDataSource : BasePropertyKeyDataSource
- {
- protected override AnimationClip animationClip { get; }
-
- public TrackPropertyCurvesDataSource(TrackAsset track)
- {
- animationClip = track != null ? track.curves : null;
- }
- }
-}
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TrackPropertyCurvesDataSource.cs.meta b/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TrackPropertyCurvesDataSource.cs.meta
deleted file mode 100644
index fc351b4..0000000
--- a/Library/PackageCache/com.unity.timeline@1.2.13/Editor/treeview/TrackPropertyCurvesDataSource.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: f8964ef46e1d446dc9eb17a36a3e1f14
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant: