docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AddressableAssetProfileSettings

    Contains user defined variables to control build parameters.

    Inheritance
    object
    AddressableAssetProfileSettings
    Implements
    ISerializationCallbackReceiver
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.AddressableAssets.Settings
    Assembly: Unity.Addressables.Editor.dll
    Syntax
    [Serializable]
    public class AddressableAssetProfileSettings : ISerializationCallbackReceiver

    Fields

    Name Description
    customEntryString

    Text that represents a custom profile entry.

    defaultSettingsPathString

    Text that represents when the default settings path is being used.

    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.

    GetProfileDataById(string)

    Get the profile specific data for a given profile id.

    GetProfileDataByName(string)

    Get the profile specific data for a given profile name.

    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

    OnAfterDeserialize()

    Implementation of ISerializationCallbackReceiver. Does nothing.

    OnBeforeSerialize()

    Implementation of ISerializationCallbackReceiver. Sorts collections for deterministic ordering.

    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(ModificationEvent, object, bool)

    Marks the object as modified.

    SetValue(string, string, string)

    Set the value of a variable for a specified profile.

    In This Article
    Back to top
    Copyright © 2025 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)