ドキュメント

Unity Engine

Unity Engine

generator

The default IAudioGenerator to play next.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public IAudioGenerator generator { get; set; }

Remarks

When you call AudioSource.Play, the AudioSource will instantiate a Generator from the CreateRuntime function and render samples from it as the audio system mixes. The instantiated Generator instance will be assigned to AudioSource.generatorInstance for runtime scripting control while it is playing.