OnMessage(ControlContext, Pipe, Message)
Called immediately from ControlContext.SendMessage when a message was sent to this ProcessorInstance.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
ProcessorInstance.Response OnMessage(ControlContext context, ProcessorInstance.Pipe pipe, ProcessorInstance.Message message)
Parameters
Context the processor is in.
Cross-thread communications pipe.
The message someone sent to you through ControlContext.SendMessage. The contents are sent by reference, so you can modify them and the sender will see the changes.
Returns
Type | Description |
|---|---|
| Response | ProcessorInstance.Response.Handled if this ProcessorInstance acknowledged and processed the message, ProcessorInstance.Response.Unhandled if not or ignored. |