isFinished()
If this is true, the GeneratorInstance has finished generating audio and won't produce any more frames.
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Method
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public bool isFinished()
Returns
Type | Description |
|---|---|
| bool |
Remarks
There may still be a range of valid GeneratorInstance.Result.processedFrames values when this is true, for example if the GeneratorInstance finishes in the middle of a buffer.