Esempio n. 1
0
 public static void Delete(AudioCreator creator)
 {
     if (Exist(creator))
     {
         creator.Stop();
     }
     else
     {
         Debug.Log("确认Audio存在!或者已播放完毕!");
     }
 }
Esempio n. 2
0
    public static void Delete(string flag)
    {
        AudioCreator creator = GetAudio(flag);

        if (null != creator)
        {
            creator.Stop();
        }
        else
        {
            Debug.Log("确认Audio存在!或者已播放完毕!");
        }
    }