itch.io is community of indie game creators and players

Devlogs

Unity - add sound when navigating menu

Contra is Back!
A browser game made in HTML5

Unity - add sound when navigating menu

  • create a MonoBehaviour script, which has a function to be called when navigating
  • attach the script to your button prefab
  • it's a good idea to make your button as a prefab, and this only needs to be added on the button prefab
  • add Event Trigger to button
  • you can now add different function to all sorts of events, moving is one of them
Download Contra is Back!
Leave a comment