示例#1
0
 protected void PlaySound(string file, System.Action <FMVManager.Command> callback = null, bool wait = false, bool clear = true)
 {
     if (clear)
     {
         fmvman.ClearPlayingAudio("puzzle");
     }
     fmvman.PlayAudio(new FMVManager.Command {
         file = file, type = FMVManager.CommandType.AUDIO, tags = "puzzle", callback = callback
     }, wait);
 }