Wrapper for the FMOD api RuntimeManager https://fmod.com/docs/2.01/unity/api.html.
More...
Wrapper for the FMOD api RuntimeManager https://fmod.com/docs/2.01/unity/api.html.
◆ AttachInstanceToGameObject()
static void ModWobblyLife.Audio.ModRuntimeManager.AttachInstanceToGameObject |
( |
ModEventInstance |
modEventInstance, |
|
|
Transform |
transform, |
|
|
Rigidbody |
rigidbody |
|
) |
| |
|
static |
Attaches a instance to a gameobject.
- Parameters
-
modEventInstance | |
transform | |
rigidbody | |
◆ CreateInstance() [1/2]
static ModEventInstance ModWobblyLife.Audio.ModRuntimeManager.CreateInstance |
( |
Guid |
guid | ) |
|
|
static |
Creates a EventInstance from a guid.
- Parameters
-
- Returns
◆ CreateInstance() [2/2]
static ModEventInstance ModWobblyLife.Audio.ModRuntimeManager.CreateInstance |
( |
string |
path | ) |
|
|
static |
Creates a EventInstance from a path.
- Parameters
-
- Returns
◆ DetachInstanceFromGameObject()
static void ModWobblyLife.Audio.ModRuntimeManager.DetachInstanceFromGameObject |
( |
ModEventInstance |
modEventInstance, |
|
|
Transform |
transform, |
|
|
Rigidbody |
rigidbody |
|
) |
| |
|
static |
Deattaches a instance from a gameobject.
- Parameters
-
modEventInstance | |
transform | |
rigidbody | |
◆ LoadBank()
static Guid ModWobblyLife.Audio.ModRuntimeManager.LoadBank |
( |
TextAsset |
asset, |
|
|
bool |
bLoadSamples = false |
|
) |
| |
|
static |
Loads bank from a raw textasset.
- Parameters
-
- Returns
◆ PathToGUID()
static Guid ModWobblyLife.Audio.ModRuntimeManager.PathToGUID |
( |
string |
path | ) |
|
|
static |
Returns the guid of a sound path.
- Parameters
-
- Returns
◆ PlayOneShot() [1/2]
static void ModWobblyLife.Audio.ModRuntimeManager.PlayOneShot |
( |
Guid |
guid, |
|
|
Vector3 |
position = new Vector3() |
|
) |
| |
|
static |
◆ PlayOneShot() [2/2]
static void ModWobblyLife.Audio.ModRuntimeManager.PlayOneShot |
( |
string |
path, |
|
|
Vector3 |
position = new Vector3() |
|
) |
| |
|
static |
◆ PlayOneShotAttached() [1/2]
static void ModWobblyLife.Audio.ModRuntimeManager.PlayOneShotAttached |
( |
Guid |
guid, |
|
|
GameObject |
gameObject |
|
) |
| |
|
static |
Play and attach oneshot.
- Parameters
-
◆ PlayOneShotAttached() [2/2]
static void ModWobblyLife.Audio.ModRuntimeManager.PlayOneShotAttached |
( |
string |
path, |
|
|
GameObject |
gameObject |
|
) |
| |
|
static |
Play and attach oneshot.
- Parameters
-
◆ UnloadBank()
static bool ModWobblyLife.Audio.ModRuntimeManager.UnloadBank |
( |
Guid |
bankGUID | ) |
|
|
static |
Unloads bank using guid.
- Parameters
-
- Returns