Class BaseHostingService
Base class for hosting services.
상속된 멤버
네임스페이스: UnityEditor.AddressableAssets.HostingServices
어셈블리: solution.dll
구문
public abstract class BaseHostingService : IHostingService
프로퍼티
이름 | 설명 |
---|---|
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. |
메서드
이름 | 설명 |
---|---|
DisambiguateProfileVar(string) | Decodes a profile variable lookup ID based on string key |
EvaluateProfileString(string) | Expand special variables from Addressable profiles |
Log(string, params object[]) | Logs an info severity formatted message to the Logger specifically on this service. Logger |
LogError(string, params 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, params 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. |