void Start() { // Note D (the fourth note) in the sixth octave wavy.StartPlaying(3, 5); }
void Start() { wavy.StartPlaying(3, 5); }
void OnCollisionEnter(Collision other) { wavy.StartPlaying(3, 5); // D in the sixth octave (they're zero-based) }