기술 자료

Unity Engine

Unity Engine

SendMessage<T>(ControlContext, ProcessorInstance, T)

Send a message with a piece of data to be immediately evaluated by the ProcessorInstance.IControl<TRealtime>.OnMessage
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Parameters


processorInstance


message

T

Returns

Type

Description

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

Remarks

This is an overload specifically for sending class types to processors.
Additional Resources: ControlContext.SendMessage