기술 자료

Unity Engine

Unity Engine

CancelRequest(string, string)

Checks whether there is a pending request for a specific event and, if there is, cancels it. See EventService.Request for more details on Request.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static bool CancelRequest(string eventType, string message = null)

Parameters

eventType

The event to cancel.

message

The error message sent to the pending request.

Returns

Type

Description

boolReturns true if a pending request was found and cancelled false otherwise.