Class SyncManager | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class SyncManager

    Inheritance
    System.Object
    SyncManager
    Namespace: UnityEngine.Reflect.Services
    Syntax
    public sealed class SyncManager : MonoBehaviour, ISyncTask, IProgressTask

    Properties

    selectedProject

    Declaration
    public Project selectedProject { get; }
    Property Value
    Type Description
    Project

    syncInstances

    Declaration
    public IReadOnlyDictionary<string, SyncInstance> syncInstances { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<System.String, SyncInstance>

    Methods

    Cancel()

    Declaration
    public void Cancel()
    Implements
    IProgressTask.Cancel()

    Close()

    Declaration
    public void Close()

    IsProjectOpened(String)

    Declaration
    public bool IsProjectOpened(string serverProjectId)
    Parameters
    Type Name Description
    System.String serverProjectId
    Returns
    Type Description
    System.Boolean

    OnSyncStart()

    Declaration
    public void OnSyncStart()
    Implements
    ISyncTask.OnSyncStart()

    OnSyncStop()

    Declaration
    public void OnSyncStop()
    Implements
    ISyncTask.OnSyncStop()

    Open(Project)

    Declaration
    public IEnumerator Open(Project project)
    Parameters
    Type Name Description
    Project project
    Returns
    Type Description
    System.Collections.IEnumerator

    Events

    onProjectClosed

    Declaration
    public event Action onProjectClosed
    Event Type
    Type Description
    System.Action

    onProjectOpened

    Declaration
    public event Action onProjectOpened
    Event Type
    Type Description
    System.Action

    onSyncDisabled

    Declaration
    public event Action onSyncDisabled
    Event Type
    Type Description
    System.Action
    Implements
    ISyncTask.onSyncDisabled

    onSyncEnabled

    Declaration
    public event Action onSyncEnabled
    Event Type
    Type Description
    System.Action
    Implements
    ISyncTask.onSyncEnabled

    onSyncUpdateBegin

    Declaration
    public event Action onSyncUpdateBegin
    Event Type
    Type Description
    System.Action
    Implements
    ISyncTask.onSyncUpdateBegin

    onSyncUpdateEnd

    Declaration
    public event Action onSyncUpdateEnd
    Event Type
    Type Description
    System.Action
    Implements
    ISyncTask.onSyncUpdateEnd

    progressChanged

    Declaration
    public event Action<float, string> progressChanged
    Event Type
    Type Description
    System.Action<System.Single, System.String>
    Implements
    IProgressTask.progressChanged

    taskCompleted

    Declaration
    public event Action taskCompleted
    Event Type
    Type Description
    System.Action
    Implements
    IProgressTask.taskCompleted
    In This Article
    • Properties
      • selectedProject
      • syncInstances
    • Methods
      • Cancel()
      • Close()
      • IsProjectOpened(String)
      • OnSyncStart()
      • OnSyncStop()
      • Open(Project)
    • Events
      • onProjectClosed
      • onProjectOpened
      • onSyncDisabled
      • onSyncEnabled
      • onSyncUpdateBegin
      • onSyncUpdateEnd
      • progressChanged
      • taskCompleted
    Back to top
    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