Fix sprite dropdown not showing resources from non-legacy skins during gameplay

This commit is contained in:
Dean Herbert
2022-09-22 18:43:41 +09:00
parent a7eb9d8b78
commit ea7c5458fe
4 changed files with 20 additions and 6 deletions

View File

@ -0,0 +1,17 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Skinning
{
/// <summary>
/// A skin transformer takes in an <see cref="ISkin"/> and applies transformations to it.
/// The most common use case is allowing individual rulesets to add skinnable components without directly coupling to underlying skins.
/// </summary>
public interface ISkinTransformer : ISkin
{
/// <summary>
/// The original skin that is being transformed.
/// </summary>
ISkin Skin { get; }
}
}