ドキュメント

Unity Engine

Unity Engine

generatorInstance

A handle to the currently playing Generator, if it can be controlled by scripting.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public ProcessorInstance generatorInstance { get; }

Remarks

You can use ControlContext.builtIn to script and issue commands to the Generator. Since the AudioSource owns the Generator, you can check for the existence using ControlContext.Exists.