Пример #1
0
        /** 実行。ロードストリーミングアセット。サウンドプール。
         */
        private System.Collections.IEnumerator DoLoadStreamingAssetsSoundPool()
        {
            Coroutine_LoadSoundPool t_coroutine = new Coroutine_LoadSoundPool();

            yield return(t_coroutine.CoroutineMain(this, this.request_path, null, null, true, this.request_data_version));

            if (t_coroutine.result.soundpool != null)
            {
                this.result_progress  = 1.0f;
                this.result_soundpool = t_coroutine.result.soundpool;
                this.result_type      = ResultType.SoundPool;
                yield break;
            }
            else
            {
                this.result_progress    = 1.0f;
                this.result_errorstring = t_coroutine.result.errorstring;
                this.result_type        = ResultType.Error;
                yield break;
            }
        }
Пример #2
0
        /** 実行。ダウンロード。サウンドプール。
         */
        private System.Collections.IEnumerator DoLoadUrlSoundPool()
        {
            Coroutine_LoadSoundPool t_coroutine = new Coroutine_LoadSoundPool();

            yield return(t_coroutine.CoroutineMain(this, this.request_path, this.request_post_data, this.request_certificate_handler, false, this.request_data_version));

            if (t_coroutine.result.soundpool != null)
            {
                this.result_progress       = 1.0f;
                this.result_soundpool      = t_coroutine.result.soundpool;
                this.result_responseheader = t_coroutine.result.responseheader;
                this.result_type           = ResultType.SoundPool;
                yield break;
            }
            else
            {
                this.result_progress       = 1.0f;
                this.result_errorstring    = t_coroutine.result.errorstring;
                this.result_responseheader = t_coroutine.result.responseheader;
                this.result_type           = ResultType.Error;
                yield break;
            }
        }