예제 #1
0
        public static SoundEffect RemoveBGM()
        {
            SoundBuilder builder = new SoundBuilder();
            SoundEffect  e       = builder.Source(SoundEffect.SoundType.BGM)
                                   .Operater(SoundEffect.OperateType.Remove)
                                   .Get();

            return(e);
        }
예제 #2
0
        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);
        }
예제 #3
0
        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);
        }