docs.unity.cn
    Show / Hide Table of Contents

    Class AddressableAssetGroupTemplate

    Used to create template groups to make it easier for the user to create new groups.

    Inheritance
    Object
    AddressableAssetGroupTemplate
    Namespace: UnityEditor.AddressableAssets.Settings
    Syntax
    public class AddressableAssetGroupTemplate : ScriptableObject, IGroupTemplate

    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, Boolean)

    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.

    RemoveSchema(Type, Boolean)

    Removes the AddressableAssetGroupSchema of the type from the template.

    SetDirty(AddressableAssetSettings.ModificationEvent, Object, Boolean)

    Marks the object as modified.

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