public static SoundEffect RemoveBGM() { SoundBuilder builder = new SoundBuilder(); SoundEffect e = builder.Source(SoundEffect.SoundType.BGM) .Operater(SoundEffect.OperateType.Remove) .Get(); return(e); }
public static SoundEffect VolumeDownBGM(float time, float change) { SoundBuilder builder = new SoundBuilder(); SoundEffect e = builder.Source(SoundEffect.SoundType.BGM) .Operater(SoundEffect.OperateType.VolumeDown) .TotalTime(time) .Argus(change) .Get(); return(e); }
public static SoundEffect SetSE(string fname, float time, bool loop) { SoundBuilder builder = new SoundBuilder(); SoundEffect e = builder.Source(SoundEffect.SoundType.SE) .Operater(SoundEffect.OperateType.Set) .TotalTime(time) .Loop(loop) .Get(); return(e); }