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