Add **skeleton retargeting** to play animations on different skeletons

This commit is contained in:
Wojtek Figat
2023-05-04 11:54:17 +02:00
parent b89d32ce2b
commit 05ffaf7cef
15 changed files with 775 additions and 104 deletions

View File

@@ -36,6 +36,10 @@ namespace FlaxEditor.Windows.Assets
Asset = window.Asset;
}
public virtual void OnSave()
{
}
public virtual void OnClean()
{
Window = null;
@@ -109,7 +113,7 @@ namespace FlaxEditor.Windows.Assets
{
AnchorPreset = AnchorPresets.StretchAll,
Offsets = new Margin(0, 0, _toolstrip.Bottom, 0),
SplitterValue = 0.65f,
SplitterValue = 0.59f,
Parent = this
};
@@ -139,9 +143,7 @@ namespace FlaxEditor.Windows.Assets
foreach (var child in _tabs.Children)
{
if (child is Tab tab && tab.Proxy.Window != null)
{
tab.Proxy.OnClean();
}
}
base.UnlinkItem();
@@ -199,7 +201,7 @@ namespace FlaxEditor.Windows.Assets
/// <inheritdoc />
public override void OnLayoutDeserialize()
{
_split.SplitterValue = 0.65f;
_split.SplitterValue = 0.59f;
}
}
}