docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetVariableById

    SetVariableById(AddressableAssetSettings, string)

    Set the profile variable id using the id of the variable.

    Declaration
    public bool SetVariableById(AddressableAssetSettings settings, string id)
    Parameters
    Type Name Description
    AddressableAssetSettings settings

    The settings object.

    string id

    The id of the profile variable to set.

    Returns
    Type Description
    bool

    True if the profile data is found and set, false otherwise.

    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)