docs.unity.cn
    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
    Boolean

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

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, June 26, 2023