Class ResourceLocationData
Serializable location data. This is used for the locations of the content catalogs.
Inherited Members
Namespace: UnityEngine.AddressableAssets.ResourceLocators
Syntax
[Serializable]
public class ResourceLocationData
Constructors
ResourceLocationData(String[], String, Type, Type, String[])
Construct a new ResourceLocationData object.
Declaration
public ResourceLocationData(string[] keys, string id, Type provider, Type t, string[] dependencies = null)
Parameters
Type | Name | Description |
---|---|---|
String[] | keys | Array of keys for the location. This must contain at least one item. |
String | id | The internal id. |
Type | provider | The provider id. |
Type | t | |
String[] | dependencies | Optional array of dependencies. |
Properties
Dependencies
The collection of dependencies for this location.
Declaration
public string[] Dependencies { get; }
Property Value
Type | Description |
---|---|
String[] |
InternalId
The internal id.
Declaration
public string InternalId { get; }
Property Value
Type | Description |
---|---|
String |
Keys
The collection of keys for this location.
Declaration
public string[] Keys { get; }
Property Value
Type | Description |
---|---|
String[] |
Provider
The provider id.
Declaration
public string Provider { get; }
Property Value
Type | Description |
---|---|
String |
ResourceType
The type of the resource for the location.
Declaration
public Type ResourceType { get; }
Property Value
Type | Description |
---|---|
Type |