Esempio n. 1
0
 private void load(AudioManager audio)
 {
     sampleHover = audio.Sample.Get($@"UI/generic-hover{SampleSet.GetDescription()}");
 }
Esempio n. 2
0
 private void load(AudioManager audio, SessionStatics statics)
 {
     sampleHover = audio.Samples.Get($@"UI/generic-hover{SampleSet.GetDescription()}");
 }
Esempio n. 3
0
        private void load(AudioManager audio, SessionStatics statics)
        {
            lastPlaybackTime = statics.GetBindable <double?>(Static.LastHoverSoundPlaybackTime);

            sampleHover = audio.Samples.Get($@"UI/generic-hover{SampleSet.GetDescription()}");
        }
Esempio n. 4
0
 private void load(AudioManager audio, SessionStatics statics)
 {
     sampleHover = audio.Samples.Get($@"UI/{SampleSet.GetDescription()}-hover")
                   ?? audio.Samples.Get($@"UI/{HoverSampleSet.Default.GetDescription()}-hover");
 }
Esempio n. 5
0
 private async Task load(AudioManager audio)
 {
     sampleHover = await audio.Sample.GetAsync($@"UI/generic-hover{SampleSet.GetDescription()}");
 }