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