How to add audio through an existing prefab?

In previous lectures we created Level 2 using prefabs. However, at that point we didn’t have audio. Now, Rick has been adding audio to the Level 2 only. How do we add audio using the existing prefabs?

Hi Ihor,

Where did Rick add audio? In the scene or in the prefabs? If the latter, the unmodified game objects which where created from prefabs would get updated automatically, and they would automatically get an AudioSource.

Hi Nina,

From the “Play Random Sound From Array” lecture, looks like he added audio to the Ball game object of Level 2.
Anyway, I managed to add the sound array to each scene through the prefab Ball.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms