Exemple #1
0
    /////////////////////////////////////////////////////////////////////////
    ///录音
    /// <summary>
    /// 开始录音
    /// </summary>
    public void StartRecordSound()
    {
#if UNITY_ANDROID && !UNITY_EDITOR
        if (_phoneInput != null)
        {
            _phoneInput.CheckPermission();
        }
#else
        RecordBegin();
#endif
    }