SendMessage<T>(ControlContext, ProcessorInstance, T)
Send a message with a piece of data to be immediately evaluated by the ProcessorInstance.IControl<TRealtime>.OnMessage
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public static ProcessorInstance.Response SendMessage<T>(this ControlContext context, ProcessorInstance processorInstance, T message) where T : class
Parameters
Returns
Type | Description |
|---|---|
| Response | ProcessorInstance.Response.Handled if this ProcessorInstance acknowledged and processed the message, ProcessorInstance.Response.Unhandled if not or ignored. |
Remarks
This is an overload specifically for sending class types to processors.
Additional Resources: ControlContext.SendMessage