文档

Unity Engine

Unity Engine

Dispose()

Perform a dispose operation.
阅读时间1 分钟最后更新于 1 个月前

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.