Picked Audio and Scripted its Triggers


I added sound effects to signal the transportation into the story in the library scene, signal when a player picked up a rock, and when the giant starts chasing the player. Our level designer, Olivia, found the sound effects here:  https://assetstore.unity.com/packages/audio/sound-fx/ultimate-sound-fx-bundle-151756

At each point in the script that the above events occur, I accessed an audio source in Unity and used PlayOneShot(AudioClip) to play each sound effect once. I also placed a looping song onto the player object for background music.

--Presley

Get Storybook Library: Giant's Causeway

Leave a comment

Log in with itch.io to leave a comment.