mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Add class constraint
This commit is contained in:
@ -51,7 +51,8 @@ namespace osu.Game.Rulesets.Mods
|
||||
AdjustPitch.BindValueChanged(applyPitchAdjustment);
|
||||
}
|
||||
|
||||
public void ApplyToTrack<T>(T track) where T : ITrack, IAdjustableAudioComponent
|
||||
public void ApplyToTrack<T>(T track)
|
||||
where T : class, ITrack, IAdjustableAudioComponent
|
||||
{
|
||||
this.track = track;
|
||||
|
||||
|
Reference in New Issue
Block a user