Documentation

Unity Engine

Unity Engine

id

Unique identifier for this instance.
Read time 1 minuteLast updated 17 days ago

Definition

public uint id { get; }

Remarks

This is the id that is expected when invoking the native function pointer AudioSampleProvider.consumeSampleFramesNativeFunction. This is also the id that is passed in to the native event handlers of type AudioSampleProvider.SampleFramesEventNativeFunction.
Identifiers are not recycled throuhout the application' lifetime.