Add serialization support via SkinnableInfo

This commit is contained in:
Robin Avery
2021-06-06 07:18:08 -04:00
parent c9f5808bf2
commit 11b1b8c633
2 changed files with 9 additions and 0 deletions

View File

@ -60,6 +60,7 @@ namespace osu.Game.Extensions
component.Scale = info.Scale;
component.Anchor = info.Anchor;
component.Origin = info.Origin;
component.IsUsingClosestAnchor().Value = !info.IsNotUsingClosestAnchor;
if (component is Container container)
{