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

    Class ProjectManagerInternal

    Inheritance
    System.Object
    ProjectManagerInternal
    Namespace: UnityEngine.Reflect.Services
    Syntax
    public class ProjectManagerInternal : IProgressTask

    Constructors

    ProjectManagerInternal()

    Declaration
    public ProjectManagerInternal()

    ProjectManagerInternal(String, Boolean)

    Declaration
    public ProjectManagerInternal(string storageRoot, bool useProjectNameAsRootFolder)
    Parameters
    Type Name Description
    System.String storageRoot
    System.Boolean useProjectNameAsRootFolder

    Properties

    Projects

    Declaration
    public IEnumerable<Project> Projects { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<Project>

    Methods

    Cancel()

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

    DeleteProjectLocally(Project)

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

    DownloadProjectLocally(String, Boolean)

    Declaration
    public IEnumerator DownloadProjectLocally(string serverProjectId, bool incremental)
    Parameters
    Type Name Description
    System.String serverProjectId
    System.Boolean incremental
    Returns
    Type Description
    System.Collections.IEnumerator

    DownloadProjectSessionLocally(Project, String, SyncManifest, SyncManifest, IPlayerClient, Action<Single>)

    Declaration
    public IEnumerator DownloadProjectSessionLocally(Project project, string sessionId, SyncManifest oldManifest, SyncManifest newManifest, IPlayerClient client, Action<float> onProgress)
    Parameters
    Type Name Description
    Project project
    System.String sessionId
    SyncManifest oldManifest
    SyncManifest newManifest
    IPlayerClient client
    System.Action<System.Single> onProgress
    Returns
    Type Description
    System.Collections.IEnumerator

    GetProjectFolder(Project)

    Declaration
    public string GetProjectFolder(Project project)
    Parameters
    Type Name Description
    Project project
    Returns
    Type Description
    System.String

    GetSessionFolder(Project, String)

    Declaration
    public string GetSessionFolder(Project project, string sessionId)
    Parameters
    Type Name Description
    Project project
    System.String sessionId
    Returns
    Type Description
    System.String

    IsProjectAvailableOffline(Project)

    Declaration
    public bool IsProjectAvailableOffline(Project project)
    Parameters
    Type Name Description
    Project project
    Returns
    Type Description
    System.Boolean

    IsProjectAvailableOnline(Project)

    Declaration
    public bool IsProjectAvailableOnline(Project project)
    Parameters
    Type Name Description
    Project project
    Returns
    Type Description
    System.Boolean

    LoadProjectManifests(Project)

    Declaration
    public IEnumerable<ProjectSession> LoadProjectManifests(Project project)
    Parameters
    Type Name Description
    Project project
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ProjectSession>

    OnDisable()

    Declaration
    public void OnDisable()

    OnEnable()

    Declaration
    public void OnEnable()

    RegisterToProject(String, Action<Project>)

    Declaration
    public void RegisterToProject(string serverProjectId, Action<Project> callback)
    Parameters
    Type Name Description
    System.String serverProjectId
    System.Action<Project> callback

    StartDiscovery()

    Declaration
    public void StartDiscovery()

    StopDiscovery()

    Declaration
    public void StopDiscovery()

    Update()

    Declaration
    public void Update()

    Events

    onProjectAdded

    Declaration
    public event Action<Project> onProjectAdded
    Event Type
    Type Description
    System.Action<Project>

    onProjectChanged

    Declaration
    public event Action<Project> onProjectChanged
    Event Type
    Type Description
    System.Action<Project>

    onProjectRemoved

    Declaration
    public event Action<Project> onProjectRemoved
    Event Type
    Type Description
    System.Action<Project>

    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
    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