Devlogs
Unity - add sound when navigating menu
Posted August 14, 2022 by Mingzilla
#Unity #Sound Effect
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