Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateEvent()

Creates a new event.
Read time 1 minuteLast updated 6 days ago

Definition

public EventID CreateEvent()

Returns

Type

Description

EventIDID of newly created event.

Remarks

The event may be passed to IDeviceContext.ReadBuffer and IDeviceContext.WriteBuffer to track when the corresponding read or write finishes. Once the event is no longer needed, it should be destroyed using IDeviceContext.DestroyEvent.