文档

Unity Engine

Unity Engine

Wait(EventID)

Wait for an asynchronous event.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool Wait(EventID id)

Parameters

ID of the event.

Returns

Type

Description

boolReturns true of the event completed successfully.

Remarks

The ReferenceContext implementation of the IDeviceContext.Wait method will return immediately because the context doesn't use a queue.