var threeD : bool
Description
Set/get the way Unity is loading the Audio data.
See Also: AudioImporterLoadType
Is this clip a 2D or 3D sound?
class Warning2D
extends AssetPostprocessor {
function OnPreprocessAudio () {
var audioImporter : AudioImporter = assetImporter;
if(!audioImporter.threeD)
Debug.LogWarning(assetPath +
" is not a 3D audio.");
}
}