generator
The default IAudioGenerator to play next.
阅读时间1 分钟最后更新于 20 天前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AudioModule
public IAudioGenerator generator { get; set; }
Remarks
When you call AudioSource.Play, the AudioSource will instantiate a from the function and render samples from it as the audio system mixes. The instantiated instance will be assigned to AudioSource.generatorInstance for runtime scripting control while it is playing.
GeneratorCreateRuntimeGenerator