Example #1
0
 /// <summary>
 /// 停止播放录音音效
 /// </summary>
 public void StopVoice()
 {
     if (Application.platform == RuntimePlatform.Android)
     {
         NativeManager.OnFuncCall("StopVoice");
     }
     else if (Application.platform == RuntimePlatform.IPhonePlayer)
     {
         NativeManager.StopVoice();
     }
 }