/// <summary> /// Adds an Audio Source to the list managed by AudioManager. /// </summary> /// <param name="aObject"></param> public void addAudioSource(CGameObject aObject) { CAudioSource source = new CAudioSource(aObject); source.setAs3DSource(); addAudioSource(aObject, source); }
/// <summary> /// Adds an Audio Source to the list managed by AudioManager. /// </summary> /// <param name="aObject"></param> public CAudioSource addAudioSource(CGameObject aObject) { CAudioSource source = new CAudioSource(aObject); source.setAs3DSource(); addAudioSource(aObject, source); return(source); }