Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


generatorInstance

A handle to the currently playing Generator, if it can be controlled by scripting.
Read time 1 minuteLast updated 6 days ago

Definition

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

Remarks

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