mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Use [Resolved] wherever possible
This commit is contained in:
@ -21,7 +21,8 @@ namespace osu.Game.Skinning
|
||||
|
||||
private SampleChannel[] channels;
|
||||
|
||||
private ISampleStore samples;
|
||||
[Resolved]
|
||||
private ISampleStore samples { get; set; }
|
||||
|
||||
public SkinnableSound(IEnumerable<ISampleInfo> hitSamples)
|
||||
{
|
||||
@ -33,12 +34,6 @@ namespace osu.Game.Skinning
|
||||
this.hitSamples = new[] { hitSamples };
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(ISampleStore samples)
|
||||
{
|
||||
this.samples = samples;
|
||||
}
|
||||
|
||||
private bool looping;
|
||||
|
||||
public bool Looping
|
||||
|
Reference in New Issue
Block a user