Click or drag to resize

WavUtilityToAudioClip Method

Namespace:  Kit.Parsers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static AudioClip ToAudioClip(
	byte[] fileBytes,
	int offsetSamples = 0,
	string name = "wav"
)
Request Example View Source

Parameters

fileBytes
Type: SystemByte
offsetSamples (Optional)
Type: SystemInt32
name (Optional)
Type: SystemString

Return Value

Type: AudioClip
See Also