docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetLabel

    SetLabel(string, bool, bool, bool)

    Set or unset a label on this entry.

    Declaration
    public bool SetLabel(string label, bool enable, bool force = false, bool postEvent = true)
    Parameters
    Type Name Description
    string label

    The label name.

    bool enable

    Setting to true will add the label, false will remove it.

    bool force

    When enable is true, setting force to true will force the label to exist on the parent AddressableAssetSettings object if it does not already.

    bool postEvent

    Post modification event.

    Returns
    Type Description
    bool
    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)