docs.unity.cn
    Show / Hide Table of Contents

    Class AddressableAssetProfileSettings

    Contains user defined variables to control build parameters.

    Inheritance
    Object
    AddressableAssetProfileSettings
    Namespace: UnityEditor.AddressableAssets.Settings
    Syntax
    public class AddressableAssetProfileSettings : object

    Fields

    Name Description
    customEntryString

    Text that represents a custom profile entry.

    undefinedEntryValue

    Text that represents an undefined profile entry.

    Methods

    Name Description
    AddProfile(String, String)

    Adds a new profile.

    CreateValue(String, String)

    Create a new profile property.

    EvaluateString(String, String)

    Evaluate a string given a profile id.

    GetAllProfileNames()

    Get all profile names.

    GetAllVariableIds()

    Gets the set of all profile ids.

    GetProfileId(String)

    Get the id of a given display name.

    GetProfileName(String)

    Get a profile's display name.

    GetValueById(String, String)

    Get the value of a property.

    GetValueByName(String, String)

    Get the value of a property by name.

    GetVariableNames()

    Get all available variable names

    RemoveProfile(String)

    Removes a profile.

    RemoveValue(String)

    Remove a profile property.

    RenameProfile(String, String)

    Renames a profile. profileId must refer to an existing profile. Profile names must be unique and must not be comprised of only whitespace. Returns false if profileId or newName is invalid.

    Reset()

    Clears out the list of profiles, then creates a new default one.

    SetDirty(AddressableAssetSettings.ModificationEvent, Object, Boolean)

    Marks the object as modified.

    SetValue(String, String, String)

    Set the value of a variable for a specified profile.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use