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. |