diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-11 22:07:17 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-11 22:07:17 +0100 |
commit | cc8add56f9b8f0a32e7ab35a63454fed81eaacba (patch) | |
tree | e765a71b4a9b8798d99873fdcaf9487bc8f2954e /src/doc/feature/sfx.dox | |
parent | b6609ecd6636e65db76eb11617923222921d52d2 (diff) | |
parent | f06be6004ec8b47e3b4b1ba4fda068b365923683 (diff) |
Merge branch 'loek/doxygen'
Diffstat (limited to 'src/doc/feature/sfx.dox')
-rw-r--r-- | src/doc/feature/sfx.dox | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/doc/feature/sfx.dox b/src/doc/feature/sfx.dox new file mode 100644 index 0000000..2a5c9cc --- /dev/null +++ b/src/doc/feature/sfx.dox @@ -0,0 +1,24 @@ +// vim:ft=doxygen +namespace crepe { +/** + +\defgroup feature_sfx Playing sound effects +\ingroup feature +\brief Fire a sound effect using the AudioSource component + +This page shows how to implement one-shot sound effects using the AudioSource +component's 'fire and forget'-style API. + +\see AudioSource + +\par Example + +\note This example assumes you already have a GameObject to attach the +AudioSource component to, and uses a Script to control the AudioSource instance. +Separate pages describing these features in more detail can be found at \"\ref +feature_gameobject\" and \"\ref feature_script\" respectively. + +\todo Merge #60 + +*/ +} |