In this video I show you how to play sounds on collision in Unity, showing an example in which a ball hit walls made of different materials and play a different sound depending which wall we hit.
Additionally you can download this prototype in a Unity Package format from my ITCH page:
https://gamedevtraum.itch.io/play-sou...
Please let me know if there is a problem with the package
____________________________________________________________
PORTFOLIO: https://gamedevtraum.com/en/portfolio...
CONTACT: / gamedevtraum
LINKEDIN: / gamedevtraum
DONATIONS
-You can download one of me free assets for Unity from my ITCH page and leave a donation
-You can donate with the THANKS button on every video
____________________________________________________________