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
class example(MonoBehaviour):
def Start():
audio.dopplerLevel = 0