FAudioGMS-Docs/docs/latest/Functions-(Essentials).md

32 lines
1.0 KiB
Markdown

## `~_Init(spatialDistanceScale, timestep)`
**Returns:** N/A (`undefined`)
|Argument |Datatype|Description |
|----------------------|--------|------------------------------------------------------|
|`spatialDistanceScale`|number | |
|`timestep` |number | |
!> `FAudioGMS_Init()` must be called once at the very start of your game.
 
## `~_Update()`
**Returns:** N/A (`undefined`)
|Argument|Datatype|Description|
|--------|--------|-----------|
|None | | |
!> `FAudioGMS_Update()` must be called once every frame, usually in the Step event of a persistent instance. Ensure that this instance doesn't get deactivated if you're using instance deactivation for e.g. a pause screen.
 
## `~_Destroy()`
**Returns:** N/A (`undefined`)
|Argument|Datatype|Description|
|--------|--------|-----------|
|None | | |