예제 #1
0
 private static LegacySoundStyle CreateTrackable(string name, SoundType type = SoundType.Sound)
 {
     return(SoundID.CreateTrackable(name, 1, type));
 }
예제 #2
0
 private static LegacySoundStyle CreateTrackable(string name, int variations, SoundID.SoundStyleDefaults defaults)
 {
     return(SoundID.CreateTrackable(name, variations, defaults.Type).WithPitchVariance(defaults.PitchVariance).WithVolume(defaults.Volume));
 }