Class HostingServicesWindow | Addressables | 1.4.0
docs.unity.cn
    Show / Hide Table of Contents

    Class HostingServicesWindow

    Configuration GUI for HostingServicesManager

    Inheritance
    Object
    HostingServicesWindow
    Namespace: UnityEditor.AddressableAssets.GUI
    Syntax
    public class HostingServicesWindow : EditorWindow, ISerializationCallbackReceiver, ILogHandler

    Properties

    ServiceIndex

    Returns the index of the currently selected hosting service.

    Declaration
    public int ServiceIndex { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    AddService(Int32, String)

    Declaration
    public void AddService(int typeIndex, string serviceName)
    Parameters
    Type Name Description
    Int32 typeIndex
    String serviceName

    LogException(Exception, Object)

    Declaration
    public void LogException(Exception exception, Object context)
    Parameters
    Type Name Description
    Exception exception
    UnityEngine.Object context

    LogFormat(LogType, Object, String, Object[])

    Declaration
    public void LogFormat(LogType logType, Object context, string format, params object[] args)
    Parameters
    Type Name Description
    LogType logType
    UnityEngine.Object context
    String format
    Object[] args

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()

    RemoveService(IHostingService, Boolean)

    Declaration
    public void RemoveService(IHostingService svc, bool showDialog = true)
    Parameters
    Type Name Description
    IHostingService svc
    Boolean showDialog

    Show(AddressableAssetSettings)

    Show the HostingServicesWindow, initialized with the given AddressableAssetSettings

    Declaration
    public void Show(AddressableAssetSettings settings)
    Parameters
    Type Name Description
    AddressableAssetSettings settings
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX