Adding Sound to the Player

There are a number of ways that we can play sounds off of the player. We can tie them into Animation Events or call them via script when certain input is received from the player. We’re going to do a mix of both to provide all of the necessary sound events.

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.