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); }