UB1AudioManager
Overview
- B1 manager for audio (sound/BGM).
Metadata
| Field | Value |
|---|---|
| Kind | system |
| Environment | B1 - Presentation |
| Category | systems |
| Extends | UB1ManagerBase |
| Require | require('Framework.B1AudioManager') |
Properties (4)
| Name | Type | Description |
|---|---|---|
CachedLoadingAudioComponent | any | |
ControlledSound2DDatas | FB1ControlledSound2DData[] | |
PausableAudioComponents | any[] | |
SoundCacheMap | table<string, any> |
Functions (4)
| Function | Parameters | Returns | Description |
|---|---|---|---|
PlaySound2D | AudioId: string | - | Plays Sound2 D. |
PlaySoundAtLocation | AudioId: string, Position: FVector | - | Plays Sound At Location. |
SetVolumeMix | - | - | Sets Volume Mix. |
SpawnSoundAtLocation | AudioId: string, Position: FVector | - | Spawns Sound At Location. |
Override points (3)
Implement these in Lua as UB1AudioManager.Override_Name = function(...) end.
| Function | Parameters | Returns | Description |
|---|---|---|---|
Override_PlaySound2D | InAudioId: string | - | Plays Sound2 D. |
Override_PlaySoundAtLocation | InOwner: string, InAudioId: FVector, InLocation: InLocation, InRotation: InRotation | - | Plays Sound At Location. |
Override_SetVolumeMix | InGroupType: InGroupType, InVolumeValue: InVolumeValue | - | Sets Volume Mix. |