generator
The default IAudioGenerator to play next.
Read time 1 minuteLast updated 6 days ago
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 _generatorInstance for runtime scripting control while it is playing.
GeneratorCreateRuntimeGenerator