EazySoundManagerPrepareSound Method (AudioClip, Boolean) |
Prepares and initializes a sound fx
Namespace:
Hellmade.Sound
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static int PrepareSound(
AudioClip clip,
bool loop
)
Parameters
- clip
- Type: AudioClip
The audio clip to prepare - loop
- Type: SystemBoolean
Wether the sound is looped
Return Value
Type:
Int32The ID of the created Audio object
See Also