Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateManualControlContext(in AudioFormat)

Create a new ControlContext with additional functionality you can drive manually.
Read time 1 minuteLast updated 5 days ago

Definition

CreateManualControlContext(AudioFormat)

public static ControlContext.Manual CreateManualControlContext(in AudioFormat format)

Parameters

The initial AudioFormat the returned ControlContext.Manual will run in.

Returns

Type

Description

ManualA ControlContext.Manual you own and control, that must later be disposed.

Remarks

This context is completely separate from _builtIn and shares no data, lifetime or callbacks. It's an error to mix and match ProcessorInstances from different ControlContexts. You must manually destroy this instance.