docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Dispose

    Dispose(bool)

    Dispose of this object.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    Whether to cleanup this object's state.

    Dispose()

    This code added to correctly implement the disposable pattern.

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)