How to add a sound to a button when you click on it in Unity | Unity Tutorial

Поділитися
Вставка
  • Опубліковано 28 сер 2024
  • We show you how to add a sound to the onclick of a button in Unity.
    Check out Hackingtons: www.hackington...

КОМЕНТАРІ • 8

  • @ilyuzi8436
    @ilyuzi8436 2 роки тому +1

    This was pretty helpful. I actually go to hackingtons in person, and it’s been a great experience. I finished scratch, and I just started Unity. If you like coding a lot, see if you can sign up, I really recommend it

  • @Kai30303
    @Kai30303 2 роки тому

    >>>THX>THX

  • @sandraeriusand9021
    @sandraeriusand9021 7 місяців тому +1

    Hello! Thank you very much for the tutorial :) I have an issue. I have a Main Menu with 4 buttons: play, settings, tutorial, and exit. The sound plays well in 'Play' and 'Exit,' but not in 'Settings' and 'Tutorial.' What could be the reason for this?

  • @AyaanTheGoat_FR
    @AyaanTheGoat_FR 2 роки тому +2

    Cool

  • @andregos
    @andregos Рік тому

    When I press space the music starts again

  • @MuhammadQasim-lg2bs
    @MuhammadQasim-lg2bs Рік тому

    the audio plays at the start of the scene too, how do I stop that from happening?

    • @brandonkeller16
      @brandonkeller16 Рік тому +2

      turn play on awake off on the audio source in the inspector

  • @atwistedb
    @atwistedb 2 роки тому +1

    Cool