文档

Unity Engine

Unity Engine

id

Unique identifier for this instance.
阅读时间1 分钟最后更新于 23 天前

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.