Unity3D: How to save wav file..
- 詳細內容
- 分類:Unity
- 發佈:2014-11-03, 週一 20:26
- 點擊數:1750
Unity3D: How to save wav file..
C# script to save an AudioClip as a .wav file by darktable in GitHub:
https://gist.github.com/darktable/2317063
But, if you download wav by calling WWW
and you have NGUI, you can try this:
NGUITools.Save("filename.wav",YourWww.bytes);
file will be saved in : Application.persistentDataPath + "/" + fileName
NGUI is really a great plugin!!
Note: URLs passed to WWW class must be '%' escaped.
按個讚!~支持本站!~
FB推薦載入中