mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 05:22:54 +08:00
Remove unused method
This commit is contained in:
parent
6f84467190
commit
ddc1b90ee1
@ -30,11 +30,6 @@ namespace osu.Game.Skinning
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
void Reload();
|
void Reload();
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Reload this target from the provided skinnable information.
|
|
||||||
/// </summary>
|
|
||||||
void Reload(SerialisedDrawableInfo[] skinnableInfo);
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Add a new skinnable component to this target.
|
/// Add a new skinnable component to this target.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
@ -44,20 +43,6 @@ namespace osu.Game.Skinning
|
|||||||
Lookup = lookup;
|
Lookup = lookup;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Reload(SerialisedDrawableInfo[] skinnableInfo)
|
|
||||||
{
|
|
||||||
var drawables = new List<Drawable>();
|
|
||||||
|
|
||||||
foreach (var i in skinnableInfo)
|
|
||||||
drawables.Add(i.CreateInstance());
|
|
||||||
|
|
||||||
Reload(new Container
|
|
||||||
{
|
|
||||||
RelativeSizeAxes = Axes.Both,
|
|
||||||
Children = drawables,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Reload() => Reload(CurrentSkin.GetDrawableComponent(Lookup) as Container);
|
public void Reload() => Reload(CurrentSkin.GetDrawableComponent(Lookup) as Container);
|
||||||
|
|
||||||
public void Reload(Container? componentsContainer)
|
public void Reload(Container? componentsContainer)
|
||||||
|
Loading…
Reference in New Issue
Block a user