EazySoundManager.PrepareSound Method (AudioClip, Single)

Eazy Sound Manager API

EazySoundManagerPrepareSound Method (AudioClip, Single)

Prepares and initializes a sound fx

Namespace:  Hellmade.Sound
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static int PrepareSound(
	AudioClip clip,
	float volume
)

Parameters

clip
Type: AudioClip
The audio clip to prepare
volume
Type: SystemSingle
The volume the music will have

Return Value

Type: Int32
The ID of the created Audio object
See Also