docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Register

    Register(Volume, int)

    Registers a new Volume in the manager. Unity does this automatically when a new Volume is enabled, or its layer changes, but you can use this function to force-register a Volume that is currently disabled.

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

    The volume to register.

    int layer

    The LayerMask that this volume is in.

    See Also
    Unregister(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)