Constructor ResourceLocationBase
ResourceLocationBase(string, string, string, Type, params 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. |