Ejemplo n.º 1
0
        void fadeoutbgm(Hashtable param)
        {
            float time = 1f;

            if (param.ContainsKey("time"))
            {
                time = float.Parse(param["time"] as string) / 1000f;
            }
            SimpleSoundPlayer player = ISoundPlayer.Instance as SimpleSoundPlayer;

            player.StopMusic(time);
        }
Ejemplo n.º 2
0
        // **************************** Sound Tag ******************************* .

        void stopbgm(Hashtable param)
        {
            SimpleSoundPlayer player = ISoundPlayer.Instance as SimpleSoundPlayer;

            player.StopMusic(0f);
        }