ドキュメント

Unity Engine

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.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.