Difference between revisions of "PlayAudio"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Template:Stub}} | {{Template:Stub}} | ||
+ | |||
+ | == Introduction == | ||
+ | The [[PlayAudio]] script will play a user defined sound. This prefab can work in conjunction with an [[Activator]] when wanting to trigger a sound when '''X''' happens. | ||
+ | |||
+ | This script must be placed on a prefab such as a cube within Unity. By default, the sound or music will not loop unless selected otherwise in the scene editor. | ||
+ | |||
+ | Only certain audio file extensions will work with this script. | ||
{{Template:IntruderMM Assets}} | {{Template:IntruderMM Assets}} | ||
[[Category: IntruderMM]] | [[Category: IntruderMM]] |
Latest revision as of 15:33, 10 January 2020
Introduction
The PlayAudio script will play a user defined sound. This prefab can work in conjunction with an Activator when wanting to trigger a sound when X happens.
This script must be placed on a prefab such as a cube within Unity. By default, the sound or music will not loop unless selected otherwise in the scene editor.
Only certain audio file extensions will work with this script.