【3Dゲームエンジン】Unity質問スレッド28 [無断転載禁止]©5ch.net [無断転載禁止]©5ch.net
■ このスレッドは過去ログ倉庫に格納されています
0353名前は開発中のものです。
2017/01/22(日) 06:24:24.15ID:IWW11uu3index.htmlと同じ場所に音ファイルを置いて
httpからはじまる絶対パスで指定してます
エラーとしては見つけられてないもしくは
ストリーミング再生しようとしてるみたいな
エラーは吐いてるのですが・・・
Streaming of Audio is not supported in WebGL.
Please make sure that the WWW instance has finished
downloading before accessing audioClip data.
Update関数にこっちか
if (AudioSource.clip.loadState == AudioDataLoadState.Loaded)
Audiosource.Play ();
こっちを入れたのですが駄目でした
if (AudioSource.clip.loadState != AudioDataLoadState.Failed)
Audiosource.Play ();
うーーーん・・・なんでだろ
■ このスレッドは過去ログ倉庫に格納されています