Add SkinInfo.InstantiationInfo to allow creating different skin types

This commit is contained in:
Dean Herbert
2021-05-11 17:00:24 +09:00
parent 4be15cfc5a
commit 77e422409c
9 changed files with 597 additions and 30 deletions

View File

@ -324,7 +324,7 @@ namespace osu.Game.Beatmaps
public bool SkinLoaded => skin.IsResultAvailable;
public ISkin Skin => skin.Value;
protected virtual ISkin GetSkin() => new DefaultSkin();
protected virtual ISkin GetSkin() => new DefaultSkin(null);
private readonly RecyclableLazy<ISkin> skin;
public abstract Stream GetStream(string storagePath);