Difference between revisions of "PlayAudio"
Jump to navigation
Jump to search
(Created page with "This page is in development Category: IntruderMM") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | This | + | {{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}} | ||
[[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.