OnMessage(ControlContext, Pipe, Message)
Called immediately from ControlContext.SendMessage when a message was sent to this ProcessorInstance.
阅读时间1 分钟最后更新于 1 个月前
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. |