- Home /
How to know if an AudioClip is 3D sound or not
Let's consider I load an AudioClip from Resources with
AudioClip clip = Resources.Load<AudioClip>("my clip");
How could I ask in c# if the clip is 3D sound or not? In the same way, may I access to all the other data, like "Hardware decoding" and so?
Comment
Answer by MakeCodeNow · Jan 06, 2015 at 04:49 AM
You need to create a new AudioImporter from the AudioClip's path. Note that this only works in the editor.
Your answer
Follow this Question
Related Questions
Unity 5 Audio Source volume falloff for mono sound without panning 0 Answers
Sounds are shaky at high speed. 0 Answers
Every sound is too quiet 0 Answers
Attach audio source to different part of object 0 Answers
Forward and Backward 3D sound? 1 Answer