Class ResourceLocationData | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ResourceLocationData

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

    Inheritance
    System.Object
    ResourceLocationData
    Namespace: UnityEngine.AddressableAssets.ResourceLocators
    Syntax
    [Serializable]
    public class ResourceLocationData

    Constructors

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

    Construct a new ResourceLocationData object.

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

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

    System.String id

    The internal id.

    System.Type provider

    The provider id.

    System.String[] dependencies

    Optional array of dependencies.

    Properties

    Dependencies

    The collection of dependencies for this location.

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

    InternalId

    The internal id.

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

    Keys

    The collection of keys for this location.

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

    Provider

    The provider id.

    Declaration
    public string Provider { get; }
    Property Value
    Type Description
    System.String
    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