mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 01:27:20 +08:00
Rename HoverSounds
and HoverClickSounds
samples
This commit is contained in:
parent
956c4ba225
commit
15d3b4444d
@ -45,7 +45,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(AudioManager audio)
|
private void load(AudioManager audio)
|
||||||
{
|
{
|
||||||
sampleClick = audio.Samples.Get($@"UI/generic-select{SampleSet.GetDescription()}");
|
sampleClick = audio.Samples.Get($@"UI/{SampleSet.GetDescription()}-select");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(AudioManager audio, SessionStatics statics)
|
private void load(AudioManager audio, SessionStatics statics)
|
||||||
{
|
{
|
||||||
sampleHover = audio.Samples.Get($@"UI/generic-hover{SampleSet.GetDescription()}");
|
sampleHover = audio.Samples.Get($@"UI/{SampleSet.GetDescription()}-hover");
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void PlayHoverSample()
|
public override void PlayHoverSample()
|
||||||
@ -43,19 +43,19 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
public enum HoverSampleSet
|
public enum HoverSampleSet
|
||||||
{
|
{
|
||||||
[Description("")]
|
[Description("default")]
|
||||||
Loud,
|
Loud,
|
||||||
|
|
||||||
[Description("-soft")]
|
[Description("soft")]
|
||||||
Normal,
|
Normal,
|
||||||
|
|
||||||
[Description("-softer")]
|
[Description("softer")]
|
||||||
Soft,
|
Soft,
|
||||||
|
|
||||||
[Description("-toolbar")]
|
[Description("toolbar")]
|
||||||
Toolbar,
|
Toolbar,
|
||||||
|
|
||||||
[Description("-songselect")]
|
[Description("songselect")]
|
||||||
SongSelect
|
SongSelect
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user