docs.unity3d.com
    Show / Hide Table of Contents

    Constructor ResourceLocationBase

    ResourceLocationBase(String, String, String, Type, IResourceLocation[])

    Construct a new ResourceLocationBase.

    Declaration
    public ResourceLocationBase(string name, string id, string providerId, Type t, params IResourceLocation[] dependencies)
    Parameters
    Type Name Description
    String name

    The name of the location. This is usually set to the primary key, or "address" of the location.

    String id

    The internal id of the location. This is used by the IResourceProvider to identify the object to provide. For example this may contain the file path or url of an asset.

    String providerId

    The provider id. This is set to the FullName of the type of the provder class.

    Type t

    The type of the object to provide.

    IResourceLocation[] dependencies

    Locations for the dependencies of this location.

    Back to top
    Terms of use
    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