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

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

Parameters

Parameter Description
context The context the Processor was created in.
processor The processor to receive the message.
message The message to be sent.

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 IProcessorControl_1.OnMessage.

This is an overload specifically for sending class types to processors.

Additional resources: ControlContext.SendMessage.