Class ResourceLocationData | Addressables | 1.13.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class ResourceLocationData

    Serializable location data. This is used for the locations of the content catalogs.

    Inheritance
    Object
    ResourceLocationData
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.AddressableAssets.ResourceLocators
    Syntax
    [Serializable]
    public class ResourceLocationData

    Constructors

    ResourceLocationData(String[], String, Type, Type, String[])

    Construct a new ResourceLocationData object.

    Declaration
    public ResourceLocationData(string[] keys, string id, Type provider, Type t, string[] dependencies = null)
    Parameters
    Type Name Description
    String[] keys

    Array of keys for the location. This must contain at least one item.

    String id

    The internal id.

    Type provider

    The provider id.

    Type t
    String[] dependencies

    Optional array of dependencies.

    Properties

    Dependencies

    The collection of dependencies for this location.

    Declaration
    public string[] Dependencies { get; }
    Property Value
    Type Description
    String[]

    InternalId

    The internal id.

    Declaration
    public string InternalId { get; }
    Property Value
    Type Description
    String

    Keys

    The collection of keys for this location.

    Declaration
    public string[] Keys { get; }
    Property Value
    Type Description
    String[]

    Provider

    The provider id.

    Declaration
    public string Provider { get; }
    Property Value
    Type Description
    String

    ResourceType

    The type of the resource for the location.

    Declaration
    public Type ResourceType { get; }
    Property Value
    Type Description
    Type
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023