immersive-home/docs/reference/lib--globals--audio_player.md

48 lines
2.0 KiB
Markdown
Raw Normal View History

2024-03-16 19:45:43 +02:00
# AudioPlayer
## Properties
| Name | Type | Default |
| --------------------------- | ------------------------------------------------------------------------- | ---------- |
| [click_sound](#click-sound) | [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) | `<Object>` |
| [close_menu](#close-menu) | [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) | `<Object>` |
| [open_menu](#open-menu) | [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) | `<Object>` |
| [spawn_sound](#spawn-sound) | [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) | `<Object>` |
## Methods
| Returns | Name |
| ------- | ---------------------------------------------------------------------------------------------------------------- |
| void | [_ready](#-ready) ( ) |
| void | [play_effect](#play-effect) ( sound: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) ) |
## Property Descriptions
### click_sound: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) {#click-sound}
No description provided yet.
### close_menu: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) {#close-menu}
No description provided yet.
### open_menu: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) {#open-menu}
No description provided yet.
### spawn_sound: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) {#spawn-sound}
No description provided yet.
## Method Descriptions
### _ready ( ) -> void {#-ready}
No description provided yet.
### play_effect ( sound: [Variant](https://docs.godotengine.org/de/4.x/classes/class_variant.html) ) -> void {#play-effect}
No description provided yet.