Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SendMessage<T>(ProcessorInstance, ref T)

Send a message with a piece of data to be immediately evaluated by the ProcessorInstance.IControl<TRealtime>.OnMessage.
Read time 1 minuteLast updated 8 days ago

Definition

SendMessage<T>(ProcessorInstance, T)

public ProcessorInstance.Response SendMessage<T>(ProcessorInstance processorInstance, ref T message) where T : unmanaged

Parameters

processorInstance


message

T

Returns

Type

Description

ResponseProcessorInstance.Response.Handled if acknowledged and processed the message, ProcessorInstance.Response.Unhandled if not or ignored.

Remarks

The will be passed to the by reference, so the can modify it.