Add sample lifetime constraints for taiko

This commit is contained in:
Bartłomiej Dach
2020-07-26 15:09:12 +02:00
parent c5b3220d8e
commit 648f9204f5
5 changed files with 74 additions and 59 deletions

View File

@ -22,6 +22,9 @@ namespace osu.Game.Skinning
[Resolved]
private ISampleStore samples { get; set; }
public override bool RemoveWhenNotAlive => false;
public override bool RemoveCompletedTransforms => false;
public SkinnableSound(ISampleInfo hitSamples)
: this(new[] { hitSamples })
{