# SendMessage<T>(ControlContext, ProcessorInstance, T)

> Send a message with a piece of data to be immediately evaluated by the ProcessorInstance.IControl<TRealtime>.OnMessage

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Audio](/engine/6000.5/script-reference/unityengine/audio.md)
* **Assembly:** UnityEngine.AudioModule

```csharp
public static ProcessorInstance.Response SendMessage<T>(this ControlContext context, ProcessorInstance processorInstance, T message) where T : class
```

### Parameters

**** (\[ControlContext]\(/engine/6000.5/script-reference/unityengine/audio/controlcontext)): **** (\[ProcessorInstance]\(/engine/6000.5/script-reference/unityengine/audio/processorinstance)): **** (T):&#x20;

### Returns

| Type                                                                                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Response](/engine/6000.5/script-reference/unityengine/audio/processorinstance/response.md) | [ProcessorInstance.Response.Handled](/engine/6000.5/script-reference/unityengine/audio/processorinstance/response/handled.md) if this [ProcessorInstance](/engine/6000.5/script-reference/unityengine/audio/processorinstance.md) acknowledged and processed the message, [ProcessorInstance.Response.Unhandled](/engine/6000.5/script-reference/unityengine/audio/processorinstance/response/unhandled.md) if not or ignored. |

### Remarks

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

Additional Resources: [ControlContext.SendMessage](/engine/6000.5/script-reference/unityengine/audio/controlcontext/sendmessage.md)
