docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AddressableAssetGroup

    Contains the collection of asset entries associated with this group.

    Inheritance
    object
    Object
    ScriptableObject
    AddressableAssetGroup
    Implements
    IComparer<AddressableAssetEntry>
    ISerializationCallbackReceiver
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Settings
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class AddressableAssetGroup : ScriptableObject, IComparer<AddressableAssetEntry>, ISerializationCallbackReceiver

    Properties

    Name Description
    Default

    Is the default group.

    FlaggedDuringContentUpdateRestriction

    If true, this Group is likely marked 'Cannot Change Post Release', but has a modified asset since the previous build.

    Guid

    The group GUID.

    Name

    The group name.

    ReadOnly

    Is this group read only. This is normally false.

    SchemaTypes

    Get the types of added schema for this group.

    Schemas

    List of schemas for this group.

    Settings

    The AddressableAssetSettings that this group belongs to.

    entries

    The collection of asset entries.

    Methods

    Name Description
    AddSchema(Type, bool)

    Creates and adds a schema of a given type to this group. The schema asset will be created in the GroupSchemas directory relative to the settings asset.

    AddSchema(AddressableAssetGroupSchema, bool)

    Adds a copy of the provided schema object.

    AddSchema<TSchema>(bool)

    Creates and adds a schema of a given type to this group.

    CanBeSetAsDefault()

    Check if a group has the appropriate schemas and attributes that the Default Group requires.

    ClearSchemas(bool, bool)

    Removes all schemas and optionally deletes the assets associated with them.

    Compare(AddressableAssetEntry, AddressableAssetEntry)

    Compares two asset entries based on their guids.

    FindSchema(Type)

    Gets the index of a schema based on its specified type.

    GatherAllAssets(List<AddressableAssetEntry>, bool, bool, bool, Func<AddressableAssetEntry, bool>)

    Gathers all asset entries. Each explicit entry may contain multiple sub entries. For example, addressable folders create entries for each asset contained within.

    GetAssetEntry(string)

    Get an entry via the asset guid.

    GetAssetEntry(string, bool)

    Get an entry via the asset guid.

    GetSchema(Type)

    Gets an added schema of the specified type.

    GetSchema<TSchema>()

    Gets an added schema of the specified type.

    HasSchema(Type)

    Checks if the group contains a schema of a given type.

    HasSchema<TSchema>()

    Checks if the group contains a schema of a given type.

    IsDefaultGroup()

    Check to see if a group is the Default Group.

    OnAfterDeserialize()

    Converts data from serializable format.

    OnBeforeSerialize()

    Converts data to serializable format.

    RemoveAssetEntry(AddressableAssetEntry, bool)

    Remove an entry.

    RemoveSchema(Type, bool)

    Remove a given schema from this group.

    RemoveSchema<TSchema>(bool)

    Remove a given schema from this group.

    SetDirty(ModificationEvent, object, bool, bool)

    Marks the object as modified.

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