Class AddressableAssetGroupTemplate
Used to create template groups to make it easier for the user to create new groups.
Inherited Members
Namespace: UnityEditor.AddressableAssets.Settings
Assembly: Unity.Addressables.Editor.dll
Syntax
[CreateAssetMenu(fileName = "AddressableAssetGroupTemplate.asset", menuName = "Addressables/Group Templates/Blank Group Template")]
public class AddressableAssetGroupTemplate : ScriptableObject, IGroupTemplate, ISerializationCallbackReceiver
Properties
Name | Description |
---|---|
Description | The description of the AddressableAssetGroupTemplate |
Name | The name of the AddressableAssetGroupTemplate |
SchemaObjects | Returns the list of Preset objects of AddressableAssetGroupSchema associated with this template |
Methods
Name | Description |
---|---|
AddSchema(Type, bool) | Adds the AddressableAssetGroupSchema of type to the template. |
ApplyToAddressableAssetGroup(AddressableAssetGroup) | Applies schema values for the group to the schema values found in the template |
FindSchema(Type) | Gets the index of a schema based on its specified type. |
GetSchemaByType(Type) | Gets an added schema of the specified type. |
GetTypes() | Gets the types of the AddressableAssetGroupSchema associated with this template |
HasSchema(Type) | Checks if the group contains a schema of a given type. |
OnAfterDeserialize() | Implementation of ISerializationCallbackReceiver. Does nothing. |
OnBeforeSerialize() | Implementation of ISerializationCallbackReceiver. Sorts collections for deterministic ordering. |
RemoveSchema(Type, bool) | Removes the AddressableAssetGroupSchema of the type from the template. |
SetDirty(ModificationEvent, object, bool) | Marks the object as modified. |