Add tag to your object. I choose the "Player" Tag. Create an empty GameObject and add Audio Source code . Put your sound to AudioClip parameter. Create an Empty GameObject and add Checkpoint.cs code.
1) Add tag to your object. I choose the "Player" Tag. 2) Create an empty GameObject and add Audio Source code . Put your sound to AudioClip parameter. 3) Create an Empty GameObject and add ...