docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Unregister

    Unregister(Volume, int)

    Unregisters a Volume from the manager. Unity does this automatically when a Volume is disabled or goes out of scope, but you can use this function to force-unregister a Volume that you added manually while it was disabled.

    Declaration
    public void Unregister(Volume volume, int layer)
    Parameters
    Type Name Description
    Volume volume

    The Volume to unregister.

    int layer

    The LayerMask that this Volume is in.

    See Also
    Register(Volume, int)
    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)