Class BaseHostingService
Base class for hosting services.
Inherited Members
Namespace: UnityEditor.AddressableAssets.HostingServices
Syntax
public abstract class BaseHostingService : IHostingService
Properties
| Name | Description |
|---|---|
| DescriptiveName | Set by the HostingServicesManager, primarily used to disambiguate multiple instances of the same service in the GUI. |
| HostingServiceContentRoots | List of content roots for hosting service. |
| InstanceId | uniquely identifies this service within the scope of the HostingServicesManager |
| IsHostingServiceRunning | Gets the current running status of the hosting service. |
| Logger | Get and set the logger for the hosting service. |
| ProfileVariables | Dictionary of profile variables defined by the hosting service. |
Methods
| Name | Description |
|---|---|
| DisambiguateProfileVar(String) | Decodes a profile variable lookup ID based on string key |
| EvaluateProfileString(String) | Expand special variables from Addressable profiles |
| Log(String, Object[]) | Logs an info severity formatted message to the Logger specifically on this service. Logger |
| LogError(String, Object[]) | Logs an error severity formatted message to the Logger specifically on this service. Logger |
| LogFormat(LogType, String, Object[]) | Logs a formatted message to the Logger specifically on this service. Logger |
| LogWarning(String, Object[]) | Logs an warning severity formatted message to the Logger specifically on this service. Logger |
| OnAfterDeserialize(KeyDataStore) | Called immediatley following a domain reload by the HostingServicesManager, for restoring state information after the service is recreated. |
| OnBeforeSerialize(KeyDataStore) | Called by the HostingServicesManager before a domain reload, giving the hosting service an opportunity to persist state information. |
| OnGUI() | Render the hosting service GUI. |
| StartHostingService() | Starts the hosting service. |
| StopHostingService() | Stops the hosting service. |