Add buttons for play/pause/stop Animation timeline in editor window

This commit is contained in:
Wojtek Figat
2021-07-23 16:18:11 +02:00
parent a7a7d816ac
commit 46a65f99fa
6 changed files with 150 additions and 13 deletions

View File

@@ -101,6 +101,7 @@ namespace FlaxEditor.Windows.Assets
}
Window._preview.SetModel(value);
Window._timeline.Preview = value ? Window._preview : null;
if (Window._panel2 == null)
{
@@ -321,6 +322,7 @@ namespace FlaxEditor.Windows.Assets
{
_isWaitingForTimelineLoad = false;
_properties.OnClean();
_timeline.Preview = null;
base.UnlinkItem();
}