docs.unity3d.com
    目次を表示する/隠す

    Class AddressableAssetGroup

    Contains the collection of asset entries associated with this group.

    Inheritance
    Object
    Object
    ScriptableObject
    AddressableAssetGroup
    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, Boolean)
    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, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Settings
    Syntax
    [Serializable]
    public class AddressableAssetGroup : ScriptableObject, IComparer<AddressableAssetEntry>, ISerializationCallbackReceiver

    Properties

    Name Description
    Default

    Is the default group.

    entries

    The collection of asset entries.

    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. Built in resources (resource folders and the scene list) are put into a special read only group.

    Schemas

    List of schemas for this group.

    SchemaTypes

    Get the types of added schema for this group.

    Settings

    The AddressableAssetSettings that this group belongs to.

    Methods

    Name Description
    AddSchema(Type, Boolean)

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

    Adds a copy of the provided schema object.

    AddSchema<TSchema>(Boolean)

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

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

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

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

    Remove an entry.

    RemoveSchema(Type, Boolean)

    Remove a given schema from this group.

    RemoveSchema<TSchema>(Boolean)

    Remove a given schema from this group.

    SetDirty(AddressableAssetSettings.ModificationEvent, Object, Boolean, Boolean)

    Marks the object as modified.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)