LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

AudioClip.PCMSetPositionCallback

Switch to Manual
public delegate void PCMSetPositionCallback(int position);

Parameters

positionNew position in the audio clip.

Description

Delegate called each time AudioClip changes read position.

See Also: AudioClip.Create.