ドキュメント

Unity Engine

Unity Engine

OnMessage(ControlContext, Pipe, Message)

Called immediately from ControlContext.SendMessage when a message was sent to this ProcessorInstance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

ProcessorInstance.Response OnMessage(ControlContext context, ProcessorInstance.Pipe pipe, ProcessorInstance.Message message)

Parameters

Context the processor is in.

pipe

Cross-thread communications pipe.

message

The message someone sent to you through ControlContext.SendMessage. The contents are sent by reference, so you can modify them and the sender will see the changes.

Returns

Type

Description

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