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

ControlContext.SendMessage

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 Audio.Processor.MessageStatus SendMessage(Audio.Processor processor, ref T message);

Parameters

Parameter Description
message The message to be sent.
processor The processor to receive the message.

Returns

MessageStatus Processor.MessageStatus.Handled if this Processor acknowledged and processed the message, Processor.MessageStatus.Unhandled if not or if ignored.

Description

Send a message with a piece of data to be immediately evaluated by the processor's Audio.Processor.Control.OnMessage.

The contents of the message will be passed to the processor by reference, so the processor can modify it.