Version: 2022.1
언어: 한국어
public bool forceToMono ;

설명

Force audioclips to mono?

using UnityEngine;
using UnityEditor;

public class Example : AssetPostprocessor { void OnPreprocessAudio() { AudioImporter audioImporter = assetImporter as AudioImporter; if (assetPath.Contains("mono")) { audioImporter = assetImporter as AudioImporter; audioImporter.forceToMono = true; } } }