Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Audio coin audio

Discussion in 'Audio & Video' started by unity_PmQTfv-2EMmSJA, Nov 7, 2018.

  1. unity_PmQTfv-2EMmSJA

    unity_PmQTfv-2EMmSJA

    Joined:
    Jul 26, 2018
    Posts:
    11
    how to make sound when coin is collected.

    HELP ME.Im on my fyp.
     
  2. leftshoe18

    leftshoe18

    Joined:
    Jul 29, 2017
    Posts:
    34
    Attach an audio source to your player and have it play an audio clip during the trigger/collision event where you pick up the coin. You can do this by either just having the audio source's clip be the coin sound or using the PlayOneShot method using a clip you provide.