public static AudioEngineAmbisonicSource Create(AudioEngineType type) { switch (type) { case AudioEngineType.Unity: return(new UnityAudioEngineAmbisonicSource()); default: return(null); } }
public static AudioEngineSource Create(AudioEngineType type) { switch (type) { case AudioEngineType.Unity: return(new UnityAudioEngineSource()); case AudioEngineType.FMODStudio: return(new FMODStudioAudioEngineSource()); default: return(null); } }