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 5 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
processorInstance
acknowledged and processed the message, ProcessorInstance.Response.Unhandled if not or ignored.

Remarks

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