docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Dispose

    Dispose()

    Disposable pattern implementation. Cleans up resources used by the renderer.

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()

    Dispose(bool)

    Called by Dispose(). Override this function to clean up resources in your renderer. Be sure to call this base dispose in your overridden function to free resources allocated by the base.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)