Interface IResourceLocation | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Interface IResourceLocation

    Contains enough information to load an asset (what/where/how/dependencies)

    Namespace: UnityEngine.ResourceManagement.ResourceLocations
    Syntax
    public interface IResourceLocation

    Properties

    Data

    Gets any data object associated with this locations

    Declaration
    object Data { get; }
    Property Value
    Type Description
    System.Object

    The object.

    Dependencies

    Gets the dependencies to other IResourceLocations

    Declaration
    IList<IResourceLocation> Dependencies { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<IResourceLocation>

    The dependencies.

    HasDependencies

    Gets the dependencies to other IResourceLocations

    Declaration
    bool HasDependencies { get; }
    Property Value
    Type Description
    System.Boolean

    The dependencies.

    InternalId

    Internal name used by the provider to load this location

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

    The identifier.

    ProviderId

    Matches the provider used to provide/load this location

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

    The provider id.

    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX