/// <summary> /// 播放录音音效 /// </summary> public void PlayVoice(string path) { if (Application.platform == RuntimePlatform.Android) { NativeManager.OnFuncCall("PlayVoice", path); } else if (Application.platform == RuntimePlatform.IPhonePlayer) { NativeManager.PlayVoice(path); } }