Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsPainter2DDispose()Dispose the Painter2D object and free its internal unmanaged resources.阅读时间1 分钟最后更新于 1 个月前Definition Type: Method Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule public void Dispose()