기술 자료

Unity Engine

Unity Engine

generatorInstance

A handle to the currently playing Generator, if it can be controlled by scripting.
읽는 시간 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.