Documentation

Unity Engine

Unity Engine

Dispose()

Perform a dispose operation.
Read time 1 minuteLast updated 2 months ago

Definition

public void Dispose()

Remarks

Releases all resources associated with the integration context, including native memory, cached data structures, and GPU resources. This method should be called when the context is no longer needed to prevent resource leaks.
The context becomes invalid after disposal and should not be used for further operations.