Hello. I’m working on a game & when I collect the pick-up, the first one sounds fine. However, when I collect the other instances of the prefab, the audio only plays in the left ear. Here is my code:
[SerializeField] AudioClip pickupSFX;
void OnTriggerEnter2D(Collider2D other) {
if (other.tag == "Player") {
AudioSource.PlayClipAtPoint(pickupSFX, Camera.main.transform.position);
Destroy(gameObject);
ScoreManager.instance.AddPoint();
}
}
Any help would be greatly appreciated.