Class AddressableAssetProfileSettings
Contains user defined variables to control build parameters.
Implements
Inherited Members
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. |