Sets the Doppler scale for this AudioSource.
function Start() {
// Dont use doppler effects.
audio.dopplerLevel = 0;
}
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Start() { audio.dopplerLevel = 0; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Start() as void: audio.dopplerLevel = 0