Class InitializationOperation
Operation to set up the Addressables system.
Inherited Members
Namespace: UnityEngine.AddressableAssets.Initialization
Syntax
public class InitializationOperation : AsyncOperationBase<IResourceLocator>, IAsyncOperation<IResourceLocator>, IAsyncOperation, IEnumerator
Constructors
InitializationOperation(String, String)
Operation to set up the Addressables system.
Declaration
public InitializationOperation(string playerSettingsLocation, string providerSuffix)
Parameters
Type | Name | Description |
---|---|---|
System.String | playerSettingsLocation | The path to load initialization data from. |
System.String | providerSuffix | This value, if not null or empty, will be appended to all provider ids loaded from this data. |
Fields
CatalogAddress
Declaration
public static string CatalogAddress
Field Value
Type | Description |
---|---|
System.String |
Methods
LoadContentCatalog(IResourceLocation, String)
Declaration
public static IAsyncOperation<IResourceLocator> LoadContentCatalog(IResourceLocation loc, string providerSuffix)
Parameters
Type | Name | Description |
---|---|---|
IResourceLocation | loc | |
System.String | providerSuffix |
Returns
Type | Description |
---|---|
IAsyncOperation<IResourceLocator> |