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