docs.unity.cn
    Show / Hide Table of Contents

    Method SetVariableByName

    SetVariableByName(AddressableAssetSettings, String)

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

    Declaration
    public bool SetVariableByName(AddressableAssetSettings settings, string name)
    Parameters
    Type Name Description
    AddressableAssetSettings settings

    The settings object.

    String name

    The name 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 © 2022 Unity Technologies
    Generated by DocFX
    on Friday, August 12, 2022
    Terms of use