docs.unity3d.com
    Show / Hide Table of Contents

    Class BaseHostingService

    Base class for hosting services.

    Inheritance
    Object
    BaseHostingService
    HttpHostingService
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023