예제 #1
0
        void playse(Hashtable param)
        {
            string audioPath = param["storage"] as string;
            bool   loop      = false;

            if (param.ContainsKey("loop"))
            {
                loop = ((param["loop"] as string) == "true") ? true : false;
            }
            ISoundPlayer player = ISoundPlayer.Instance;

            player.PlaySE(audioPath, loop, 0f);
        }