Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

ControlContext.CreateManualControlContext

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static Audio.ControlContext.Manual CreateManualControlContext(ref Audio.AudioFormat format);

Parameters

Parameter Description
format The initial AudioFormat the returned ControlContext.Manual will run in.

Returns

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

Description

Create a new ControlContext with additional functionality you can drive manually.

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.