Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DestroyEvent(EventID)

Destroy the event with the given ID. You should call this to free temporary resources associated with an event. Attempting to use the event after it has been destroyed, for example using IDeviceContext.Wait or IDeviceContext.IsCompleted will result in undefined behavior.
Read time 1 minuteLast updated 6 days ago

Definition

public void DestroyEvent(EventID id)

Parameters

ID of the event to destroy.